LDS II PROGRAMMING GUIDE PART NUMBER 880019-0123 Revised: September 5, 2006 CPC © Copyright 2006 by Microcom Corporation, Lewis Center, Ohio – All rights reserved.
This Page Intentionally Left Blank
This Page Intentionally Left Blank
Proprietary Statement This manual contains information proprietary to Microcom Corporation. This information is intended solely for the use of parties operating and maintaining such equipment described herein. Product Enhancements Microcom Corporation is committed to the continual improvement of performance and quality in our products. For this reason, specifications are subject to change without notice.
Table of Contents INTRODUCTION............................................................................................................. 1 CHAPTER 1: DESIGNING USING LDSII ....................................................................... 3 1.1 SPECIAL CONTROL CODES ..................................................................................... 3 1.2 SCRIPT CREATION: AN OVERVIEW ........................................................................... 5 1.3 BEGIN SCRIPT - ^A)FILENAME ..
2.1.1 Begin Script - ^A)filename...........................................................................20 2.1.2 Begin Temporary Script - ^AT)filename ......................................................20 2.1.3 Format Entry Command - ^Fn)XB,YB,CI,SW,SH,AI,DN,FO,FJ,FW,CS,FC,CC .......20 2.1.4 Text Entry Command - ^Tn)text data ..........................................................20 2.2 2XX SERIES COMMANDS ....................................................................................
2.4.2 ^D506)n (Select Cutter Type) ................................................................... 30 2.4.3 ^D507)n (Select Printed Media Handler) .................................................. 31 2.4.4 ^D508)n (Select Label Present Detector Type) ........................................ 31 2.4.5 ^D509)n (Select INPUT1 Response Polarity and Action) ......................... 31 2.4.6 ^D541)n (Select Button 1 Response) ....................................................... 32 2.4.
2.5.21 ^D670) (Set Serial Port) ..........................................................................42 2.5.22 ^D674)n (Set Ethernet Port Number)........................................................43 2.5.23 ^D675)n (Set Printer IP Address)..............................................................43 2.5.24 ^D676)n (Set Server/Host IP Address) .....................................................43 2.5.25 ^D677)n (Set Gateway IP Address) .........................................................
2.7.9 ^D972)n (Edit Total Inches Run Statistic) ................................................. 54 2.7.10 ^D973)n (Edit Power on Time Statistic) .................................................... 54 2.7.11 ^D974)n (Edit Head Up Cycles Statistic) .................................................. 54 2.7.12 ^D975)n (Clear All Statistics) .................................................................... 55 2.7.13 ^D976)n (Edit Unit Serial Number) .......................................................
5.3.1 Data Matrix .................................................................................................69 5.3.2 PDF-417 .....................................................................................................74 CHAPTER 6: DIAGNOSTICS AND TROUBLESHOOTING ........................................77 6.1 DIAGNOSTIC MODE...............................................................................................77 6.1.1 Entering Diagnostic Mode....................................
6.4.9 >FEEDING< (85) ........................................................................................ 88 6.4.10 >LABEL/TAG PRESENT< (86)................................................................... 88 6.4.11 >STOCK ADVANCED< (87)....................................................................... 88 6.4.12 >FLASH DEFRAGMENTING< (8A)............................................................ 88 6.3.13 >STOCK NOT LOADED< (8F) ................................................................
7.3 USB PORT ..........................................................................................................94 APPENDIX A – ASCII CHART......................................................................................95 GLOSSARY ..................................................................................................................97 INDEX..........................................................................................................................101 USER NOTES .......
List of Tables Table 1 Resident Bitmapped Fonts ................................................................................ 11 Table 2 Bar Code Index ................................................................................................. 12 Table 3 Attribute Index ................................................................................................... 14 Table 4 Field Justifications .............................................................................................
x LDSII Programming Guide - 880015-0123
List of Figures Figure 1 Sample Script Format.......................................................................................... 6 Figure 2 Script Parameters................................................................................................ 7 Figure 3 Distance-to-Registration Mark (DRM).................................................................. 8 Figure 4 Format Entry Command ......................................................................................
Figure 25 ^D324) - List Statistics Example ..................................................................... 79 Figure 26 ^D960)1 or ^K Test Pattern............................................................................. 80 Figure 27 10/100 BASE-T Ethernet Port.........................................................................
Introduction This programming guide provides the user with an overview of the LDSII command structure and label formatting requirements. The Label Design Software (LDSII) is the resident printer control language that is used to create, store and print label scripts, while also controlling the other various printer features. LDSII can be used in conjunction with mini-computers, mainframes, personal computers, and most other special purpose computers.
2 LDSII Programming Guide - 880015-0123
Chapter 1: Designing Using LDSII Label formats or scripts are very easy to design using LDSII by following these basic steps below. LDSII printers require the use of hardware flow control (CTS/RTS) for proper data management to occur. Software flow control should not be used to manage data being sent to an LDSII printer. 1. Determine the media type, media size, and print speed desired for your application; enter this data into the script header. 2.
Designing Using LDSII Chapter 1 ^J Line Feed: Represents a Line Feed (LF) character or 0x0A. ^K Print Test Label: Causes the printer to print a test pattern consisting of diagonal lines used to test the condition of the dots on the print head. ^L Form Feed: Scrolls one label out of the printer using the previous formats layout. ^M Carriage Return: Represents a Carriage Return (CR) character or 0x0D.
Chapter 1 1.2 Designing Using LDSII Script Creation: An Overview This section is intended to show a sample script file that will be used to explain the individual components of the script. A script consists of printer commands, a script header, field formats, and text data. The script is initiated by sending an “^A)” (Begin Script) and continues until a “^Z)” (End Script) has been received.
Designing Using LDSII Chapter 1 Field #1 – The ^F1) and ^T1) commands are formatting this field. MICROCOM CORPORATION Field #3 – The ^F3) and ^T3) commands are used to format this field. Field #2 – The ^F2) and ^T2) commands are used to format this bar code. 12345 678 90123 45 6 7 8901234 Figure 1 1.3 Sample Script Format Begin Script - ^A)filename This command is used to mark the beginning of a script file.
Chapter 1 Designing Using LDSII The persistent commands are helpful in setting the printer up for a basic configuration and then override them within the script. It is recommended that a script header contain values for each and every parameter if access to the persistent command listings is not available.
Designing Using LDSII Chapter 1 1.4.4 DRM (Distance to Registration Mark) LSX, LSY, GAP, DRM, SPD, DET, OFX, OFY This parameter is typically only used when the registration mark is not located at the edge of the media. The “DRM” is the distance from the leading edge of the media to the beginning of the registration mark. The DRM is entered using the current selected unit of measure selected by the “^D564)” command. See also ^D634)n command. Print Direction DRM, (0.
Chapter 1 Designing Using LDSII conjunction with media containing a blowhole. The blowhole and die-cut selections differ on how they detect an out of stock condition. See also ^D636)n command. 0 1 2 3 None Blackline Die-cut Blowhole (gap sensors are disabled) (lower gap sensor is enabled) (upper and lower gap sensors are enabled) (upper and lower gap sensors are enabled) LSX, LSY, GAP, DRM, SPD, DET, OFX, OFY 1.4.
Designing Using LDSII Chapter 1 1.5.1 XB (X Coordinate) XB, YB, CI, SW, SH, AI, DN, FO, FJ, FW, CS, FC, CC This parameter is used to set the X coordinate of the field. The X coordinate is measured from the left edge of the media, as viewed from the front of the printer. The value is entered using the current unit of measure selected by the “^D564)” command and may contain any number of digits desired.
Chapter 1 Designing Using LDSII CI - Font Name Font Sample @bold_12 12 Point – 01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZa @normal_14 14 Point – 01234567890ABCDEFGHIJKLMNOPQRSTU @bold_14 14 Point – 01234567890ABCDEFGHIJKLMNOPQRST @normal_16 16 Point – 01234567890ABCDEFGHIJKL @bold_16 16 Point – 01234567890ABCDEFGHIJKL @normal_20 @bold_20 @normal_24 @bold_24 20 Point – 01234567890ABCDEFGHIJ 20 Point – 01234567890ABCDEFGHI 24 Point – 0123456ABCDEGabc 24 Point – 012345ABCabcdefgh @ocra_12 12 Point
Designing Using LDSII Chapter 1 This script would cause a line to be inserted an inch from the left side and an inch from the bottom. The line would be 1.11” in width or length (X direction) and would be 0.01” in height (Y direction). The “^Fn)” field must reference a “^Tn)” field for proper operation. The line draw does not have to reference its own specific Text Entry command (“^Tn)”) and may reference an existing Text Entry field in the script file as demonstrated in the above example.
Chapter 1 Designing Using LDSII Graphics The printer is capable of processing monochrome 1-bit bitmaps. If color 1-bit bitmaps are used, it is recommended that the user use Burkes dithering method at the print resolution of the printer. The bitmap graphic does not need a separate converter to convert to the printer’s recognized graphic structure as the printer will do this internally. The actual “.
Designing Using LDSII Chapter 1 Bitmapped Fonts For bitmapped fonts, the SH can be used to adjust the height of the font chosen using the CI parameter. The parameter is entered in as an integer and has a valid range of 1 to 256. The SH default for bitmapped fonts is set a 1. Bar Codes The SH has a different effect when used in conjunction with bar codes.
Chapter 1 Designing Using LDSII Reverse Video The reverse video function inserts a black rectangle that is one dot larger than the contents of the text string field that will be printed. The result would be that the text would be placed as white on a black background area. This effect is the same as if the image was XOR’ed onto a black box or line. In fact, if the automatic black box is too small, the line draw feature may be used to increase the size of the background black box. Refer to section 4.
Designing Using LDSII Chapter 1 orientation may be; left will always be the left edge of the characters when the media exits the printer. Kerning is when one character in a proportional font can be slid under another character to achieve a more appealing result. Kerning is enabled and used by default unless a value for the FJ parameter is entered. If a value is entered then kerning would have to be selected by adding “100” to the justification value.
Chapter 1 Designing Using LDSII values reduce the default spacing. The point values are accurate to a single digit following the decimal place (1.4 for example). XB, YB, CI, SW, SH, AI, DN, FO, FJ, FW, CS, FC, CC 1.5.12 FC (First Character) The FC parameter is used to select the first character to be used as data within the text string data. This parameter is helpful in allowing several fields to use sections of the same text string minimizing the amount of data transmitted.
Designing Using LDSII Chapter 1 This text is what will print out on the media. ^Tn)Your subject text is typed here. Identifies the subject text line number and corresponds with the same format line number. Figure 5 18 Subject data is entered immediately after the command with no space between the command and the text.
Chapter 2: Printer Commands The script management commands may be issued inside a script file while the ^Dxx printer control commands may be issued from inside or outside a script file. Commands will be persistent and non-volatile if issued from outside a script file and temporary if issued from inside a script. Commands that are issued from inside a script file will override the persistent setting during the processing of the script file and then return to the value of the previous persistent command.
Printer Commands Chapter 2 2.1.1 Begin Script - ^A)filename This command is used to mark the beginning of a script file. The script may be saved into the printer’s non-volatile flash memory if a title or filename is placed after the command. The filename may contain to a maximum of 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.
Chapter 2 Printer Commands helpful for debugging purposes. 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. Note: To print either the caret (“^”) or the pipe (“|”) characters simply enter them twice (example - “^^”). 2.2 2xx Series Commands The 2xx series commands control the formatting commands. Commands will return the current status and/or setting if the ^Dxx command is entered without an argument.
Printer Commands Chapter 2 ^D202 Print Example #1 Text Replacement Example The “^D202 Print Example #1” illustrates what the sample script listed above would generate if recalled using the “^D350) command (“^D350)test”).
Chapter 2 Printer Commands 2.3.1 ^D300)n (Print Command) This command will print a label or a batch of labels where “n” controls how many labels of the identical script are printed. When this command is used within a script file, it should be placed at the end of the ^D commands. The “^D300)” command is equivalent to the ^P (ASCII 0x10) control code. 2.3.2 ^D305)1 (Infinity Print Command) Issuing this command will initiate infinity printing.
Printer Commands Chapter 2 2.3.7 ^D323)n (List Enablements) The “^D323)” command will list the printers current configurable enablements along with each of the individual enablement specific ^D7xx command. This command should only be issued from outside a script file and not issued in a script file. The valid parameters for “n” are listed below. If the ^D command is issued without a parameter, the default will be used. The “^D323)” command is equivalent to the ^Y (ASCII 0x19) immediate control code.
Chapter 2 Printer Commands 2.3.12 ^D340)filename (Load/Save File) The “^D340)” command causes the printer to take the ensuing data transfer as a binary file upload from the host. The file will then be permanently stored in the printer’s flash memory until it is explicitly erased. The printer will currently accept the following file types: 1-bit (monochrome) BMP graphics, and MCF’s (Microcom Corporation Converted Font). The file transfer can be sent in uncompressed or PKZIP compatible compressed formats.
Printer Commands Chapter 2 The “^D341)” command is useful in determining the exact filename and the valid wild card structure is listed below. *x x* x*y *x* - deletes filenames that end with character string x. - deletes filenames that begin with character string x. - deletes filenames that begin with character string x and end with string y. - deletes filenames where character string x is found anywhere in the filename. 2.3.
Chapter 2 Printer Commands command until the defragmenting operation has completed. The “^D360)”, “^D324)”, and ^W commands are helpful in determining when the printer requires defragmenting by listing the amount of available flash memory. If the printer responds with the “>INADEQUATE FLASH SPACE<” message, the printer’s flash memory is either full or requires defragmentation to free up additional flash memory.
Printer Commands 28 Chapter 2 Byte Mode Responses (ASCII) Text / Verbose Mode Response Equivalent 0x22 >INPUT 2< 0x30 >SCRIPT ERROR< 0x31 >INVALID PARAMETER< 0X32 >PARSER ERROR< 0x40 >COMM ERROR< 0X51 >FLASH ERROR< 0x80 >RESTARTED< 0x81 >READY< 0x82 >BUSY< 0x83 >PAUSED< 0x84 >PRINTING< 0x85 >FEEDING< 0x86 >LABEL/TAG PRESENT< 0x87 >STOCK ADVANCED< 0x8A >FLASH DEFRAGMENTING< 0x8D >LABEL/TAG NOT PRESENT< 0x8F >STOCK NOT LOADED< 0x90 >RETRACTION DELAY< 0x91 >PRINT DELAY
Chapter 2 Printer Commands Byte Mode Responses (ASCII) Text / Verbose Mode Response Equivalent 0xDB >I/O FAILURE< 0xDC >FONT/GRAPHIC NOT FOUND< 0xDD >BAD FILENAME< 0xE1 >SWITCH 0 ACTUATED< 0xE2 >SWITCH 1 ACTUATED< 0xE3 >SWITCH 2 ACTUATED< 0xE4 >TOF SWITCH ACTUATED< 0xF0 >FIELD OFF IMAGE< 0xF1 >COMPOSITION ERROR< 0XF2 >GRAPHIC TOO LARGE< 0xFF >POWERED DOWN< Table 6 ^D365) Status Response List 2.3.
Printer Commands Chapter 2 “^D392)1” command after a Flash code update may cause the printer to become unstable. A reset (^D390) and/or power cycle is required for this command to complete. 2.3.24 ^D394)1 (Draw Platen Roller Compensation Line) The “^D394)1” command prints 10” lines in the “Y” direction that are used to correct any tolerance issues with the printer’s drive roller. This command is intended to be used in conjunction with the “^D646)” command.
Chapter 2 Printer Commands 2.4.3 ^D507)n (Select Printed Media Handler) This command is used to select the type of Printed Media Handler (PMH) that is installed on the printer. The valid parameters for “n” are listed below. Once this command is changed, printer power needs to be cycled before changes take effect. 0 1 2 3 None Catch Tray type 1 PMP (Printed Media Presenter) type 1 Stacker 160P 2.4.
Printer Commands Chapter 2 2.4.6 ^D541)n (Select Button 1 Response) This command is used to select the operation and response of Button 1 which is typically referred to as the print button. When set to a value of “1”, the printer will reprint the previously printed script with a short button press and if the button is held, the printer will continuously feed media until the button is released.
Chapter 2 Printer Commands automatically generated is the >POWERED DOWN< response and occurs when power is removed from the printer. Byte: When the byte response set is selected, the printer returns all responses in binary form. Commands that are issued without an argument will return that commands current setting without descriptive text while in the byte mode response set.
Printer Commands Chapter 2 2.4.10 ^D566)n (Select Temperature Units) The “^D566)” command is used to select the temperature unit of measure the printer will use for displaying the print head temperatures in degrees. This command is always processed first in a script or just after the “^D564)” and “^D565)” commands by the printer regardless of the placement within a script. This is helpful in forcing a unit of measure for troubleshooting and support capabilities. 1 2 Fahrenheit Centigrade 2.4.
Chapter 2 Printer Commands 2 Finish current label before halting. 2.4.14 ^D597)n (Select Dispense Mode) This command may be used for either Peel-N-Dispense and/or Tag/Tear dispense methods. The Tag/Tear dispense method is when the perforation of a tag that has printed is advanced out to the peel edge to make removal easier. The Peel-N-Dispense method is when die-cut media is used and advanced so that the “peeled” media stays on the peel edge after printing.
Printer Commands 2.5 Chapter 2 4 Advance after every label (LTS Disabled) - Causes the label or tag perforation to be advanced to the peel edge after every label is printed. Before the printer retracts, it will wait only for any advance delay time setting. 5 Advance after copies count (LTS 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.
Chapter 2 Printer Commands 2.5.5 ^D635)n (Set Print Speed) The “^D635)” command sets the print speed of the printer using the current selected unit of measure. Parameter “n” has a range of 1-6 inches per second or 2.54 - 15.24 cm/second. This command is also a parameter in the “^D200)” script header command. See also, SPD. 2.5.6 ^D636)n (Set Detection Mode) This command selects the type of method the printer uses for detecting registration marks on the different media types.
Printer Commands Chapter 2 2.5.6.2 Detection Mode - Blackline (1) This detection mode is used when a black line on the underside of the media is used to register the labels. The Lower Sensor detector “senses” the amount of light reflected off of the label from the Lower Sensor emitter. While registration is determined by the Lower Sensor only in this mode, the upper gap sensor is used for out-of-stock or stock out conditions.
Chapter 2 Printer Commands Upper Sensor Detector Emitter (Not Used) Label Stock Emitter Detector (Not used) Lower Sensor Figure 8 Detection Mode - Die-cut and Blowhole 2.5.7 ^D637)n (Offset X Direction) This command moves or offsets all fields in the “X” direction without altering the field’s insertion points. The value is entered using the current selected unit of measure. This command is also a parameter in the “^D200)” script header command. See also, OFX. 2.5.
Printer Commands Chapter 2 2.5.12 ^D642)n (Set Advance/Retract Distance) 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. The recommended “^D642)” value for the guillotine cutter dispense distance for the Model 426 printer is 0.91” (23.
Chapter 2 Printer Commands the “^D394)1” command. This command is a “property” which means that it controls a specific distance that is set at the factory. The property commands may be set back to their default values using the “^D392)1” command. 2.5.17 ^D647)dc,dp (Set Print Head Parameters) The “^D647)” command is used to identify and specify the values for the print head installed on the printer.
Printer Commands Chapter 2 Table 8 Printer Model Number Recommended ^D648 Value 226 2.32” 326M 1.36” 426M 1.36” 426 2.32” Blackline Sensor to Print Head Distance 2.5.19 ^D649)n (Set Gap Sensor to Print Head Distance) The “^D649)” command is used to set the gap sensor to print head distance at the factory. This command is a “property” which means that it controls a specific distance that is set at the factory.
Chapter 2 Printer Commands following structure, ^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 communicate properly. The “^D670)” command defaults to 9600,n,8,1 when the printer enters the diagnostic mode by pressing the print button in while applying power.
Printer Commands Chapter 2 2.5.26 ^D678)n (Set Broadcast Mask Address) This command is used to set the Broadcast Mask address. This command is provided in all access modes. The default Broadcast Mask address is set to “255.255.255.255” at the factory. The printer uses the new settings only after a power cycle and/or reset command. 2.5.27 ^D679)n (Set Net Mask Address) This command is used to set the Net Mask address. This command is provided in all access modes.
Chapter 2 Printer Commands 2.5.32 ^D690)n (Set Darkness Range) The “^D690)” command is used to set the contrast of the printers output and does not correlate to actual print head temperature. The value for “n” is a range from 1 to 100 with a setting of 80 being the printers default. The lowest setting that produces the desired result should be used to extend print head life and performance. 2.6 7xx Series Commands The 7xx series commands are used to control configurable enablements.
Printer Commands Chapter 2 starting edge of the media is aligned to the print head reducing media waste. This command requires that the printer is equipped with an LPD and that it has been selected using the “^D508)” command. 0 1 Disable Enable 2.6.5 ^D726)n (Enable Auto ACK/NAK) This command enables the automatic acknowledgement after each command.
Chapter 2 Printer Commands 2.6.9 ^D740)n (Enable Cutter) This command is used to control the enablement of a cutter that has been selected using the “^D506)” command. If a cutter is not installed, selected, and this command is enabled, the printer issues the >CUTTER INOPERATIVE< or 0x11 depending on the “^D550)” command configuration. 0 1 Disable Enable 2.6.
Printer Commands 2.7 Chapter 2 9xx Series Commands The 9xx series commands are reserved for printer self tests, factory configuration, and setup commands. Most of the ^D9xx series commands are not available in access modes lower than SERVICE level. Commands will return the current status and/or setting if the ^Dxx command is entered without an argument.
Chapter 2 Printer Commands 4. Be sure that the printer is in the reflective detection mode selected is a “1” by issuing the “^D636)?” command. 5. Enter Tic-Tic mode by issuing the “^D900)f,3” command. 6. The printer will return a numerical value for the sensor output selected by the ^D636 command. 7. 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. 8.
Printer Commands Chapter 2 300 250 On-Screen Sensor value 200 150 100 50 Threshold – 128 (Factory Setting) Grey indicates acceptable Threshold values 0 Figure 10 ^D900 Blackline Threshold Example 2.7.1.2 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. 1.
Chapter 2 Printer Commands 2. Load media into the printer. 3. Establish communication with a terminal emulation program (HyperTerminal, Tera Term Pro, etc.). 4. Be sure that the printer is in a transmissive detection mode (“2” or “3”) by issuing the “^D636)?” command. 5. Enter Tic mode [^D900)f,3]. 6. The printer will return a numerical value for the Gap Sensor output. 7. A high value should be returned for the area outside of the black line.
Printer Commands Chapter 2 300 250 On-Screen Sensor value 200 Grey indicates acceptable Threshold values 150 Threshold – 30 (Factory Setting) 100 50 0 Label + Backing (Allows less light to pass through) Figure 12 52 Backing only (Gap) (Allows more light to pass through) ^D900 Die-cut Threshold Example LDSII Programming Guide - 880015-0123
Chapter 2 Printer Commands 2.7.3 ^D930)level (Get Access Code Key) This command returns an access code that is used to change the printer’s current access level. Once issued, the access code is the same until the “^D930)” command is issued again. Once an access code has been acquired, Microcom Corporation support is contacted and a password will then be issued. This is only required when higher than “BASIC” access level is desired.
Printer Commands Chapter 2 entire listing is terminated with either an additional CR+LF or 0x1A character depending on the “^D550)” command configuration. The list is generated by issuing the command without the “n” parameter. Issuing the “^D945)” command with the “?” character will always report the “^D550)” commands configuration as “9” for VERBOSE mode because the “?” cause the printer to report the VERBOSE descriptive text.
Chapter 2 Printer Commands FACT and/or DEV modes. This statistic field is only available on models that contain head up detection. 2.7.12 ^D975)n (Clear All Statistics) The “^D975)” command is used at the factory for the initial setup. This command resets all of the statistical parameters to “0”. This command is only available in modes FACT and/or DEV access modes. 2.7.13 ^D976)n (Edit Unit Serial Number) This command is used to enter serial number of the printer manually at the factory.
56 LDSII Programming Guide - 880015-0123
Chapter 3: Updating Flash Memory The printer’s firmware (Microcom Corporation Application; MCA) or Bootloader (Microcom Corporation Bootloader; MCB), which is stored in the flash memory, may be updated using the different methods. The procedures are slightly different depending on the type of update required. This section provides the information necessary to properly update the firmware stored in flash memory.
Updating Flash Memory Chapter 3 8. After the file has been unzipped and the checksum verified, the following dialog is reported to the host: “Unzipped. CRC Okay: 0x36410D55” (The checksum shown is for demonstration purposes only. The checksum will reflect the MCA files internal checksum and report any differences automatically.) This dialog is only reported if the printer is set to use the VERBOSE response set. Refer to the “^D550)” command for additional information regarding the printer response sets.
Chapter 3 Updating Flash Memory 1. Make sure the RS-232 serial connection is made between the host and the printer including the proper Baud rate. 2. Contact Microcom Corporation support department and/or visit www.microcomcorp.com to acquire the desired MCA code file. 3. Start the terminal emulation program and set the serial parameters to 115200,n,8,1. 4. While pressing the Auxiliary button (see Figure 6) turn the printer power switch on.
Updating Flash Memory Chapter 3 Note: The emulation program used to transfer the MCA file via the serial port must be capable of sending Binary data, (i.e., Tera Term Pro) for proper transfer to occur. If the transfer was not successful the emulation program used, may not have the ability to transfer Binary data. CAUTION: Do not send any unnecessary characters or turn the printer off during the flash memory update. Failure to observe this precaution may result in the printer becoming inoperable.
Chapter 4: Special Features 4.1 Reverse Video The Reverse Video feature is used to automatically generate a box, using the current foreground color, on top of text. This creates text that is the background color, and is done by setting the “AI” (Attribute Index) field to a “2” in the Format Entry command (“^Fn)”). The box can be increased in size by simply overlaying the desired area with a line using the Line Draw feature.
Special Features Chapter 4 Line Draw Reverse Video Example: ^A) ^D200) 3.3, 1.9, 0.125, 1.063, 5, 1 ^F1) 0.25, 0.50,@line, 2.75, 1.00 ^F1) 1.0, 1.0, @normal_14, , , 2 ^T1)Reverse Video ^D300)1 ^Z) Line Draw feature to produce a larger box for Reverse Video. Reverse Video Figure 15 4.2 Line Draw Reverse Video Line Draw The line draw feature is selected by entering “@line” into the CI parameter of the “^Fn)” Format Entry command.
Chapter 4 Special Features Line Draw Feature Figure 16 Line Draw Feature Two Lines Example: ^A) ^D200) 3.3, 1.9, 0.125, 1.063, 5, 1 ^F1) 1.0, 1.0, @line, 1.11, 0.01 ^F1) 1.55,0.25,@line, 0.01, 0.75 ^F1) 1.0, 1.0, @normal_14 ^T1)Line Draw Feature ^D300)1 ^Z) Line Draw Feature Figure 17 Two Lines This example shows a line inserted an inch from the left side and an inch from the bottom. This line would be 0.01” in height and would be 1.11” in width or length. A second line is being inserted 1.
Special Features Chapter 4 The Line Draw feature can also be used to create boxes. To accomplish this you simply create four lines that connect together to form a box. Box Creation Example: ^A) ^D200) 3.3, 1.9, 0.125, 1.063, 5, 1 ^F1) 0.90, 1.00, @line, 1.35, 0.01 ^F1) 0.90, 1.25, @line, 1.35, 0.01 ^F1) 0.90, 1.00, @line, 0.01, 0.25 ^F1) 2.24, 1.00, @line, 0.01, 0.25 ^F1) 1.00, 1.
Chapter 5: Bar Codes The purpose of this chapter is to provide information and the formatting requirements of the different bar codes that are stored in the printer’s memory. 5.1 Generating Bar Codes Bar codes that are stored in the printer are generated by using the CI, SW, SH and the AI (when applicable) parameters of the Format Entry Command (“^Fn)”).
Bar Codes 5.2 Chapter 5 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. 5.2.1 Codabar (Rationalized) Codabar is a variable length linear symbology that is commonly used in libraries, blood banks, and in the air parcel business. Codabar is capable of encoding the 16 following characters: 0123456789-$:/.
Chapter 5 Bar Codes Data String using Manual Compression ABC#3012345#5abc The “#3” code, while in subset B, switches to subset C. The printer defaults to subset B Figure 19 The “#5” code, while in subset C, switches to subset A. Code 128 Subset Switching Subset A This subset contains 106 unique characters, which includes numbers 0 through 9, the English alphabet (uppercase only), punctuation marks, ASCII control codes, and the special function codes listed in table 6.
Bar Codes Chapter 5 5.2.4 Code 39 Code 39 is a variable length, alphanumeric symbology that is very popular and is extensively used in the non-retail, military, manufacturing and medical industries. Code 39 is capable of encoding numerical characters 0 through 9, the English Alphabet (uppercase only), characters -. *$/+% along with the “space” character. The Code 39 is framed with a start/stop character represented by the asterisk (“*”) character, which is reserved for this purpose.
Chapter 5 Bar Codes 5.2.9 MSI2 (Modified Plessey) The MSI Plessey is a variable length, numeric only symbology used for retail shelf labeling. When using the MSI2 bar code, the printer will calculate both check digits. CI text equivalent codes: @msi2 5.2.10 Postnet The Postnet symbol is used to encode digits for postal applications to sort mail. A Postnet symbol is made up of binary digits, represented as full and half bars.
Bar Codes Chapter 5 Y Parameter This parameter is used to set the Y coordinate start position of the Data Matrix symbol. CI Code This is the Text Equivalent Code that is used to generate the Data Matrix symbol associated with the Text Entry command line (“^Tn)”). The valid codes are datamatrix, data, or dm. Configuration The configuration parameter is used to identify the size and capacity of the Data Matrix symbol. The ECC 200 symbols have an even number of rows and an even number of columns.
Chapter 5 Bar Codes 120 x 120 Numeric Capacity 2100 Alphanumeric Capacity 1573 Binary Byte Capacity 1048 132 x 132 2608 1954 1302 144 x 144 3116 2335 1556 8 x 18 10 6 3 8 x 32 20 13 8 12 x 26 32 22 14 12 x 36 44 31 20 16 x 36 64 46 30 16 x 48 98 72 47 Symbol Size Table 14 Data Matrix Configuration Parameters Encoding The Encoding parameter is used to set the encoding scheme that will be used for the supplied data.
Bar Codes Chapter 5 ACSII Encoding Scheme ASCII encoding is the basic scheme that encodes ASCII data, double density numeric data and symbology control characters. Which means it encodes one alphabetic or two numeric characters per byte. All other encoding schemes are invoked from ASCII and will then return to this scheme through the use of code words, refer to Table 9. C40 Encoding Scheme C40 encoding scheme is used to encode uppercase alphabetic, numerical and space characters.
Chapter 5 Bar Codes Module Width This parameter is used to adjust the size of the individual square modules that are used to create the Data Matrix symbol. This parameter uses dots as its unit of measure with 4 being the default value. Tilde The Tilde parameter is used to determine whether the tilde character (~) will be used as a special control character or as a normal “~” character.
Bar Codes Chapter 5 Special Character Description ~dNNN Represents the ASCII encoded by the “NNN” value. For example: “~d065” would represent the ASCII character “A”. Table 17 CI text equivalent codes: Data Matrix Special Characters @datamatrix, @data 5.3.2 PDF-417 The Portable Data File 417 or PDF-417 is a two-dimensional stacked symbology that is capable of encoding the entire ASCII character set, 2710 digits, and up to 1108 bytes in a single bar code.
Chapter 5 Bar Codes #Rows This parameter is used to specify the number of rows used for rendering the PDF-417 symbol. The PDF-417 symbol may have as few as 3 or as many as 90 rows with a default setting of 90. #Columns This parameter is used to specify the number of columns used for rendering the PDF-417 symbol. The PDF-417 symbol may have 1 to 30 columns with a default setting of 30. Aspect Ratio This parameter is used to adjust the aspect ratio of the PDF-417 symbol.
76 LDSII Programming Guide - 880015-0123
Chapter 6: Diagnostics and Troubleshooting The purpose of this chapter is to provide some information about the diagnostic reporting of the printer that can be used to help identify, diagnose and troubleshoot problems. 6.1 Diagnostic Mode Diagnostic Mode temporarily powers the printer using factory default parameters while printing out the printer’s current configuration on what is called the Status Label. This information can be used to help diagnose and troubleshoot printer configuration issues.
Diagnostics and Troubleshooting Chapter 6 Settings (D326 or V) Operational Print Speed: (D635) 6.0 ips Detector mode: (D636) 0 (none) Slew Speed: (D645) 6.0 ips Darkness: (D690) 75 (Dark) Retraction delay: (D641) 0.5 sec. Print delay: (D640) 0.0 sec. Labels printed: (D655) 42 Distances Label width (LSX): (D631) 3.34 inches Label height (LSY): (D632) 1.5.12 inches Reg. mark height (GAP): (D633) 0.148 inches To reg’n mark (DRM): (D634) 0.0 inches X offset (OFX): (D637) 0.
Chapter 6 Diagnostics and Troubleshooting Selections (D325 or U) Operational Dispense mode: Emulation: Cutter Type: PMH Type: Button Mode: Stock-out handling Response Mode: RS-232 connection: Power-up label: Detector mode: Input 1 LPD type or Input 2 General Measurement units: Speed units: Temperature units: Figure 24 (D597) (D501) (D506) (D507) (D541) (D581) (D550) (D570) (D586) (D636) (D509) (D508) 3 Microcom 426 NONE NONE 1 Halt Text Serial port @default 0 (none) 0 0 (D564) 1 (inches) (D565)
Diagnostics and Troubleshooting Chapter 6 Figure 26 6.2 ^D960)1 or ^K Test Pattern Enquiry Responses Enquiry responses provide a method of determining the current status of the printer as well as identifying different error conditions. This is possible by sending either the “Ctrl+E” combination, issuing the “^D327)” command, or by enabling any of the auto-reporting commands; Refer to the ^D72x series commands.
Chapter 6 Diagnostics and Troubleshooting Byte Mode Responses (ASCII Hex) Text and Verbose Mode Responses Definition 0x13 >CUTTER WATCHDOG WON’T RESET< The software cannot reset the cutter after a stopped condition. 0x1C >MISSING LABEL< Generated if more than one diecut label has been detected. 0x1D >INCOMPLETE FORM< A complete script did not print on a >STOCK OUT< condition. 0x20 >CATCH TRAY FULL< The PMH has reached its capacity. 0x21 >INPUT 1< The Input 1 sensor has been actuated.
Diagnostics and Troubleshooting Chapter 6 Byte Mode Responses (ASCII Hex) Text and Verbose Mode Responses Definition 0x8A >FLASH DEFRAGMENTING< Flash file system is optimizing memory. 0x8F >STOCK NOT LOADED< The printer was powered up with out media installed. 0x90 >RETRACTION DELAY< The retraction has been delayed. 0x91 >PRINT DELAY< The printing has been delayed. 0xB0 >FLASH MEMORY LOW< The Flash memory file space is 95% full. 0xC0 >BUTTON 1 TAPPED< The print button has been pressed.
Chapter 6 Diagnostics and Troubleshooting Byte Mode Responses (ASCII Hex) Text and Verbose Mode Responses Definition 0xE1 >SWITCH 0 ACTUATED< Switch 0 has been actuated. 0xE2 >SWITCH 1 ACTUATED< Switch 1 has been actuated. 0xE3 >SWITCH 2 ACTUATED> Switch 2 has been actuated. 0xE4 >TOF SWITCH ACTUATED< The TOF switch has been actuated. 0xF0 >FIELD OFF IMAGE< An image placement coordinates exceed the print head or form size.
Diagnostics and Troubleshooting Chapter 6 6.3.2 >STOCK OVERADVANCED< (02) This error response is typically generated when the printer has an excess amount of media feed out of the printer and a Top-of-Form operation is executed. If the printer is configured for byte responses, the code ASCII 0x02 will be issued from the printer in response to an enquiry command. 6.3.
Chapter 6 Diagnostics and Troubleshooting 6.3.7 >CUTTER WATCHDOG STOPPED CUTTER< (12) This error response is generated when the cutter cannot complete a full rotation and is jammed while in text and verbose modes. The cutter watchdog timer will disable the power to the cutter to prevent damage from occurring. The printer power should to be cycled to properly clear this error after the jam has been cleared from the cutter blades.
Diagnostics and Troubleshooting Chapter 6 responses, the code ASCII 0x31 will be issued from the printer in response to an enquiry command. 6.3.14 >PARSER ERROR< (32) The “>PARSER ERROR<” indicates that the printer has detected an internal error with the parser while in text and verbose response sets. If the printer is configured for byte responses, the code ASCII 0x32 will be issued from the printer in response to an enquiry command. 6.3.
Chapter 6 Diagnostics and Troubleshooting 6.4.2 >INPUT 1< (21) The “>INPUT 1<” response indicates that the INPUT 1 sensor option is tripped while in text or verbose response modes. If the printer is configured for byte responses, the code ASCII 0x21 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. 6.4.
Diagnostics and Troubleshooting Chapter 6 6.4.9 >FEEDING< (85) The “>FEEDING<” response indicates that the printer is currently feeding media while in text and verbose response sets. If the printer is configured for byte responses, the code ASCII 0x85 will be issued from the printer in response to an enquiry command. 6.4.10 >LABEL/TAG PRESENT< (86) This response indicates that media is blocking the Label Present Sensor (LPS) and protruding out the front of the printer.
Chapter 6 Diagnostics and Troubleshooting 6.4.16 >FLASH MEMORY LOW< (B0) The “>FLASH MEMORY LOW<” response indicates that the user storage area of the flash memory is 95% full while in text and verbose response sets. This message will continue to be received until files are removed from flash memory or until the printer performs garbage collecting and defragmenting. If the printer is configured for byte responses, the code ASCII 0xB0 will be issued from the printer in response to an enquiry command. 6.4.
Diagnostics and Troubleshooting Chapter 6 If the printer is configured for byte responses, the code ASCII 0xD3 will be issued from the printer in response to an enquiry command. 6.4.23 >FILE CONVERSION ERROR< (D4) This enquiry response indicates that the printer encountered an error while performing an internal conversion of the received file while in text and verbose modes.
Chapter 6 Diagnostics and Troubleshooting 6.4.30 >FONT/GRAPHIC NOT FOUND< (DC) This enquiry response typically indicates that a font being specified a script file does not exist in flash memory. If the printer is configured for byte responses, the code ASCII 0xDC will be issued from the printer in response to an enquiry command. 6.3.31 >SWITCH 0 ACTUATED< (E1) This enquiry response typically indicates that switch 0 is actuated while in text or verbose response sets.
92 LDSII Programming Guide - 880015-0123
Chapter 7: 7.1 Communications RS-232 Serial The printer provides a 9 pin female D-Sub connector, on the rear panel, for RS-232 serial communication. The printer is configured as DCE (Data Circuit-terminating Equipment) so a NULL modem cable is not necessary. A serial data cable is required to use serial communications, refer to the table below for correct cable configurations.
Communications Chapter 7 For a 25-pin serial communication port – Use a 25-pin female to 9-pin male cable. For a 9-pin serial communication port – Use a 9-pin female to 9-pin male cable. CAUTION: Connection of a serial port to a parallel port may result in damage to the printer and / or computer. 7.2 Ethernet - 10/100 BASE-T The printer provides an auto-sensing, 10/100 Mbps Fast Ethernet port with full duplex operation capability.
Appendix A – ASCII Chart DEC HEX ASCII KEY DEC HEX ASCII DEC HEX ASCII DEC HEX ASCII 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US Ctrl @ 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 20 21 22
96 LDSII Programming Guide - 880015-0123
Glossary Alphanumeric - A term used to identify characters consisting of letters, numbers, and other symbols such as punctuation marks and mathematical symbols. Bar code - Alphanumeric characters that are represented using a system of printed lines, which can be read by a computer. Blackline - A registration mark, typically a black line on the underside of certain media that is used to identify the starting position of a label.
Ethernet - A fast and capable serial interface used by many networks for connecting host computers to various peripherals. Fanfold media - Die-cut or tag media that is folded into stacks. Flash memory - Memory that is used to store font, graphics and label formats for faster access. This is a non-volatile type of memory, which means that the information stored is saved even when the printer power is turned off.
TXD (Transmit Data) - An essential signal that carries data from the DTE to the DCE for 2way RS-232 serial communication. Also known as TX and TD. USB (Universal Serial Bus) - A high-speed asynchronous serial interface typically transfers up to 12M bits/second, used for connecting host computers to various peripherals.
100 LDSII Programming Guide - 880015-0123
Index A AGD Parameter ........................................................................................................................................................................................ 39 AI Parameter .......................................................................................................................................................................... 61, 65, 66, 68 AN Parameter ..........................................................................................
L Lines ......................................................................................................................10, 11, 12, 13, 14, 15, 17, 20, 61, 62, 63, 64, 70, 74, 97 LSX Parameter ...........................................................................................................................................................................................7 LSY Parameter ..............................................................................................................
User Notes LDSII Programming Guide - 880015-0123 103