background image

Bar Codes 

 

Chapter 5 

74 

LDSII Programming Guide - 880015-0123  

Special 

Character 

Description 

~dNNN 

Represents the ASCII encoded by the “NNN” value.  For example:  

“~d065” would represent the ASCII character “A”. 

 

Table 17 

Data Matrix Special Characters 

 
 

CI text equivalent codes:  @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.  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 that is used in 
place of the standard Format Entry Command, which is listed below. 
 
 
 
 
 
 
 
 
 
 
 
 
 

Figure 21 

PDF-417 Format Structure 

 

 
X Parameter 

This parameter is used to set the X coordinate start position of the PDF-417 symbol and has 
a default value of 0.   
 
 

Y Parameter 

This parameter is used to set the Y coordinate start position of the PDF-417 symbol and has 
a default value of 0. 
 
 

CI Code 

This is the Text Equivalent Code that is used to generate the PDF-417 symbol associated 
with the Text Entry command line

 (“^Tn)”).  The valid codes are pdf417, pdf, or 417. 

 

^Fn)  X, Y, CI , #Row, #Columns, Aspect Ratio, Rotation, ECC%, ECC# 

 

The 
comma 
delimiter 

The “n” identifies the 
field number which 
always starts at “1”. 

Field parameters 

Summary of Contents for LDS II

Page 1: ...LDS II PROGRAMMING GUIDE PART NUMBER 880019 0123 Revised September 5 2006 CPC Copyright 2006 by Microcom Corporation Lewis Center Ohio All rights reserved Printed in the United States of America...

Page 2: ...This Page Intentionally Left Blank...

Page 3: ...This Page Intentionally Left Blank...

Page 4: ...A digital device pursuant to Part 15 of the FCC rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environmen...

Page 5: ...Detection Method 8 1 4 7 OFX Offset X Direction 9 1 4 8 OFY Offset Y Direction 9 1 5 FORMAT ENTRY COMMAND FN 9 1 5 1 XB X Coordinate 10 1 5 2 YB Y Coordinate 10 1 5 3 CI Conversion Identifier 10 1 5...

Page 6: ...ensor Thresholds 23 2 3 7 D323 n List Enablements 24 2 3 8 D324 n List Statistics 24 2 3 9 D325 n List Selections 24 2 3 10 D326 n List Settings 24 2 3 11 D327 1 List Status 24 2 3 12 D340 filename Lo...

Page 7: ...5 1 D631 n Set Media Width 36 2 5 2 D632 n Set Media Height 36 2 5 3 D633 n Set GAP Size 36 2 5 4 D634 n Distance To Registration Mark 36 2 5 5 D635 n Set Print Speed 37 2 5 6 D636 n Set Detection Mo...

Page 8: ...Power Up Script 45 2 6 3 D721 n Enable Auto Enquiry After Print 45 2 6 4 D723 n Enable Auto TOF on Power up 45 2 6 5 D726 n Enable Auto ACK NAK 46 2 6 6 D727 n Enable Auto Error Reporting 46 2 6 7 D73...

Page 9: ...UPDATING FLASH MEMORY 57 3 1 COMPRESSED FILE UPDATE 57 3 2 MCA COMPRESSED FILE RECOVERY 58 CHAPTER 4 SPECIAL FEATURES 61 4 1 REVERSE VIDEO 61 4 2 LINE DRAW 62 CHAPTER 5 BAR CODES 65 5 1 GENERATING BA...

Page 10: ...STOCK 04 84 6 3 5 CUTTER JAMMED 10 84 6 3 6 CUTTER INOPERATIVE 11 84 6 3 7 CUTTER WATCHDOG STOPPED CUTTER 12 85 6 3 8 CUTTER WATCHDOG WON T RESET 13 85 6 3 9 MISSING LABEL 1C 85 6 3 10 INCOMPLETE FORM...

Page 11: ...D2 89 6 4 22 ZIP FILE ERROR D3 89 6 4 23 FILE CONVERSION ERROR D4 90 6 4 24 UNSUPPORTED FILE TYPE D5 90 6 4 25 FILE NOT FOUND D6 90 6 4 26 INADEQUATE ACCESS MODE D7 90 6 4 27 FILE IS READ ONLY D9 90...

Page 12: ...viii LDSII Programming Guide 880015 0123 7 3 USB PORT 94 APPENDIX A ASCII CHART 95 GLOSSARY 97 INDEX 101 USER NOTES 103...

Page 13: ...Sensor to Print Head Distance 42 Table 9 Gap Sensor to Print Head Distance 42 Table 10 D670 Parameters 43 Table 11 D900 and D902 Parameters 48 Table 12 Access Levels 53 Table 13 Code 128 Special Func...

Page 14: ...x LDSII Programming Guide 880015 0123...

Page 15: ...kline Listing 49 Figure 10 D900 Blackline Threshold Example 50 Figure 11 D900 Die cut Listing 51 Figure 12 D900 Die cut Threshold Example 52 Figure 13 Auxiliary Button 60 Figure 14 Reverse Video 61 Fi...

Page 16: ...xii LDSII Programming Guide 880015 0123 Figure 25 D324 List Statistics Example 79 Figure 26 D960 1 or K Test Pattern 80 Figure 27 10 100 BASE T Ethernet Port 94...

Page 17: ...a Term Pro Microcom Corporation printers are shipped with serial parameters set to 9600 baud no parity 8 data bits and 1 stop bit unless setup with a custom configuration The emulator program will hav...

Page 18: ...2 LDSII Programming Guide 880015 0123...

Page 19: ...SCII carat character The ASCII pipe symbol can be used as a substitute for these instances Below is a list of special control codes used by LDSII A one 1 second delay should follow all control codes b...

Page 20: ...hrough software that duplicates a hard reset Issuing the R causes the reset to occur immediately bypassing commands sent but not yet processed The D390 0 command is a queued or serialized version of t...

Page 21: ...cript is listed below and will be referred to as the individual components are discussed in the subsequent sections of Chapter 1 The actual programming instructions that have been typed into a text fi...

Page 22: ...Script 1 4 Script Header The script header consists of the D200 command followed by eight parameters that control the media layout as well as printer operation The parameters must be separated by a d...

Page 23: ...r is always required for proper script operation See also D631 n command 1 4 2 LSY Label Height LSX LSY GAP DRM SPD DET OFX OFY Specifies the height or Y direction of the label in the unit of measure...

Page 24: ...OFX OFY This parameter selects the type of method the printer uses for detecting registration marks on different media types A selection of a 0 disables registration detection and is used in conjuncti...

Page 25: ...ected by the D564 command See also D638 n command 1 5 Format Entry Command Fn The Format Entry command is used to define the characteristics placement and representation of the corresponding text data...

Page 26: ...FW CS FC CC The Conversion Identifier CI determines how the associated text field will be rendered This parameter can be used to select from the available fonts graphics line draw feature and or bar c...

Page 27: ...opqr ocrb_12 12 Point 1234567890ABCDEFGHIJKLMNOPQRSTUV Table 1 Resident Bitmapped Fonts Font File Type Example If a normal 8 point font is desired then normal_08 should be entered for the CI parameter...

Page 28: ...available bar codes The bar codes that provide optional check digits can be accessed and printed by entering cs immediately following the bar code text equivalent code This is helpful to meet the indi...

Page 29: ...s parameter is used to adjust the width multiple of fonts bar codes and or lines Bitmapped Fonts For bitmapped fonts the SW can be used to adjust the width multiple of the font chosen using the CI par...

Page 30: ...0 5 inches or 12 7mm depending on the current unit of measure D564 command setting with the default for 90 and 270 degree rotation being set to a 1 Line Draw The SH determines the height of a line wh...

Page 31: ...of the bar code it is possible to multiply and adjust the narrow bar module This would mean that for a 0 degree bar code a SW value of 2 2 x 0 0049 would adjust the narrow bar module to 0 0098 and th...

Page 32: ...lignment Horizontal Vertical Left Center Right Justified Above Baseline Top 11 12 13 14 Vertical Alignment Below Baseline Bottom 31 32 33 34 Add 100 for kerning and add 200 for mono spacing to the FJ...

Page 33: ...ers in the selected text string is more than the quantity specified by the CC then the remainder of the text string is ignored If this parameter is left blank then the entire text string will be used...

Page 34: ...Entry Command Tn Your subject text is typed here Subject data is entered immediately after the command with no space between the command and the text Identifies the subject text line number and corres...

Page 35: ...rn the current status and or setting if the Dxx command is entered without an argument Entering a question mark after the Dxx command causes the printer to report the commands current setting as well...

Page 36: ...he script does not contain a filename the script is processed normally and will be volatile in nature Temporary scripts are not saved and are lost once a reset or power cycle occurs 2 1 3 Format Entry...

Page 37: ...to section 1 4 for additional information 2 2 2 D202 n Text Replacement Header This command may be used in place of the script header D200 after a script containing Fn formatting instructions has bee...

Page 38: ...d script The D202 Print Example 3 illustrates adding a D command recalling the script from Example 1 test replacing text field 1 with blank space replacing the data in text field 3 T3 from Example to...

Page 39: ...file The D312 command is equivalent to the L ASCII 0x0C control code 2 3 5 D313 n1 n2 Advance Media This command is used to advance the media by a programmable distance n1 at a programmable speed n2...

Page 40: ...e The valid parameters for n are listed below If the D command is issued without a parameter the default will be used The D325 command is equivalent to the U ASCII 0x15 control code 1 through active p...

Page 41: ...rscore character followed by the point size see the examples below Command Syntax D340 filename file size comment optional Example 1 D340 swiss721_10 3092 Example 2 D340 graphic 2862 my graphic Exampl...

Page 42: ...the file size The D345 command has two parts which are the file name and file size The filename may contain to a maximum of 20 characters in length and include any character from ASCII 0x20 and 0x41...

Page 43: ...a script that has been saved in the printer s flash memory or volatile scripts that are currently in RAM 2 3 19 D360 1 List Memory Available This command lists the current RAM and Flash memory availa...

Page 44: ...INTING 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 0xB0 FLASH MEMORY LOW 0x...

Page 45: ...eued equivalent to the immediate R ASCII 0x12 control code 2 3 22 D391 1 Restore Configuration Defaults This command is used to restore configuration defaults to a known state This command may be sent...

Page 46: ...the n parameter Once the printer has been set to a specific emulation mode the commands will then follow the rules of that particular product This command should only be issued from outside a script a...

Page 47: ...ed when using the Dispense mode or D597 or the dispense mode command with automatically retract ignoring the LPD signal This command is also used to control the optional INPUT 2 sensor using selection...

Page 48: ...ss BUTTON 1 TAPPED button held BUTTON 1 HELD 5 Short press Initiates a TOF D311 button held continuous feed 2 4 7 D550 n Select Printer Response Set This command is used to select among the available...

Page 49: ...the printer for the first time and is not intended to be used for actual programming 1 Text Default 2 Byte 9 Verbose 2 4 8 D564 n Select Measurement Units This command is used to select the prevailing...

Page 50: ...mine and set the port based on which port is connected at powerup If both serial and USB ports are connected the autodetect will select the USB as the active port If autodetect is selected and neither...

Page 51: ...ausing the media to be retracted When the media is in the advanced position the indicator light is solid amber in color The recommended D642 value for the Tag Tear dispense method for the Model 426 pr...

Page 52: ...ure selected by the D564 command The maximum width is the width of the print head installed on the printer This command is also a parameter in the D200 script header command See also LSX 2 5 2 D632 n...

Page 53: ...detection method which can be used with any type of media but is not recommended when only detecting registration marks located on the bottom side of the media A selection of a 3 also uses the transmi...

Page 54: ...e 2 5 6 3 Detection Mode Die cut 2 and Blow hole 3 Die cut sensing refers to die cut label registration where the difference in the transparency of label and label backing is detected gap between labe...

Page 55: ...direction independently of OFX or D637 command This command is used to compensate for mechanical misalignments that can not be adjusted mechanically The value is entered using the current selected uni...

Page 56: ...selected by the D564 command This distance is the distance media is retracted after reaching the LPD so that the media is properly positioned at the print head The distance is entered using the curre...

Page 57: ...e following table for the available print heads and their appropriate values This command is a property which means that it controls a specific distance that is set at the factory The property command...

Page 58: ...ommand Printer Model Number Recommended D649 Value 226 2 34 326M 1 38 426M 1 38 426 2 34 Table 9 Gap Sensor to Print Head Distance 2 5 20 D655 n Set Labels Printed This command gives the user the abil...

Page 59: ...ommended Stream Printing Ethernet port is 9100 The printer uses the new settings only after a power cycle and or reset command This is typically set to 9100 2 5 23 D675 n Set Printer IP Address This c...

Page 60: ...e threshold The printer s default threshold is set to 128 and typically does not require any adjustment The command is provided in all access modes in the event that this threshold requires adjustment...

Page 61: ...limited LDSI emulation mode selected by the D501 command When this command is enabled the printer will always revert back to the limited 410 emulation mode even if the printer was in the native LDSII...

Page 62: ...ding the possible enquiry responses 0 Disable 1 Enable 2 6 6 D727 n Enable Auto Error Reporting The D727 command automatically reports halting errors immediately upon recognition of the error conditio...

Page 63: ...an attempt to save a file larger than available flash occurs The printer transfers or copies the contents of flash memory to RAM and then performs the flash memory defrag on the next power cycle or r...

Page 64: ...tering Tic tic mode Pressing the print button cancels this diagnostic mode Parameter Parameter Description Valid Arguments d Direction f forward r reverse s Speed D565 command configurable Table 11 D9...

Page 65: ...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 Enter a ne...

Page 66: ...e 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 Ve...

Page 67: ...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 Enter a new threshold value between the high value...

Page 68: ...23 Figure 12 D900 Die cut Threshold Example 50 0 100 150 200 250 300 Label Backing Allows less light to pass through Backing only Gap Allows more light to pass through Threshold 30 Factory Setting On...

Page 69: ...rd 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 Access Level Access Level Description...

Page 70: ...inted Statistic The D971 command is used to enter reset and or change the Inches Printed statistics field This statistic is only incremented while the printer is actually printing The Inches Printed s...

Page 71: ...hernet MAC address A unique Ethernet 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...

Page 72: ...56 LDSII Programming Guide 880015 0123...

Page 73: ...s made Do not send any unnecessary characters or remove the printer s power during the update or the printer may become inoperable Refer to section 3 2 in the event the printer does not function prope...

Page 74: ...92 1 commands force setting to factory defaults while the D390 1 resets the printer and automatically issues an enquiry command on reboot 12 Once the printer reboots any custom configuration file and...

Page 75: ...e dialog below The bold italics text denotes informational comments or instructions and is not part of the printer s update dialog 6 The flash memory has been recovered and the MCB firmware may be upg...

Page 76: ...per transfer to occur If the transfer was not successful the emulation program used may not have the ability to transfer Binary data Figure 13 Auxiliary Button Press and hold the Auxiliary Button in w...

Page 77: ...ibute 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 The Line Draw format line should...

Page 78: ...etermines the width and the height of the line with respect to the rotation or orientation of the FO field Line Draw 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 0 1 0 normal_...

Page 79: ...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 55 from the left edge a...

Page 80: ...complish 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...

Page 81: ...en used in conjunction with bar codes the SW parameter 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 rendition r...

Page 82: ...alphanumeric symbology that is extensively used worldwide This bar code uses three subsets A B and C which allows for the encoding of the full 128 ASCII character set along with special control codes...

Page 83: ...iable length high density alphanumeric symbology that is extensively used worldwide This bar code uses three subsets A B and C which allows for the encoding of the full 128 ASCII character set along w...

Page 84: ...rcase only characters and five special characters including the start stop character CI text equivalent codes code93 c93 5 2 6 Code I2of5 Interleaved 2 of 5 The I2of5 is a variable length paired numer...

Page 85: ...not the standard Format Entry Command structure Unless stated otherwise in the descriptions below the printer will automatically generate the necessary check digits when required 5 3 1 Data Matrix Da...

Page 86: ...x 10 to 144 x 144 or rectangular with sizes 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...

Page 87: ...he 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 encoding...

Page 88: ...characters into two bytes Text Encoding Scheme Text encoding is primarily used to encode lowercase alphabetic and numerical characters Text encodes three alphanumeric data characters into two bytes B...

Page 89: ...o the UCC EAN Application Identifier Standard 2 Represents Structured Append which is used to link information from several symbols in a sequence The 2 must be followed by three additional bytes Consu...

Page 90: ...tation and Error Correcting Code or ECC These parameters are set using a PDF 417 unique Format Entry Command that is used in place of the standard Format Entry Command which is listed below Figure 21...

Page 91: ...s 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 ECC The ECC par...

Page 92: ...76 LDSII Programming Guide 880015 0123...

Page 93: ...diagnostic mode press and hold the print button in while turning on the printer Release the button after the status light indicator starts to blink and the printer will power up into diagnostic mode T...

Page 94: ...512 inches Roll diam ref length D646 10 0 inches Black line det to head D648 2 32 inches Gap det to head D649 2 34 inches Printhead Width D647 4 094 inches Resolution D647 203 dpi Serial port setting...

Page 95: ...ation enabled D740 false Total cycle count 0 Printed Media Handler PMH Type installed D507 NONE Operation enabled D741 false Flash Installed 4 MB Available in file area 964 KB RAM Installed 16 0 MB He...

Page 96: ...operation until resolved Status responses do not halt the printers operation but are simply a status of the printer s current state Refer to the table below and the following sections for more informa...

Page 97: ...been actuated 0x30 SCRIPT ERROR An error with the script has been detected 0x31 INVALID PARAMETER The printer has detected an invalid parameter 0x32 PARSER ERROR An error with the printer s parser has...

Page 98: ...he print head temperature is out of operating range 0xD1 NONEXISTENT COMMAND The received command does not exist 0xD2 INCOMPLETE COMMAND The received command is not complete 0xD3 ZIP FILE ERROR The re...

Page 99: ...the printer to the host when the appropriate condition occurs by issuing the Ctrl E E combination or by issuing the queued D327 1 command The printer may be configured to automatically reports errors...

Page 100: ...th the D311 TOF command When the printer is configured without an LPD not selected by the D509 command or if media is blocking a configured LPD once printing commences a stock jam condition is detecte...

Page 101: ...only the backing material when using die cut media indicating a missing label while in text or verbose response modes If the printer is configured for byte responses the code ASCII 0x1C is issued from...

Page 102: ...e has been received If the printer is configured for byte responses the code ASCII 0x51 will be issued from the printer in response to an enquiry command 6 4 Basic Status Responses Basic status respon...

Page 103: ...perating state and that it is ready to accept data while in text and verbose response sets If the printer is configured for byte responses the code ASCII 0x81 will be issued from the printer in respon...

Page 104: ...d is currently not available while in text and verbose response sets If the printer is configured for byte responses the code ASCII 0x8A will be issued from the printer in response to an enquiry comma...

Page 105: ...CII 0xC1 will be issued from the printer in response to an enquiry command 6 4 19 TEMPERATURE OUT OF RANGE D0 The TEMPERATURE OUT OF RANGE response indicates that the printer s print head is not withi...

Page 106: ...ed from the printer in response to an enquiry command 6 4 26 INADEQUATE ACCESS MODE D7 This enquiry response is typically issued when the user is attempting to issue a persistent command that is not a...

Page 107: ...D E4 This enquiry response typically indicates that the Top Of Form TOF switch is actuated while in text or verbose response sets If the printer is configured for byte responses the code ASCII 0xE4 is...

Page 108: ...92 LDSII Programming Guide 880015 0123...

Page 109: ...Pin Cable State 426 DE 9 Pin Signals Direction PC DE 9 Pin State 426 DE 9 Pin Signals Directions PC DB 25 Pin XX 1 DCD DCD 1 HI 1 DCD DCD 8 XX 2 TXD RXD 2 XX 2 TXD RXD 3 XX 3 RXD TXD 3 XX 3 RXD TXD 2...

Page 110: ...red for the Ethernet port to function The D326 or V command is useful in reporting the addresses and command values A RJ45 connector for Ethernet port connection B Solid green light indicates that a c...

Page 111: ...08 6C l 13 0D CR Ctrl M 45 2D 77 4D M 109 6D m 14 0E SO Ctrl N 46 2E 78 4E N 110 6E n 15 0F SI Ctrl O 47 2F 79 4F O 111 6F o 16 10 DLE Ctrl P 48 30 0 80 50 P 112 70 p 17 11 DC1 Ctrl Q 49 31 1 81 51 Q...

Page 112: ...96 LDSII Programming Guide 880015 0123...

Page 113: ...ting Equipment The modem or printer end of an RS 232 serial communication link Modem serial ports and other peripherals are typically configured as DCE Die cut media Media that is cut using a die to f...

Page 114: ...o as LTS Label Taken Sensor Platen Roller that is located below the print head which the media rests upon See Drive roller Rolled media Media that has been rolled onto a core which is typically cardbo...

Page 115: ...al that carries data from the DTE to the DCE for 2 way RS 232 serial communication Also known as TX and TD USB Universal Serial Bus A high speed asynchronous serial interface typically transfers up to...

Page 116: ...100 LDSII Programming Guide 880015 0123...

Page 117: ...2 66 Code 39 Symbol 68 Code 93 Symbol 12 68 Communication 10BASE T Ethernet 94 RS 232 Serial 93 Control Codes 3 66 67 73 D Data Matrix Symbol 12 69 70 71 73 74 DN Parameter 15 DPG Parameter 36 E Enabl...

Page 118: ...5 P PDF 417 Symbol 74 75 Printhead 97 98 R Reverse Video 61 62 RS 232 Cable 93 S Saving Files 6 13 20 25 Script Header 3 5 6 16 21 36 37 39 73 Selection Commands 30 31 35 37 Serial 1 42 57 58 59 60 97...

Page 119: ...LDSII Programming Guide 880015 0123 103 User Notes...

Page 120: ......

Page 121: ......

Reviews: