Page 3
Documentation support written up to code version 1.11.44. Liability Disclaimer Microcom Corporation makes every effort to assure that all information and specifications contained in this manual are accurate; however, mistakes are sometimes made. Microcom Corporation shall not be liable for any damages resulting in the use or misuse of this product.
Figure 24 ^D326) - List Settings Example ............5-3 Figure 25 ^D325) - List Selections Example ............5-4 Figure 26 ^D324) - List Statistics Example ............5-4 Figure 27 ^D960)1 or ^K Test Pattern ..............5-5 LDS2 Programming Manual - 880019-0202...
Introduction This programming guide provides the user with an overview of the LDS2 command structure and label formatting requirements found in the X85 Series printers. The Label Design Software (LDS2) is the resident printer control language used to create, store and print label scripts, while also controlling the other various printer features.
Chapter 1: Designing Using LDS2 Label formats or scripts are very easy to design using LDS2 by following these basic steps below. LDS2 printers require the use of hardware flow control (CTS/RTS) for proper data management to occur. Do not use Software flow control to manage data sent to an LDS2 printer.
Chapter 1. Windows Notepad was used to enter the programming instructions and are in the bold typeface. Following these instructions is a brief explanation shown within the parentheses “()”. LDS2 Programming Manual – 880019-0202...
Page 18
^T2) commands are used to Field #3 – format this bar The ^F3) and code. ^T3) commands 12345 678 90123 45 6 7 8901234 are used to format this field. Figure 1 Sample Script Format LDS2 Programming Manual – 880019-0202...
^D200)LSX, LSY, GAP, DRM, SPD, DET, OFX, OFY, AGD MICROCOM CORPORATION Print Direction LSY – Y Direction Virtually unlimited 12345 678 90123 45 6 7 8901234 This is the origin LSX – X Direction (Print head limitation) Figure 2 Script Parameters LDS2 Programming Manual – 880019-0202...
This is the speed of the printer while printing, which is defined in either “inches/second (ips)” or “centimeters/second (cms) as selected by the “^D564)” command. The print speed can be adjusted anywhere from 1 ips (2.54 cms) to 6 ips (15.24 cms). See also ^D635)n command. LDS2 Programming Manual – 880019-0202...
(“,”) delimiter. Issue the format entry from within a script file. Unlike the “^Dxx)” commands and the script header, the Format Entry Command typically does contain default values as there are no equivalent commands for the individual parameters. The default values are discussed under the individual parameter descriptions. LDS2 Programming Manual – 880019-0202...
CI - Font Name Font Sample @normal_06 6 Point – 01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxwy @bold_06 6 Point – 01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxwy @normal_08 8 Point – 01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxwy @bold_08 8 Point – 01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxwy @normal_10 10 Point – 01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZab LDS2 Programming Manual – 880019-0202...
Page 23
SW and SH parameters to define the width and the height of the line. Line Draw Example: ^D200)3.3, 1.9, 0.125, 1.063, 5, 1 ^F1)1.0, 1.0,@line, 1.11, 0.01 ^F1)1.0, 1.0,@normal_14 ^T1)Line Draw Feature ^D300)1 LDS2 Programming Manual – 880019-0202...
Modified Plessey, User provides no check digits @postnet POSTNET @uccean128 UCC/EAN 128 @data Data Matrix 2D Bar code @pdf417 PDF417 2D Bar code @aztec Aztec 2D Bar code @qrcode QR Code Bar code Table 2 Bar Code Index LDS2 Programming Manual – 880019-0202...
Page 25
CI parameter, the SH is used to modify the bar code width by a multiple of the narrowest rendition. This means that a value of “1” will produce the narrowest 1-10 LDS2 Programming Manual – 880019-0202...
Page 26
(_) character. Example: If you wanted a Reverse Video Barcode with a 3:1 ratio, 1_3:1 would be entered for the AI parameter. LDS2 Programming Manual – 880019-0202 1-11...
Page 27
Horizontal Alignment Horizontal Vertical Left Center Right Justified Above Baseline Vertical Alignment Below Bottom Baseline Add 100 for kerning and add 200 for mono-spacing to the FJ value to produce effects. Table 4 Field Justifications 1-12 LDS2 Programming Manual – 880019-0202...
Page 28
Using the same example described in section 1.4.12, a CC value of 2 in conjunction with a FC value of 5, would result in a value of 45 to be used as the data. LDS2 Programming Manual – 880019-0202 1-13...
Identifies the subject text Subject data is entered line number and immediately after the command corresponds with the with no space between the same format line number. command and the text. Figure 5 Text Entry Command 1-14 LDS2 Programming Manual – 880019-0202...
These commands include the ^D391, ^D566, ^D565, ^D564, and then the ^D200 command. The commands are processed in this order, if present, and after processed the remaining commands are executed in the order, they are issued. LDS2 Programming Manual - 880019-0202...
The same would be true when using the line draw feature by entering the word “line” in the “^Tn)”, this also assists in debugging easier. LDS2 Programming Manual - 880019-0202...
<-- field #3 definition ^T1)Text <-- field #1 data ^T2)Replacement <-- field #2 data ^T3)Example <-- field #3 data ^D300)1 <-- print “1” copy command when recalled <-- end script Text ^D202 Print Example #1 Replacement Example LDS2 Programming Manual - 880019-0202...
The ^D3xx series commands are also required to be sent each and every time because persistent or values set outside a script file are not retained. Entering a question mark (“?”) after the ^Dxx command causes the printer to report the commands current LDS2 Programming Manual - 880019-0202...
This command used to report the printer’s status such as the firmware version, communication parameters, memory information, and basic usage statistics. The “^D324)” command is equivalent to the ^W (ASCII 0x17) control code. through active port (default) print out LDS2 Programming Manual - 880019-0202...
ASCII 0x20 and 0x41 to 0x7A (alphabetical characters plus [\]_’and SP (space character)) with the exception of the caret (^) character. Script filenames can not contain a leading zero (“0”) or 0x30 characters. Command Syntax: ^D340)filename, file size, comment (optional) Example 1: “^D340)swiss721_10,3092” LDS2 Programming Manual - 880019-0202...
The printer will currently accept the following file types: 1-bit (monochrome) BMP graphics, MCF (Microcom Corporation Converted Font), and user created script files. The file transfer can be sent in uncompressed or PKZIP compatible compressed formats.
This command used to restore configuration defaults to a known state. This command may be sent from inside or outside a script. If this command is sent inside a script file, the printer will transiently restore factory defaults, with the exception of Model Type (“^D501)”) and 2-10 LDS2 Programming Manual - 880019-0202...
“n” listed below. The printer requires a reset and/or a power cycle must occur after setting this command. To adjust the dispense distance for the available cutters, refer to the “^D642)” command. None Guillotine Cutter Rotary Cutter Microcom Rotary Cutter LDS2 Programming Manual - 880019-0202 2-11...
“4” causes the short button press to send the “>BUTTON 1 TAPPED<” response to the active port while holding the button in sends the “>BUTTON 1 HELD<” response through the active port. A setting of “5” causes the short button press to initiate a TOF (Top- 2-12 LDS2 Programming Manual - 880019-0202...
>POWERED DOWN< or 0xFF response and occurs when power is removed from the printer. Verbose: If verbose responses are selected, the printer will include elaborate text help about commands when that command is issued without an argument, a summary of any LDS2 Programming Manual - 880019-0202 2-13...
20 characters in length and include any character from ASCII 0x20 and 0x41 to 0x7A (alphabetical characters plus [\]_’and SP (space character)) with the exception of the caret (^) character. Script filenames can not use a leading zero (“0”) or 0x30 characters. 2-14 LDS2 Programming Manual - 880019-0202...
This response will be reported until the media is removed or the “^D641)” delay time has expired causing the media to be retracted. When the media is in the advanced position, the indicator light is solid amber in color. LDS2 Programming Manual - 880019-0202 2-15...
The n1 value sets the pre takeup timing. Positive turns the takeup motor on before the stock retracts. A value of zero would turn the takeup motor on at the same time as retraction. Negative values turn 2-16 LDS2 Programming Manual - 880019-0202...
The “DRM” is the distance from the leading edge of the media to the beginning of the registration mark and is entered using the current selected unit of measure. This command is also a parameter in the “^D200)” script header command. See also, DRM. LDS2 Programming Manual - 880019-0202 2-17...
Dies-cut and blow-hole use the same basic method of detection. However, because of the difference in light intensity and stock out detection, they each require their own Detection Mode setting (^D636). LDS2 Programming Manual - 880019-0202 2-19...
This command is used to set the distance the media advances and retracts after printing while in dispense modes (“^D597)” command) or when a cutter is installed. The distance “n” is entered in based on the unit of measure selected by the “^D564)” command. 2-20 LDS2 Programming Manual - 880019-0202...
The property commands may be set back to their default values using the “^D392)1” command. Print Head Part Printhead Type Number Parameter Parameter 630015-0000 2” 203 DPI 630035-0000 2” 300dpi 630018-0000 3” 203 DPI LDS2 Programming Manual - 880019-0202 2-21...
^D670) b, p, d, s. When changing the serial parameters, the host needs to be set to the new serial parameters that take effect immediately after setting. If the host parameters are not changed to the correct settings, the host and the printer will not 2-22 LDS2 Programming Manual - 880019-0202...
(Set Gap Threshold) The “^D680)” command is used to set the Gap threshold. The printer’s default threshold is set to “30” and typically does not require any adjustment. The command is provided in all LDS2 Programming Manual - 880019-0202 2-23...
“^D567)” command. Once a script has been selected, the “^D720)” command processes the script on power-up as if it was normally received by the printer. Disable Enable 2-24 LDS2 Programming Manual - 880019-0202...
The takeup is an optional motor typically used to take up backing material and used in a peel n dispense operation. Use the D629 and D630 commands to configure the take up motor control. LDS2 Programming Manual - 880019-0202 2-25...
Registration problems may occur with other types of label stock when the threshold setting has been changed. The ^D900 command is used to determine a threshold value that will work for a specific media type. 2-26 LDS2 Programming Manual - 880019-0202...
A high value should be returned for the area outside of the black line. A low value should be returned when the black line passes over the black line. Enter a new threshold value (between the high value and the low value) using the Black Line Sensor Threshold command ^D681)n LDS2 Programming Manual - 880019-0202 2-27...
Page 56
Chapter 2 Printer Commands Values being reported from Black Line the registration sensed mark sensors (Beginning) Black Line sensed (End) Reflective Threshold Setting - Figure 9 ^D900 Blackline Listing 2-28 LDS2 Programming Manual - 880019-0202...
Die-Cut/Blowhole Threshold Calculation Example Follow the process outlined below for an example to determine the die-cut/blowhole or transmissive sensor threshold calculation. The values reported will vary depending on the different types of media used. LDS2 Programming Manual - 880019-0202 2-29...
Page 58
[label backing] and [label backing + label]. Threshold will be a value between upper value and lower average value. Label sensed (Beginning) Gap Threshold Setting – 30 (Factory Setting) Figure 11 ^D900 Die-cut Listing 2-30 LDS2 Programming Manual - 880019-0202...
Page 59
On-Screen Sensor acceptable value Threshold values Threshold – 30 (Factory Setting) Backing only (Gap) (Allows more light to pass through) Label + Backing (Allows less light to pass through) Figure 12 ^D900 Die-cut Threshold Example LDS2 Programming Manual - 880019-0202 2-31...
The level parameter is the desired access level while the password parameter is the actual password for that access level. The password is received by Microcom Corporation support departments with the appropriate “^D930)” access code. The access levels and their meaning are listed in the table below.
“0”. This command is only available in modes FACT access mode. 2.7.12 ^D976)n (Edit Unit Serial Number) This command is used to enter serial number of the printer manually at the factory. This command is only available in modes FACT access mode. LDS2 Programming Manual - 880019-0202 2-33...
MAC address is assigned and set at the factory and is never edited and/or reissued. Microcom Corporation MAC addresses begin with “000257”. The MAC address is entered by issuing the “^D978)” command followed by the “0x” characters (indicating that the value for “n”...
“^Tn)” field for proper operation. The line draw does not have to reference its own specific Text Entry command (^T) so it could reference an existing Text Entry field in the script file as demonstrated in the above example. Figure 15 Line Draw Feature LDS2 Programming Manual - 880019-0202...
4.2 Linear Bar Codes This section provides information regarding the different requirements of the linear bar codes. Unless stated otherwise in the descriptions below, the printer will automatically generate the necessary check digits when required. LDS2 Programming Manual - 880019-0202...
The printer will also not attempt to compress the data unless subset C is used. Once in subset C the user must send the appropriate code (#n) to return to either subset A or B. Figure 18 Code 128 Subset Switching LDS2 Programming Manual - 880019-0202...
(“*”) character, which is reserved for this purpose. This symbol uses 2:1, 3:1, 4:2, 5:2, and 8:3 ratios, which may be entered in the AI parameter. CI text equivalent codes: @code3of9, @code39, @3of9, @c39 LDS2 Programming Manual - 880019-0202...
Each character is made up of five bars, which together represent a single numeric digit. The 5-digit ZIP code, 9-digit ZIP+4, and 11-digit Delivery Point Code are all supported. CI text equivalent codes: @postnet LDS2 Programming Manual - 880019-0202...
8 x 18 to 16 x 48. The default is set to “auto”, which means that the printer will automatically generate the smallest Data Matrix symbol possible for the given data. Refer to Table 7 for additional information regarding the valid choices for the configuration parameter. LDS2 Programming Manual - 880019-0202...
The Encoding parameter used to set the encoding scheme that will be used for the supplied data. The printer default is set to “Auto”, which will automatically switch to the most efficient encoding scheme for the data provided. Refer to Table 8 for the valid choices for the LDS2 Programming Manual - 880019-0202...
Page 74
Text encoding used to encode lowercase alphabetic and numerical characters. Text encodes three alphanumeric data characters into two bytes. Base 256 Encoding Scheme The Base 256 encoding scheme used to encode any 8-bit byte data, including extended channel interpretations (ECI’s) and binary data. LDS2 Programming Manual - 880019-0202...
“1” or “0”, with “1” enabling the use of the special control character. The default for the Tilde parameter is “0”. Refer to Table 10 for a list of the special character representations and their descriptions. LDS2 Programming Manual - 880019-0202...
The requirements for generating a PDF-417 symbol are the subject data, placement information, size configuration, rotation, and Error Correcting Code or ECC. These parameters are set using a PDF-417 unique Format Entry Command used in place of the standard Format Entry Command, listed below. LDS2 Programming Manual - 880019-0202...
Rotation This parameter controls the rotation of the rendered PDF-417 symbol in 90-degree increments. The valid arguments for this parameter would be 0, 90, 180 or 270 with the default being set to 0. 4-10 LDS2 Programming Manual - 880019-0202...
This parameter used to set the size and the number of characters to encode. A value of “auto” will generate an automatically scaled Aztec. The configuration and the size multiplier control the overall size of the barcode. LDS2 Programming Manual - 880019-0202 4-11...
Page 79
Full Size 95x95 Full Size 101x101 Full Size 105x105 Full Size 109x109 Full Size 113x113 Full Size 117x117 Full Size 121x121 Full Size 125x125 Full Size 131x131 Full Size 135x135 Full Size 139x139 Full Size 4-12 LDS2 Programming Manual - 880019-0202...
Page 80
Error Correction Code percentage. The values for the ECC% are 1 to 4. Video # Normal/OR Reverse Opaque Table 19 Aztec Videos # ECC% This parameter is used to set the Error Correction % level. This field is ignored if a configuration parameter is selected. LDS2 Programming Manual - 880019-0202 4-13...
ECC level are specified: ^Fn) XB, YB, @qrcode, Version, Multipler, Video#_Tilde, Encoding Mode, Rotation_ECC Level Example ^F4).35,.5,@qrcode,7,4,0_0,1,0_L Version This specifies the symbol density of the resulting QR barcode by selecting the Symbol version from the table below. 4-14 LDS2 Programming Manual - 880019-0202...
6. If no value is sent, the printer uses the default of 6. Video#_Tilde Command used to specify the Video mode used and to enable tilde mode. Video#: 0 - Normal/ OR 1 - Reverse LDS2 Programming Manual - 880019-0202 4-19...
Error Correction Capacity Recovery Capacity Approx. 20% of symbol Approx. 7% Approx. 37% of symbol Approx. 15% Approx. 55% of symbol Approx. 25% Approx. 65% of symbol Approx. 30% Table 22 QR Code Error Correction Level 4-20 LDS2 Programming Manual - 880019-0202...
The printer prints out a status label that contains statistical and port configuration information. The second portion of the printout is a diagonal test pattern that will show dots that are out or other print issues. Figure 21 Status Label Printout LDS2 Programming Manual - 880019-0202...
The printer will print the Status label after the printer has performed powered up and enters the diagnostic mode. The status label prints out the reports that are generated by the “^D323)”, “^D326)”, “^D325)”, and “^D324)” commands. Figure 23 ^D323) - List Enablements Example LDS2 Programming Manual - 880019-0202...
Diagnostics and Troubleshooting Chapter 5 Figure 25 ^D325) - List Selections Example Figure 26 ^D324) - List Statistics Example LDS2 Programming Manual - 880019-0202...
ACK message used with the 0x06 >OK< ^D726)1 command. 0x10 >CUTTER JAMMED< The cutter has jammed. Preventative Maintenance. Status will show if label 0x14 >PM< countdown is enabled and reaches 0; see also the ^D655 command LDS2 Programming Manual - 880019-0202...
Page 93
95% full. The print button has been 0xC0 >BUTTON 1 TAPPED< pressed. The print button has been 0xC1 >BUTTON 1 HELD< held. The print head temperature is 0xD0 >TEMPERATURE OUT OF RANGE< out of operating range. LDS2 Programming Manual - 880019-0202...
(between and including the “>” and “<” characters) is generated if text and verbose responses have been enabled using the ^D550) command. The ASCII hex value listed between the parenthesis characters, indicate the enquiry response if byte mode has been enabled. LDS2 Programming Manual - 880019-0202...
ASCII 0x1D is issued from the printer in response to an enquiry command. This response appears in conjunction with the >STOCK OUT< error and a printer configured with the “^D581)2” Finish Label command. LDS2 Programming Manual - 880019-0202...
If the printer is configured for byte responses, the code ASCII 0x22 is issued from the printer in response to an enquiry command. This sensor and response is intended to provide the user with the flexibility for custom configurations. LDS2 Programming Manual - 880019-0202...
^D640) command, while in text and verbose response sets. If the printer is configured for byte responses, the code ASCII 0x91 will be issued from the printer in response to an enquiry command. 5-10 LDS2 Programming Manual - 880019-0202...
The “>NONEXISTENT COMMAND<” response indicates that the printer has received data in the LDS2 command structure that does not exist or is yet to be implemented while in text and verbose response sets. If the printer is configured for byte responses, the code ASCII 0xD1 will be issued from the printer in response to an enquiry command.
ASCII 0xFF will be issued from the printer in response to an enquiry command. This message also indicates that the printer was successful writing pending updates to flash on a power loss situation. 5-12 LDS2 Programming Manual - 880019-0202...
Although the user is not required to purchase Microcom Corporation brand supplies, to the extent it is determined that the use of other supplies (such as non-approved label stock, ribbons, and cleaning solutions) shall have caused any defects in the thermal print head for which the warranty claim has been made, the user shall be responsible for Microcom Corporation’s...
Return the defective item(s) for repair to the address listed above, freight and insurance prepaid. Upon receipt of an RMA number, the customer contact will be notified by a Microcom Corporation representative regarding repair charges, at which time the ship method will be determined.
List Statistics: Report that shows the printer current statistics. 0x19 List Enablements: Report that shows the enablement commands current value. 0x1A End Script: Marks the end of a script file. 0x1D Cancel All Jobs: Deletes all jobs in the printer queue. LDS2 Programming Manual - 880019-0202...
Page 105
List Status: Command reports the printers current status to the printers active port (Equivalent to the ^E). size Load Firmware: Command used to update the printers firmware. The “size” parameter is the size of the download zip file. LDS2 Programming Manual - 880019-0202...
Page 106
Restore Property Defaults: Command sets the property command to their default values. Select Language Mode: Select Cutter Type: Selects the cutter type installed on the printer; n= 0 none, 1 guillotine, 2 rotary, 3 Microcom cutter. LDS2 Programming Manual - 880019-0202...
Page 107
This command is independent from the “^D564)” command. Inches per Second (ips) Centimeters per Second (cm/sec) Select Temperature Units: This command is used to select the desired unit of measure used for the temperature parameter. Fahrenheit Centigrade LDS2 Programming Manual - 880019-0202...
Page 108
Advance after copies count (LPD Disabled) - Causes the label or tag perforation to be advanced to the peel edge after the set copies count has been reached. Before the printer retracts, it will only wait for any advance delay time setting. LDS2 Programming Manual - 880019-0202...
Page 109
DET header parameter. The value is persistent and non-volatile if sent outside of a script file. The value for “n: detection type and entered using the units selected by the D564 command. Continuous Blackline Die-cut Blow-hole 6-10 LDS2 Programming Manual - 880019-0202...
Page 110
Set AGD Distance: This is a format header parameter and sets the distance that the printer will not trigger. This is useful when looking to skip areas on the media that might false trigger a registration mark. LDS2 Programming Manual - 880019-0202 6-11...
Page 111
Enable Auto TOF and Autoload on Power Up: The value for n1 determines if the printer will automatically perform and Auto TOF on power up if set to a 1. The n2 parameter controls the autoload function of 6-12 LDS2 Programming Manual - 880019-0202...
Page 112
The value for “n” is the desired access level (BASIC, SERVICE, and FACTORY). Once issuing the code, Microcom Corporation support should be contacted with the Code key to gain access using the ^D931 command. The code key is active until printer power cycled or a second ^D930 command issued.
Page 113
SERVICE or FACTORY mode and specific calibration cards to perform task. The value for “n:” is listed below. 0 = Calibrate all sensors 1 = Calibrate Reflective sensor 2 = Calibrate Transmissive sensor 3 = Calibrate LPD sensor 6-14 LDS2 Programming Manual - 880019-0202...
DSR (Data Set Ready) - A status signal from the printer (DCE) to the host PC (DTE) telling the PC that the printer is powered up. Used in conjunction with DTR. Microcom Corporation does not use this signal.
Page 115
DCE end of an RS-232 link. Used in conjunction with DSR. Microcom Corporation does not use this signal. Ethernet - A fast and capable serial interface used by many networks for connecting host computers to various peripherals.
Page 116
(DCE) for 2-way RS-232 serial communication. Also known as TX and TD. This signal comes into the printer on pin #3 of the RS-232 connector. USB (Universal Serial Bus) - A high-speed asynchronous serial interface that connects a PC to a peripheral, such as a printer. LDS2 Programming Manual - 880019-0202 6-17...
Need help?
Do you have a question about the LDS2 and is the answer not in the manual?
Questions and answers