Home
Datamax E4203 User's Manual
Contents
1. lt 02 gt L lt CR gt D11 lt CR gt ySPM lt CR gt 191180003100010P020P015Scalable Kanji Gothic E Available lt CR gt 1B110000020017001234567890 lt CR gt yUJS CR 1X1100001900010b0392011000020002 lt CR gt 112200002800030JIS CHARACTER S IN ALL 4 ROTATION S lt CR gt 112200002600030Rotation 1 lt CR gt 1911uK102650150P012P0124D3F212121214D4F212121214D5F212121214D6F lt CR gt 112200002400030Rotation 2 lt CR gt 2911uK102600150P012P0124D3F CR 2911uK102600205P012P0124D4F lt CR gt 2911uK102600250P012P0124D5F CR 2911uK102600300P012P0124D6F CR 112200002200030Rotation 3 CR 3911uK102330315P012P0124D6F212121214D5F212121214D4F212121214D3F CR 112200002000030Rotation 4 CR 4911uK101950165P012P0124D3F lt CR gt 4911uK101950215P012P0124D4F lt CR gt 4911uK101950265P012P0124D5F lt CR gt 4911uK101950315P012P0124D6F lt CR gt 1X1100001100010b0392007500020002 lt CR gt 112200001650030SCALING JIS CHARACTER S lt CR gt 1911uK101200020P010P020216F lt CR gt 1911uK101200050P020P020216F lt CR gt 1911uK101200080P030P020216F lt CR gt 1911uK101200110P040P020216F lt CR gt 1911uK101200145P040P030216F lt CR gt 1911uK101200190P040P040216F lt CR gt 1911uK101200250P040P050216F lt CR gt 1911uK101200320P040P060216F lt CR gt 112200000050010NORMAL INVERSE lt CR gt 112200000050245 NORMAL MIRROR lt CR gt 1911uK100250010P040P040216F lt CR gt 1911uK100250245P040P0404B
2. Fill Patterns Figure 8 2 11 68 Generating Label Formats Examples Spaces have been added in the record structure for readability 1 Triangle The record 1 11 000 0010 0010 P 001 0001 0040 0025 0010 0040 lt CR gt Produces a triangle with no fill pattern row 0040 column 0025 ENS 7 5 row 0010 column 0010 row 0010 column 0040 2 Rectangle with The record 1 X 11 004 0010 0010 001 0001 0050 0010 0050 0200 0010 0200 lt gt Produces a rectangle filled with pattern 4 25 black row 0010 column 0010 row 0050 column 0200 3 Circle The record 1 11 000 0100 0100 001 0001 0025 lt CR gt Produces circle centered at row 0100 column 0100 with a radius of 0025 and no fill pattern 4 Circle with Fill The record 1 11 009 0100 0100 001 0001 0025 lt gt Produces a circle centered at row 0100 column 0100 with a radius of 0025 and filled with pattern 9 right diagonal lines E Class DPL Programmer s Manual 69 Generating Label Formats 70 E Class DPL Programmer s Manual ASCII Control Chart Char Dec Hex ce fo 00 2 6 0 po o f3 Ja a J9 fa 2 186 9 be Js 16 9 3 D 8 4 4 0 4 69 4
3. 57 57 c D Assign Font Ip Number oH 57 5 57 58 s W Character Download Data tecto c xc cb xe xci e s i ve xcu e M Uf 58 Generating Label 22 5555555255242 25 59 224225 59 Format Record Commands acm px 59 Gen rating ROODICIS 60 The Otructure or 60 Record Structure TVEOS 63 Internal Bit Mapped Fonts 63 Smooth Font and Downloaded Bit Mapped 64 Scalable POMS 64 Bar CodeS 65 Mage LU ME ILL ML D M 66 M e 66 and BOXBS ERE ERI ERR BRUN EIE 66 5115191 67 68 Available Fill Patterns for Polygons and Circles 68 EXAImipligs eae ce aaa AM eer 69 Appendix A ASCII Control rta paso pee pr ee koe peux peer 71 Appendix B Sample 544610 DOM ETE EET E
4. Barcode S E Class DPL Programmer s Manual 111 Appendix Telepen Valid Characters ASCII characters Variable Length Valid bar dimensions The fourth character of the record is the width of the narrow bar in dots All other bars are a ratio of the narrow bar 2 times 3 times and 4 times the narrow bar width The following example prints a Telepen bar code STX L 211 1T0000000150100ABCDEF CR 121100000000100Barcode T lt CR gt REGERE I Barcode UPS MaxiCode Modes 2 amp 3 Valid Characters All ASCII characters Variable Length u The printer supports MaxiCode as defined in the AIM Technical Specification Specified Length U Same as variable length however with a Byte Count Specifier values 0x00 through OxFF can be used within the data string without conflicting with the format record terminators The following examples illustrate various label format record message syntaxes for encoding variable length data and special formatting used to denote special ASCII characters as shown Note Mode 2 U S postal codes of less than nine digits will be padded with zeros Symbol Hexadecimal Value R 8 1 1 For 04 Printer message syntax allows oz to be substituted with CR or the use of both Fo CR MaxiCode fixed field format example ays lt STX gt L D11 lt C
5. 13 Set Quantity For Stored 06 13 Select Edge Sersol 14 COO asas Atta sins A D Ac LATIN A DAD ddl Ao EIE 14 Set Form Stop Position Backfeed Command 14 Print Last ee oe hob tbe 14 Image Downloading n Eee aet andae 15 Scalable Font 00 0 16 Set Pause for Each Label 16 16 Enter Label Formatting Command 17 Set Maximum Label Length 17 Set nire Leo nr 17 Set Imperial Inches Mode 17 Set or Print POSITOD S uiid e en ied xe 18 18 Character Hex Dump Mode 18 Controlled FP als 18 Glear ATl MOGUIGS 19 MOGUIB si ceo ce ea ae ca caca 19 STXr Select Reflective Sensor 19 STXS Set Feed SCC ae ciel ede eh aed al
6. 46 Set Imperial Inch Mode 46 Set Print Speedi 46 Set Backfeed Speed 47 Q Set KE PIQUE T T T 47 Set Row Offset 48 r Recall Stored Label 48 S Set Slew 50000 49 5 store Label Format In Module vex 49 T Set Field Data Line 50 U Mark Previous Field as a String Replacement Field 50 X Terminate Label Formatting Mode without Printing 51 y select Font Symbol 1 2 Zero Conversion to 0 2 52 gt Make Last Field Entered Increment Numeric 52 lt Make Last Field Entered Decrement Numeric Alphanumeric 53 4 aet Goullt Dy AMOUNT 54 Special Label Formatting 54 STXS Recall Global Data And Place In 55 STX T Print Time and 55 Font Loading
7. 1 2 gt 35 4 5 6 7 8 9 oo of of 301 o 50 P 70 p sof of aof Do 5 ro 0 eG RA 1 2 4 5 6 7 8 9 eon 2 9 7 ojojo a E Class DPL Programmer s Manual 99 Appendix 100 E Class DPL Programmer s Manual Appendix Bar Code Summary Data Barcode fonts have alpha names left column below Uppercase alpha names will print barcodes with human readable interpretations if supported Lowercase alpha names will print barcodes only Place the ID in field b of the Format Record header to cause the printer to encode the data field using the associated barcode symbology see Appendix G for details See Table F 2 for default values Bar Code ie Ghe deum Valid ASCII Characters decimal ID value representation B b UPC A 11 Yes 48 57 Numeric only C c 148 57 Numeric only F f EAN 13 12 Yes 48 57 Numeric only ee ee Character for Second 11 Checksum bearer bars p Postmet Varies Yes 48 57 UCC EAN Code 128 18 Yes 48 57 Numeric only Table 1 Bar Code Summary Data E Class DPL Programmer s Manual 101 Appendix Bar Code Default Widths and Heights Bar Code ID 203 DPI Resolution
8. 34 STX Kf aet Present DISlANnCe 36 STX Query Memory Configuration 36 STXKR Reset Memory 37 STX Kr Reset Resettable GoUnlter eder 37 STX KS Memory Configuration Scalable Font 37 Memory Configuration Printable Label 37 Label Formatting 39 39 39 Set FORMAL AMMOUIC 40 Set Column Offset Amount 41 Set AMOUNT ro 41 0 Set Dot Size Width and 42 E Terminate Label Formatting Mode and 42 F FOIEABIDUTOS onte te UA CLARO Laur 43 f Set Present SDBOU rac tracta vo goa uf Ora t 44 G Place Data in Global 44 H Select Heat Sell eh b a eod Rn e aee eem 45 M Select Mirror Mode 45 Set Metric Mode
9. now this is download mode Release the buttons 3 printer is now ready to accept the new firmware data Using the DOS copy command enter to download copy filename dlf 1 1 Note Other programs such as hyper terminal and certain Windows programs may also be used to download this file Once the download begins the Paused and Fault Indicators will turn off The printer will write to Flash memory and the checksum and other data are validated After a successful download is complete the printer will illuminate the Paused Indicator 4 Toggle printer power 5 Print a Configuration Label lt STX gt Z to verify the new firmware version If the download was unsuccessful the Fault Indicator will illuminate In this case try sending the file again If the download continues to fail the following are possible causes E Class DPL Programmer s Manual 153 Appendix invalid or corrupted is being downloaded Make sure file you are attempting to download is correct and applicable for your printer model Possible communications errors are occurring Check the cable connections between host computer and the printer Be sure to use a quality shielded cable The printer could not successfully write to or erase the Flash memory it may be defective Try again and if problem persists call for service Updating instructions for printers with a current firmware version of
10. 3 134 E Class DPL Programmer s Manual Double Byte Symbols Chinese Kanji and Korean Character Map Selection Double byte scalable fonts are mapped through a character map This mapping allows the host application to select a variety of characters to match the application Each of the code pages allows the host application to emulate a character set for their application The double byte symbol set is selected using the lt STX gt yUxx command Double Byte Character Map Character TrueType Font BIG5 Taiwan encoded Extended UNIX Code Government Bureau Industry Standard Chinese PRC Default JIS Japanese Industry Standard Default Shift JIS Unicode including Korean Table I 2 Double Byte Character Map The double byte symbol set is selected using lt STX gt yUxx command The single byte symbol set is selected using the same command lt STX gt ySxx Each affects an independent database selection and has no impact on the other E Class DPL Programmer s Manual 135 136 E Class DPL 5 Manual Appendix Module Identifiers Field Limits Print Resolutions amp Column Values Module Identifer DRAM default size 256 K Bytes ee ae Default A or B Module as assigned by lt STX gt X The availability size of the Internal Flash Module is dependent upon the installed font option expandable w
11. The sample instructs the printer to make a cut after 5 10 and 20 labels have been printed Label 21 will be cut at the start of a subsequent label format batch unless a default cut by amount greater than one has been entered Note The cutter must be enabled and all mechanism interlocks closed for the cut operation E Class DPL Programmer s Manual 39 Label Formatting Commands A Set Format Attribute This command specifies the type of formatting attribute to use when text strings images or bar codes intersect on the label This command remains in effect until another format command is specified or until another label format lt STX gt L has begun Syntax An Where n 15 attribute mode 1 2 3 or 5 see table below The default is 1 XOR Mode Sample lt STX gt L A3 1411000010001 00DATAMAX lt CR gt 141100001100110DATAMAX lt CR gt sample sets printer to Opaque Mode and produces one label n Attribute 1 This is the default mode The region where text 811065 images bar codes intersect will not be printed An odd number of overlapping objects will print 1 4 2 This optional mode allows the intersection of text strings images and bar codes to print This allows the user to print fields on top of one another 3 Opaque Interacting text is obliterated by the text
12. gt 3 c o al oo 94 E Class DPL Programmer s Manual Appendix 852 Latin 2 Symbol Set E Class DPL Programmer s Manual 95 Appendix PC 8 TK Code Page 437T Symbol Set Default Symbol Set R8 Roman 8 Symbol Set 01 2 4 9 e qe ee 08 96 E Class DPL Programmer s Manual SW ISO 11 Swedish Symbol Set 2 c E Class DPL Programmer s Manual 97 Appendix VI Ventura International Symbol Set 59 2 Sh pto gt 40 5 06 07 1 o mof a e v 27 gt a i a p pones lt 8 9 4 98 E Class DPL Programmer s Manual Appendix WE Windows 3 1 Latin 2 Symbol Set 6 7 8
13. Figure 2 Sample Label E Class DPL Programmer s Manual CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR CR Appendix UPC A and EAN 13 Variable Price and Weight Bar Code The EAN UPC standard allows for an additional checksum to be generated in the middle of the bar code based on the data This is used when the price or weight of an item is embedded into the bar code data commonly used in the food industry For the printer to generate this checksum a V must be placed in the data stream in the position the checksum is requested If the V is placed in the 6th position for UPC A or the 7th position for EAN 13 a checksum will be generated using the next five digits in the data stream If the is placed in the 7th position for UPC A or the 8th position for EAN 13 a checksum will be generated using the next four digits in the data stream The checksum is generated per the EAN UPC bar code standard Examples 1B110000200020012345V01199 This record format prints a UPC A bar code with the variable price checksum in the sixth position 1B1100002000200123456V0150 This record format prints a UPC A bar code with the variable price checksum in the seventh position 1F1100002000200123456V01199 This record format prints an EAN 13 bar code with the variable price checksum in the seventh posi
14. lt ON 4 N 95 25 oo oo U Nn i z be any combination of 1 erasures 2 substitutions e g 13 maximum number of errors corrected might include 7 erasures and 3 substitutions Includes 1 module width quiet zone on either side Assumes the module height is 2 module width and includes one module width quiet zones on top and bottom Assumes Binary Compaction Assumes Text Compaction Table G 3 MicroPDF417 Characteristics Index Note Increasing the row column error correction values does not necessarily result in the ability to encode more data Byte Compaction Mode A value of 1 forces Byte Compaction the best compression for binary data The compaction ratio is six 8 bit bytes of data compressed into 5 symbol codewords See the table above for the maximum data allowed for any row column error correction selection index Macro Character Substitution Disable By default Macro Character Substitution is enabled 0 When enabled Byte Compaction has priority over Macro Character Substitution When Macro 128 E Class DPL Programmer s Manual Appendix Character Substitution is enabled datastream header and trailer are compacted when they conform to the following forms 255055 datas o or gt 06
15. 0000000001 8000 00000 0007 0000000001 00000003 000 8030 0001 0001 0000000001 0001 0000000001 8000 00000 0007 0000000001 00000003 0000 8030 0001 0001 0000000001 0001 0000000001 8000 00000 0007 0000000001 00000007 000 8030FFFE0000FFC0001F0000000001 FFEO000FFF0000000001F8000FC000007C0003F0000000001FFF80000007FFFFFF0000 8030FFFEO0000FFCOO001F0000000001FFE0000FFF0000000001FC0007C000007E0003F0000000001FFF80000007FFFFFF0000 8030 0000 0001 0001 001 8030FFFE0000FFE0000F8001FFCOOLIFFF0000FFF8000FFCOO1FCO007C000003E0003F8000FFEO01FFFE000000FFFFFFF0000 8030FFFF0000FFE0000F8000FFCO001 FFF0000FFF8000FFCO0O01FC0007C000003E0003F8000FFEO01FFFE000000FFFFFFF0000 8030FFFF0000FFE0000F8000FFCOOLFFF00007FFCOOOFFCOOL1FCOO007C000001F0001FCOOOFFEOOLIFFFF000000FFFFFFF0000 8030FFFF00007FE0000FCOOOFFCOO01 FFF00007FFC0007FCOO1FE0007C002001F0001FC0007FEO001FFFF000000FFFFFFF0000 8030FFFF00007FF0000FCO007FCOOLFFF00007FFE0007FCOO1FE0003C002001F0001FE0007FEO001FFFF800000FFFFFFF0000 8030FFFF00007FF0000FE0007FCO001 FFF80007FFE0007FCOO1FE0003C003000F0001FE0007FEO001FFFFCOOO001FFFFFFF0000 8030FFFF80007FF00007E0007FCOO1F
16. E Class DPL Programmer s Manual 139 Eass DPL Programmer s Manual Appendix Commands by Function Commands by Function Function Assign Font ID Number Backfeed Time Delay Character Download Data Character Code Character Encoding Character Hex Dump Mode Clear All Modules Clear Module Controlled Pause Cycle Cutter Database Configuration Delete File from Module Enable Feedback Characters Enter Label Formatting Command Mode Font Descriptor Form Feed Get Configuration Get Printer Time and Date Information Image Data Downloading Label Format String Replacement Field Make Last Field Entered Decrement Numeric Alphanumeric Make Last Field Entered Increment Numeric Alphanumeric Mark Previous Field as a String Replacement Field Memory Query Memory Reset Memory Configuration Offset Distance Top of Form Distance Output Sensor Values Pack Module Place Data in Global Register Print Configuration and Dot Pattern Labels Print Last Label Format Print Time and Date Printhead Dot Pattern Test Label Recall Global Data and Place in Field Recall Stored Label Format Request Firmware Version Request Memory Module Information Reset Reset Resettable Counter Scalable Font Downloading Select Edge Sensor Select Font Symbol Set Select Heat Setting Command s lt ESC gt cnnnD lt STX gt Kbnnn lt ESC gt snnnWdata lt ESC gt cnnnE lt STX gt KEex lt STX gt P lt STX gt Q lt STX g
17. 1 1 Lento ced AI LM MA A t 1 cS 2 Computer Entry and Display 2 3 5 ade tae anak dt vee ade es eee 5 mS 5 7 7 AE EE 7 Send ASCII Status String stearate coe eee en a ails 7 P allSB 8 Ms 8 SOR SDBIdOWI 8 Send Batch Quantity 9 Send Status 9 Update System Database with Current 9 RI 11 eee 11 Set Time and Dale sation so oU esa eo ae tees 11 STXA STXa STX B STXc STXd STXE STXe STXF STXf STXG STXI STXi STX J STX k STXL STX M STX m STX n STX O STX o STX P STX p STXQ STX q Enable Feedback Characters 12 Get Printer Time and Date 12 Set Continuous Paper Length 13 Set Double Buffer Mode
18. E cLass Programmer s Manual Corporate Headquarters 4501 Parkway Commerce Blvd Orlando Fl 32808 Phone 407 578 8007 Fax 407 578 8377 Asia Pacific Datamax International 19 Loyang Way Herbert House 01 01 CILC Building 12 Elizabeth Way Pinnacles Singapore 508724 Harlow Essex CM19 5FE UK Phone 65 542 2611 Phone 44 1279 772200 Fax 65 542 3611 Fax 44 1279 424448 CG Times based upon Times New Roman under license from the Monotype Corporation CG Triumvirate is a trademark of the AGFA Corporation Macintosh is a trademark of the Apple Corporation PCL 4 and HP Laser Jetll are trademarks of the Hewlett Packard Corporation Windows is a trademark of the Microsoft Corporation Information in this manual is subject to change without notice and does not represent a commitment on the part of Datamax Corporation No part of this manual may be reproduced or transmitted in any form or by any means for any purpose other than the purchaser s personal use without the expressed written permission of Datamax Corporation 2001 by Datamax Corporation Part Number 88 2265 01 Revision D Table of Contents Who Should Use This Manual Scope of This Manual General Conventions Getting to Know the Printer Control Codes Introduction Attention Getters Immediate Introduction SOH SOH A SOH B SOH C SOH D SOH SOH F SOH U System Level Commands Introduction dini mr
19. Sample 2 The specified length example includes a byte count field for all bytes that follow until the end of the barcode data The byte count is 17 The symbology encodes AZTEC CR barcode and prints the bar code Notice that a CR does not terminate the barcode format record A line of text is also printed lt STX gt L D11 lt CR gt 1W1F000000015010000170000AZTEC lt 0x0D gt barcode 121100000000100Barcode W1F lt CR gt Barcode W1F Functions Not Supported Structured Append Reader Initialization Symbol Generation Module shaving E Class DPL Programmer s Manual 125 Appendix WIT Linked Barcode 3 of 9 TLC39 TLC39 is a telecommunications barcode which encodes a six digit sequence in a standard 3 of 9 barcode code 39 followed by a link flag character in code 3 of 9 and a 25 character alphanumeric serial number encoded in MicroPDF417 Syntax W1 tc 4 hhhhhh 1 1 note spaces shown for clarity Where Field Valid Inputs Meaning a 1 2 3 and 4 Rotation WI Fixed value extended barcode set t Selects TLC39 barcode c 0 to 9 and A to 0 Wide bar of Code 39 ratio of wide to narrow must be between 2 1 and 3 1 d Narrow bar of Code 39 eee Height of Code 39 ffff Label position row gggg Label position column hhhhhh Six digit ECI number Fixed Parses data 1 1 S N Data Up to 25 alphanumeric serial number NO
20. calibration The process through which Media Sensor readings are entered into the printer for correct sensor function for example detection of a given media type and top of form positioning character set The entire complement of alphanumeric symbols contained in a given font checksum An alphanumeric error detection method used in many bar code symbologies for informational security continuous media An uninterrupted roll or box of label or tag stock media that contains no gap slit notch or black mark to separate individual labels or tags cutter A mechanical device with a rotary or guillotine type blade used to cut labels or tags following printing defaults The functional setting values returned following a factory reset of the printer diagnostics Programs used to locate and diagnose hardware problems die cut media Media that has been cut into a pattern using a press where the excess paper is removed leaving individual labels with gaps between them attached to a backing material direct thermal The printing method that uses a heat sensitive media and only the heat of the thermal printhead to create an image on the label direct thermal media Media coated with special chemicals that react and darken with the application of heat DPI dots per inch A measurement of print resolution rated in the number of thermal elements contained in one inch of the printhead Also referred to as resolution E Class DPL Programm
21. 139 speeds backfeed reverse 47 139 142 161 feed 19 49 142 160 166 E Class DPL Programmer s Manual present 44 142 print 46 139 142 160 slew 44 49 139 142 start of print position 18 32 33 36 47 141 142 stop location position 4 29 30 32 44 142 store label 49 142 symbol sets 26 51 83 84 91 99 132 135 141 142 system level command 5 7 11 27 60 T tag stock 19 159 160 161 termination commands 42 57 text presentation 43 thermal transfer 31 34 155 161 throughput 13 20 27 28 50 top of form 18 19 25 26 29 31 33 159 161 triangles 67 69 TrueType fonts 16 43 64 133 135 155 Visual Basic application 75 77 79 version string 22 vertical adjustment Also see Row Position 48 W width multiplier 42 61 62 64 word length 32 34
22. 3 digit even number or 000 of columns requested 000 causes 24 26 32 36 40 44 48 columns to be automatically determined If the rows and columns do 52 64 72 80 88 96 not match the symbol will be sized to a square using the greater of the 104 120 132 144 two values 8 bit data followed bya Data to be encoded termination character Sample 1 The variable length example encodes DATAMAX using a module multiplier of 4 with an error correction level of 80 automatic encodation and determination of rows and columns and then a prints the bar code A line of text is also printed E Class DPL Programmer s Manual 117 Appendix lt 5 gt 1 D11 lt CR gt 1W1c44000010001000800000000DATAMAX lt CR gt 121100000000100Barcode lt gt B Barcode W1c Sample 2 The specified length example includes a byte count field for all bytes that follow until the end of the barcode data The byte count is 29 The symbology encodes Datamax lt CR gt prints best and prints the bar code Notice that a CR does terminate the barcode format record A line of text is also printed lt STX gt L D11 lt CR gt 1W1C440000100010000290800000000Datamax lt 0x0D gt prints best 121100000000100Barcode W1C lt CR gt P Barcode W1C 14 1 QR Code Valid Characters Numeric Data Alphanumeric Data 8 bit byte data and Kanji characters
23. LIP 73 Appendix C Available Font Sizes Referencing and 83 vi Error 019 A LT 89 Appendix single Byte SymboLS6ls 91 Appendix F Bar Code Summary Data 101 Bar Code Default Widths and ERR RE EH tS 102 Appendix G BarCode Detal tall ve ton ae eee UR I eee 103 Appendix H Font Mapping Single Byte and Double Byte Characters 131 Appendix I Symbol Sets and Character 133 syitmbol Set BOl OS CUOM t eb a rion c o RR D bu Cpu d ea Ga en ends 133 Double Byte Symbols Chinese Kanji and Korean 135 Appendix J Module Identifiers Field Limits Print Resolutions amp Column Values 137 Appendix K Speed Ranges and Defaults isc sedo e e ee 139 Appendix L Commands tcm 141 vii Image Loading ENTRATE Tot 143 EAN 13 Variable Price Weight Bar Code 145 International Language Print Capability ILPC Programming Examples 147 Appendix P Downloading EIFTIWaE n iio Mt o we 153 Appendix Q E CLA
24. s Commands sent to the printer after the Terminate Label command must be of the Immediate System Level or Font Download type Syntax E Sample lt STX gt L lt CR gt 121100000000000Testing lt CR gt E lt CR gt The sample label format will print one label 42 E Class DPL Programmer s Manual Extended System Commands F Font Attributes This command extends the text presentation capabilities bold and or italic of scalable fonts The selected font attribute remains in effect modifying the font attributes of subsequent DPL text records within the label format until the command is turned off or until the label format is terminated with the s or X command All label formats begin by default with both font attributes disabled Note These commands are only valid for scalable fonts such as downloaded TrueType scalable fonts or optional Internal Font 9 S00 and S01 with appropriate optional font sets Syntax Fax Where a 15 font attribute B Bold I Italic Is minus disable plus enable Sample lt STX gt L 211 1911SA001000080P015P015ABCDEF 1911SA001500080P015P015ABCDEF EBS 1911SA002000080P015P015ABCDEF 1911SA002500080P018P018E CLASS The sample illustrated above will print one label shown right Note that to print the sample a scalable font with ID AO was downloaded to the
25. 00 Maximum sizes are approximate and data dependant and may be less than indicated Table G 2 Aztec Characteristics Index E Class DPL Programmer s Manual 123 Appendix Error Correction Size 001 to 099 This value specifies the percent of symbol code words to be used for error correction Actual error correction word percentage will vary depending on data The default value approximately 23 is recommended Any other value may be selected to meet the user s needs Some minimum security codewords may be generated depending on the data sent for encoding particularly when the volume of that data is small It the data capacity is exceeded no symbol is printed Size 101 to 104 Values 101 through 104 result in 1 through 4 layers two modules thick respectively around the center finder pattern Data volume constraints apply as indicated in the table above Symbols will be of the compact form All available codewords will be used for error correction It the data capacity is exceeded no symbol is printed Size 201 to 232 Values 201 through 232 result in 1 through 32 layers two modules thick respectively around the center finder pattern Data volume constraints apply as indicated in the table above Symbols will be of the full size form All available codewords will be used for error correction It the data capacity is exceeded no symbol is printed Size 300 Value 300 informs the printer that the data which follows will
26. 1911UC001200190P040P040 lt BA gt lt D0 gt lt 00 gt lt 00 gt lt CR gt 1911UC001200250P040P050 lt BA gt lt D0 gt lt 00 gt lt 00 gt lt CR gt 1911UC001200320P040P060 lt BA gt lt D0 gt lt 00 gt lt 00 gt lt CR gt 112200000050010NORMAL INVERSE CR 112200000050245 NORMAL MIRROR lt CR gt 1911UC000250010P040P040 lt BD gt lt E0 gt lt 00 gt lt 00 gt lt CR gt 1911UC000250245P040P040 lt BD gt lt E1 gt lt 00 gt lt 00 gt lt CR gt A5 lt CR gt 1911UC000250090P040P040 lt BD gt lt E0 gt lt 00 gt lt 00 gt lt CR gt Al CR CR 1911UC000250390P040P040 lt BD gt lt E1 gt lt 00 gt lt 00 gt lt CR gt lt CR gt E lt CR gt The notation lt xx gt in this DPL file should be interpreted by the reader as representing the hexadecimal value of the byte sent to the printer Scalable Chinese Available in GB Character Set GB CHARACTER S IN ALL 4 ROTATION S Rotation 1 Rotation yh Rotation z Rotation 4 om em lla a NORMAL INVERSE NORMAL MIRROR 152 E Class DPL Programmer s Manual Appendix Downloading Firmware The printer stores its Boot Loader Operating Program and Font in Flash memory on the main PCB This configuration allows updates bug fixes and or new features to this firmware Depending upon the printer s firmware revision level one of the following procedures can be used to update the firmware Note Printers with older versions of the Boot Loader mus
27. This command instructs the printer to enter the Character Hex Dump Mode also known as ASCII dump or monitor mode Data sent to the printer following this command will be printed in raw ASCII format Labels must be at least four inches 102 mm long and as wide as the maximum print width This command has the same effect as turning the printer On while pressing the FEED Button however no Configuration Test Pattern label is printed To return to normal operation the printer must be manually reset Syntax lt STX gt P STX p Controlled Pause This command will cause the printer to pause only after all previously received commands are executed This controlled pause is often useful between batches of labels This command will not clear the pause condition see lt SOH gt B Syntax lt STX gt p E Class DPL Programmer s Manual System Level Commands STX Q Clear All Modules This command instructs the printer to clear all Flash and DRAM modules see the Operator s Manual of the corresponding printer for applicable memory options All stored data will be destroyed Syntax lt STX gt Q STX Clear Module This command clears the selected Flash or DRAM module If a module is corrupted during normal operations identifiable when the printer responds with a No Modules Available message to a lt STX gt W command it must be cleared All stored data in the selected module will be destroyed Syntax lt STX gt qa Wh
28. amp Open End Begin VB Menu exit Caption amp Exit Shortcut 29 Attribute VB Name Formi Attribute VB GlobalNameSpace Fals Attribute VB Creatable Fals Attribute VB PredeclaredId Tru Attribute VB Exposed False Option Explicit NKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK Definitions Win32 Then Private DOC INFO 1 pDocName As String pOutputFile As String pDatatype As String nd Type End WIN32 Types NKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK Function Declarations Win32 Then Private Declare Function OpenPrinter Lib winspool drv Alias OpenPrinterA ByVal pPrinterName As String phPrinter As Long ByVal pDefault As Long Third param changed to long Private Declare Function StartDocPrinter amp Lib winspool drv Alias StartDocPrinterA ByVal hPrinter As Long ByVal Level As Long pDocInfo As DOC_INFO_1 Private Declare Function StartPagePrinter amp Lib winspool drv ByVal hPrinter As Long Private Declare Function WritePrinter amp Lib winspool drv ByVal hPrinter As Long pBuf As Any ByVal cdBuf As Long pcWritten As Long Private Declare Function EndDocPrinter amp Lib winspool drv ByVal hPrinter As Long Private Declare Function EndPagePrinter amp Lib winspool drv ByVal hPrinter As Long Private Declare Function ClosePrinter amp Lib winspoo
29. 001 to 999 Symbol Height 0000 to 9999 see Appendix J Column 33 43 Valid ASCII character string up to 255 characters followed by a Data termination character Table 8 10 Bar Code Record Structure E Class DPL Programmer s Manual 65 Generating Label Formats Placing a 0 zero in both and d will cause the printer to use the default bar code ratio or module size Placing a 000 zero in the symbol height field causes the printer to use the default bar code height 5 Images An image record is used to print an image that is stored in a memory module Images can be printed only in rotation 1 see Input Image Data lt STX gt 3 1 Fixed Vale lt 444 00 Fixed Valve ASCII string up to 16 characters followed by a termination Image Name character Table 8 11 Image Fields 6 Graphics Using graphics the printer can produce lines boxes polygons and circles This function is selected by entering an X in field b The values entered in the data field determine the sizes and shapes of the objects to be drawn Forms can be created using shaded boxes complex logos or even a simple diagonal line without the need to download a graphics file to the printer The following sub sections describe how to generate each kind of graphic Lines and Boxes Lines and boxes are drawn by values that determine column and row starting position length width
30. 3456789 012345678 9 D11 1Q00000001501000123456789012345678 lt CR gt 121100000000100Barcode Q lt CR gt Barcode Q 110 E Class DPL Programmer s Manual Appendix UCC EAN Code128 NON EDI bar code Valid Characters 0 9 Length Eighteen digits Valid bar dimensions The fourth character of record is the width of the narrow bar in dots All other bars are a ratio of the narrow bar 2 times 3 times and 4 times the narrow bar width Human readable characters for this bar code symbology are printed above the bar code symbol This bar code is set up according to K MART specifications The following example prints a KMART bar code lt STXL 34 567890 123 4567 D11 1R0000000150100012345678901234567 CR 121100000000100Barcode R CR Barcode R 5 UCC EAN Code 128 Random Weight Valid Characters 0 9 Length At least thirty four digits Valid bar dimensions The fourth character of record is the width of the narrow bar in dots All other bars are a ratio of the narrow bar 2 times 3 times and 4 times the narrow bar width This bar code is commonly used by the food and grocery industry The following example prints a UCC EAN Code 128 Random Weight bar code lt STX gt L D11 lt CR gt 15000000015005001100736750292601193042032020018002110123456 121100000000100 S lt CR gt 01 100736 5023260 11 930420 3202 001800 21 10123456
31. 4 05 and above 1 Identify the desired firmware revision from the Datamax FTP site at ftp ftp datamaxcorp com and download the desired version on to your computer s hard drive or a floppy disk 2 With the printer s power turned on the printer is now ready to accept the new firmware data Using the DOS copy command enter filename dlf lpt1 b Note Other programs such as hyper terminal and certain Windows Driver programs may also be used to download this file The Paused Indicator blinks during the download After a successful download the printer will illuminate the Paused Indicator steady The printer will write to Flash memory after all data is received and the checksum and other data are validated Then a cold reset will occur When connected through the serial port the printer will also transmit an when complete Print Configuration Label lt STX gt Z to verify the new firmware version Conversely if the download was unsuccessful the Fault Indicator will illuminate and the printer will warm reset When connected through the serial port the printer will also transmit a when complete The previous firmware programming will not be affected unless substantial firmware data structure changes have occurred If the printer fails to warm reset it may be necessary to toggle power off and on or simultaneously press and release PAUSE and CANCEL Buttons N
32. ASCII text file will also generate the label shown in Figure B 1 BL H07 Dil 19110080100002510K OHM 1 4 WATT lt CR gt 1a6210000000050590PCS lt CR gt E lt CR gt 74 E Class DPL Programmer s Manual VB Application Generating DPL The following sample is a Visual Basic program that displays a database record on the screen A user can scroll through the records and then print a selected one Five barcodes are printed along with data fields and headings Printer DPL Controls Dim CharSet As String 5 byte Const StartLabel L Const EndLabel Const PrintDensity D11 Printer DPL Data to position dynamic information on label Const OrderTxt 191100704150010 font 9 24 pt Const OrderBC 1a6205004200120 Const CustomerTxt 191100603600010 Const Item1NO 191100403250010 Const Iteml1BC 1 6204002870010 Const Iteml1Txt 191100402690010 Const ItemlQty 191100603070260 DPL Fixed Items on label Const Itml 191100303400010Item 4 Const Qtyl 191100303400250Quantity Const Boxsize B065035002002 Const BoxPosl 1X1100003050240 Const Imagel 1Y3300004750010SLANT1 Dim Fixed As String Item Variables Dim Iteml As String Dim PrintLabel As String Dim OrderData As String Print label by clicking print button with the mouse Private Sub cmdPrint Click Concatenate all the dynamic dat
33. L lt CR gt 161100000100010AB0001CD CR 100 lt CR gt Q0003 lt CR gt E lt CR gt The sample will print three labels incrementing 0001 by 1 on each label with AB and CD remaining untouched ABO001CD AB0002CD AB0003CD Note that the increment value has one leading blank and two trailing zeros the blank is a pad character with no consequences in this example and the trailing zeroes are placeholders which leave CD unchanged lt Make Last Field Entered Decrement Numeric Alphanumeric This command useful in printing sequenced labels causes the printer to automatically decrement a field on the labels in a batch The numeric data in the field will decrement by the value assigned after the minus sign each time a label is produced or the less than character lt can be substituted to make the field decrement alphabetically This command is effective only on the label format record that it follows and is intended to be used with the Q lt STX gt E or lt STX gt G commands Syntax pii Where 15 for numeric decrement or lt for alphanumeric decrement p Is the fill character for the leftmost character of the field ii 15 amount by which to decrement the field Sample lt STX gt L lt CR gt 132200000000000123AB lt CR gt 01 CR Q0003 CR E lt CR gt The sample will generate a single field label format that prints the initial label with a value of 123AB and then decrements that num
34. Level Commands STX i Scalable Font Downloading The command structure for downloading both IntelliFont CDI and TrueType TTF scalable fonts font files may be single byte or double byte character systems is as follows Syntax lt STX gt imtnnName lt CR gt xx xdata Where m Memory Module Designator to save this font to see Appendix J Type of scalable font being downloaded IntelliFont T TrueType nn Two digit font reference ID Valid range is 50 99 9 97 9 97 base 62 numbers Name The title up to 16 characters for this font CR 0 0 terminates the Name Eight digit size of the font data number of bytes hexadecimal padded with leading zeros data Thescalable font data Sample lt STX gt iET52Tree Frog lt CR gt 000087C2data This sample downloads a TrueType font to module A assigns it the font ID of 52 and the name Tree Frog The size of the font data 15 0 87 2 bytes STX J Set Pause for Each Label This command causes the printer to pause after printing each label and is intended for use with the peel mechanism or tear bar when the Present Sensor option is not installed After removing the label the PAUSE Button must be pushed in order to print the next label The printer must be reset to clear the lt STX gt J command Syntax lt STX gt J STX k Test RS 232 Port This command instructs the printer to transmit the character Y from the pr
35. Manual Appendix VB Application interfacing via Windows Driver Create a form similar to the one shown here w Datamax Test Print Font List VERSION 5 00 Begin VB Form Forml Caption Datamax Test Print ClientHeight 1065 ClientLeft 60 ClientTop 345 ClientWidth 2325 LinkTopic Formi MaxButton 0 15 MinButton 0 False ScaleHeight 1065 ScaleWidth 2325 StartUpPosition 3 Windows Default Begin VB ComboBox cmboFonts Height 315 Left 90 2 Text Font List Top 45 Width 2130 End Begin VB CommandButton cmdExit Caption Quit Height 465 Left 1350 TabIndex 1 Top 495 Width 825 End Begin VB CommandButton cmdPrint Caption Print Height 465 Left 90 TabIndex 0 495 Width 870 End End Attribute VB Name Formi Attribute VB GlobalNameSpac lt Fals lt Fals Attribute VB Creatabl Attribute VB PredeclaredId Tru Attribute VB Exposed False Print label by clicking print button with the mouse Private Sub cmdPrint Click font name as seen in appl if not found driver will lication font list box inform GDI to generate an image that will be downloaded Printer FontName cmboFonts Text E Class DPL Programmer s Manual 77 1 440 twips equals one inch Printer
36. The Kanji Option is a double byte scalable font supporting Kanji Gothic B and Gothic E In the double byte format the printer recalls one character printed from every two 8 bit bytes sent from the host Double byte scalable fonts are selected using a print format record see Generating Label Formats and Appendix H for details Scalable Double Byte Font Map KANJI Font Code Font Type Addressing Addressing Pages SJIS UC 515 UC Scalable Resident HG Gothic E Kanji Scalable a EUC JIS SJIS EUC JIS SJIS Scalable Resident HG Gothic E Kanji Scalable proce u50 u5z Scalable Non Resident User defined 4 u90 u9z download 1750 057 Scalable Non Resident User defined 4 U90 U9z download Note Not all fonts contain an entire compliment of character codes for a given character map 148 E Class DPL Programmer s Manual Appendix Sample Kanji Gothic DPL file binary addressing and resulting label lt 02 gt L lt CR gt D11 lt CR gt ySPM lt CR gt 1911S0003100010P020P015Scalable Kanji Gothic B Available lt CR gt 1B110000020017001234567890 lt CR gt yUJS CR 1 110000190001050392011000020002 lt gt 112200002800030715 CHARACTER S ALL 4 ROTATION S lt CR gt 112200002600030Rotation 1 lt CR gt 1911U4002650150P01
37. To specify the size in dots all four characters must be numeric This field must be specified for scalable fonts See note below Note To ensure that the data stream is portable to different Datamax printers specify the font size in points If the font is specified in dots it will output differently on printers with different DPI MMPI resolutions There are 72 307 points per 1 inch 2 847 mm jj j Data Field The final field contains the data that will actually be printed on the label A string of data can be up to 255 characters in length except when using the PDF 417 barcode which may be up to 3000 characters long ending with a carriage return Characters placed in the data field will be printed as long as they fall within the physical range of the printhead See Appendix J for a listing by printer Record Structure Types Each of the six record types has its own field structure as described in the following tables These record types allow quick reference to the field types and their valid data inputs for the field There are similar but unique record structures for each internal bit mapped fonts internal smooth fonts downloaded bit mapped fonts scalable fonts bar codes images and graphics The field location identifiers in the tables that follow are the same as those in Table 8 3 1 Internal Bit Mapped Fonts This record type is used for internal bitmapped fonts see Tables C 1 C 2 and C 3 When a 0 through 8
38. Valid ASCII character string up to 255 characters Data followed by a termination character Where x is an upper case letter see Appendices H and K Table 8 7 Smooth Font Record Structure 3 Scalable Fonts The Smooth Scalable Font Technology has been licensed from AGFA Both IntelliFont CDI and TrueType TTF Scalable Font file formats are supported The eee field identifies the scalable font and data type normal binary or hex ASCII Uppercase S or U binary lowercase u Hex ASCII See Appendix I for additional information Values 500 to 592 000 to U9z u00 to 097 select scalable font either internal or downloaded S01 is used for the standard internal resident font Valid Inputs 1 2 44 Pp 5 9 fPixed Value 1 to9 and A to O Width Multiplier EI GE 1 to 9 and A toO Height Multiplier eee 500 to Szz U00 Uzz u00 uzz Font Data Type 64 E Class DPL Programmer s Manual Generating Label Formats Valid Inputs 0000 to 9999 0000 to 9999 see Appendix J 22 2 Valid ASCII character string up to 255 characters Data Character size specifications are printhead resolution dependent as shown in following table Table 8 8 Scalable Font Record Structure Printhead Resolution DPD Table 8 9 Scalable Character Size Ranges Note A scalable font cache must be allocated to print Minimum cache s
39. a directory listing for memory module s Although a module can store font image and format data together it can display only one type of information at a time If the module contains all three types of data it will be necessary to check the directory three times using each of the control parameters F G and L to determine the contents When no user accessible modules are present there is no printer response to lt STX gt WF WG or WL Syntax lt STX gt Wa Where a Data type F Downloaded Font G Graphic Image L Label f All fonts respective of the resident fonts available and any fonts that have been downloaded Sample lt STX gt WE Printer response MODULE A lt CR gt Module ID A fonts following reside in this module 103 CG Triumv lt CR gt Downloaded font ID and name MODULE F lt CR gt Module ID F no user access fonts following reside in this module 000 CR 001 CR 002 CR 003 CR 004 CR 005 CR 006 CR 007 CR 008 CR 012 CR 013 CR 014 CR 015 CR 016 CR 017 CR 018 CR 019 CR 020 CR E Class DPL Programmer s Manual 23 System Level Commands STX w Test Flash Memory Module This command tests the Flash memory module The time for each test will vary from 20 to 120 seconds depending upon the size of the module When testing the optional module jumpers must be installed All stored data will be d
40. a drawing object line box circle or polygon and field value Y is used to print an image stored in a module uum OG eee lt 5 Barcode Font Expansion Line Box Polygon Circle Table 8 4 Font Field Interpretations Width Multiplier Values 1 9 and A O represent multiplication factors base 25 numbers For human readable fonts the width multiplier represents the number of times the selected font dot tables are multiplied and has no effect on the character height For barcodes this character specifies the wide bar width or ratio Values 1 through 9 and A through O will give a wide bar width of from 0 0033 0 085mm to 0 792 2 011mm at a resolution dependent upon the printer model See Appendix J Height Multiplier The height multiplier has the same range and function as the width multiplier but vertical When used in the context of barcodes this field is the ratio denominator or the small bar module width Values 1 through 9 and A through O will give a narrow bar width of one dot dot size 1 printhead resolution to 24 dots The narrow bar width resolution and range are dependent upon the printhead resolution see table below A dot multiplier command can also be used to change the printed dot size see Label Formatting Command D and Appendix J eee Bar Code Height Font Size Selection This field has interpretations dependent upon the value of the font b field as shown below b Font Fiel
41. and eee field Unn where nn is equal to the Font ID number selected for the Big 5 encoded font file downloaded 3 Selecting string data corresponding to the Big 5 Character Map Scalable Double Byte Font Map CHINESE eee Scalable Font Binary Hex ASCII Code Font Code Font Type Name Addressing Addressing Pages Scalable Resident Simplified GB Chinese 2251 Scalable Resident Simplified GB Chinese 1 050 052 Scalable Non Resident Download Big 5 y B5 U90 092 N Pee EE ue s Ee Se u90 u9z i U90 097 eee _ 190 092 Sample Simplified GB Chinese DPL binary addressing and resulting label lt 02 gt L lt CR gt D11 lt CR gt ySPM lt CR gt 191150003100010 20 155 1 1 Chinese Available in GB Character Set lt CR gt 1B110000020017001234567890 lt CR gt yUGB lt CR gt 1X1100001900010b0392011000020002 lt CR gt 112200002800030 CHARACTER S IN ALL 4 ROTATION S lt CR gt 112200002600030Rotation 1 lt CR gt 19110 002650150 012 012 lt gt lt gt 1 gt lt 1 gt lt 1 gt lt 1 gt lt gt lt 1 gt lt 1 gt lt 1 gt lt 1 gt lt 1 gt lt gt lt 2 gt lt 1 gt lt 1 gt lt A1 gt lt A1 gt lt BD gt lt D3 gt lt 00 gt lt 00 gt lt CR gt 112200002400030Rotation 2 lt CR gt 2911UC002600150P012P012 lt BD gt lt D0 gt lt 00 gt lt 00 gt lt CR gt 2911UC00260020
42. and contain valid data To easily keep track of fields place all of the fields to be updated with the command at the beginning of the label format A maximum of 99 format fields can be updated Fields are numbered consecutively 01 to 99 in the order received A variant of the lt STX gt U command includes the truncate option T where dynamic data that is shorter that the originally defined field length will not be padded and the original maximum field length is maintained for subsequent replacements If this option is not used when dynamic data is shorter than the length of the originally defined data field the field will be padded with blanks or zero when the Format Record header specifies a numeric barcode Syntax lt STX gt U T nnss s lt CR gt Where nn 15 format field number 2 digits Truncate option 55 5 5 the new string data followed by a CR Sample lt STX gt L 61100001000100data field 1 lt CR gt 161100001100110data field 2 lt CR gt 161100001200120data field 3 lt CR gt 00001 P lt STX gt U01New data F1 lt CR gt lt STX gt U02New data F2 lt CR gt lt 5 gt 0002 lt STX gt G The sample produces three labels The first is formatted with the commands between lt STX gt L and E The next two labels print with the replacement data contained in the lt STX gt U commands see lt STX gt E and STX G E Class DPL Programmer s Manual 21
43. and wall thickness of the line or box see Appendix J All measurements are interpreted as inches 100 or millimeters 10 depending on the printer s mode see lt STX gt m The data field jj j is used to describe the line or box dimensions P Fixed value ob X c Fixed 0000 to 9999 Row gggg 0000 to 9999 see Appendix J Column Lhhhvvv Line Drawing Ihhhhvvvv Line Drawing Bhhhvvvtttsss Box Drawing Bhhhhvvvvttttssss Box Drawing Table 8 12 Line and Box Parameters 66 E Class DPL Programmer s Manual Generating Label Formats LINES Lhhhvvv Where L and specifies line drawing hhh horizontal width of line vvv vertical height of line LINES lhhhhvvvv Where 1 and specifies line drawing hhhh horizontal width of line vvvv vertical height of line BOXES Bhhhvvvbbbsss Where B and specifies box drawing hhh horizontal width of box vvv vertical height of box bbb thickness of bottom and top sss thickness of sides BOXES bhhhhvvvvbbbbssss Where b b specifies box drawing hhhh horizontal width of box vvvv vertical height of box bbbb thickness of bottom and top box edges 5555 thickness of sides of box Note Lines are sometimes better understood as filled in boxes while boxes are hollow Polygons Polygons are created by defining the positions of the cor
44. code lt STX gt L D11 1G00000001501000123456 CR 121100000000100Barcode G CR B 812314565 106 E Class DPL Programmer s Manual Appendix H Health Industry Bar Code Code 39 bar code with a modulo 43 checksum Valid Characters 0 9 Z Variable Length Valid bar dimensions The expected ratio of wide to narrow bars can range from 2 1 to 3 1 The host must supply the leading plus character The following example prints a HIBC bar code with a wide to narrow bar ratio of 3 1 lt STX gt L D11 1H0000000150050 0123456789 CR 0 12345678980 121100000000100Barcode H lt CR gt Barcode H I Codabar Valid Characters 0 9 A D Variable Length requiring at least three characters Valid bar dimensions The expected ratio of wide to narrow bars can range from 2 1 to 3 1 Valid symbols require start and stop characters A D These characters should be placed in the data field along with the data to be included in the symbol The following example prints a Codabar bar code with a wide to narrow bar ratio of 3 1 12345878920 lt STX gt L 11 163040001501000A1234567890D CR 121100000000100Barcode I lt CR gt I J Interleav
45. does not appear the current amount of memory assigned to the smooth scalable font processor will remain unchanged The allocation must be at least 15 60KB to print scalable fonts and at least 30 for double byte fonts The number that follows the S is a decimal number up to four digits that specifies the size in 4 KB blocks to assign to the smooth scalable font processor Any value less than the minimum requirement results in the amount assigned to be zero 0 thereby disabling the printing of smooth scalable fonts The recommended value is 0025 100KB W Represents the start of a sequence up to five characters that sets the printable label width Setting a width smaller than the natural maximum width of the printer effectively extends printable label length This field is optional if it does not appear the current printable label width is left unchanged The number that follows the W is a decimal number up to four digits that specifies the printable label width in either 100 of an inch or millimeters depending on the current units setting of the printer imperial or metric If the value specified exceeds the printable width of the printer the printable label width is set to the maximum If the value specified is less than the minimum value allowed 200 then the printable label width is set to the minimum allowed value Note Label printing requirements may be computed as bytes label print length width allocation printhead r
46. form of media that is wound upon a cardboard core start of print The position on the label where the printing actually begins tag stock A heavy paper or synthetic printing material typically featuring a notch or black mark for top of form and no adhesive backing thermal transfer The printing method that creates an image by transferring ink from a ribbon onto the media using the heat from the thermal printhead TOF top of form The start of a new label as indicated by a label gap notch mark or programming E Class DPL Programmer s Manual 161 162 E Class DPL Programmer s Manual Index A alphanumeric 52 53 alternate line terminator 5 35 50 142 ASCII characters 2 34 37 61 64 65 116 118 HEX ASCII addressing 148 150 151 text file 74 attention getter 5 B backfeed 4 27 28 141 142 speed 47 139 142 backing material 159 bar code 65 155 159 Aztec 101 102 122 124 Codabar 01 102 107 Code 128 701 102 104 105 110 111 124 Code 3 of 9 101 103 Code 93 101 102 109 DataMatrix 101 102 116 117 defaults 102 EAN 13 101 102 106 145 8 101 102 106 FIM 101 102 114 Health Industry Bar Code 101 102 107 height field 61 62 65 66 87 Interleaved 2 of 5 701 102 104 107 108 MicroPDF417 101 102 127 129 PDF417 101 102 115 Plessey 701 102 108 Postnet 101 102 110 114 QR Code 101 102 118 122 Telepen 10
47. formatted last Mode Each character cell is treated as opaque This mode is effective only in rotation 1 See Record Structure Types 5 Inverse This mode allows inverse white on black printing Mode E g a proportionally sized border and background are printed similar to photographic negative When text or images overlap in this mode the effect is similar to the XOR attribute Table 6 1 Format Attributes 40 E Class DPL Programmer s Manual Extended System Commands Set Column Offset Amount This command allows horizontal adjustment of the point where printing begins The printer is instructed to print label formats nnnn units to the right of the position that the format specifies This feature is useful when a single format is to be printed on labels containing preprinted information Note If using preprinted labels where the placement of the preprint data varies from label to label the printed information may overlap the preprinted data Syntax Cnnnn Where nnnn Is a four digit number 0000 9999 for the column offset in inches 100 or mm 10 The printer default is 0 Sample lt STX gt L C0050 1411000010001 00DATAMAX lt CR gt I The sample prints a label shifted 5 inches to the right of the format unless the printer is in metric mode Set Cut By Amount This command is the same as the Set Cut By Amount command however only a two digit value can be entered This allows
48. gt 13220000000000012345 lt CR gt 01 lt gt 02 CR Q0006 CR E CR The sample prints two labels containing the same field value before decrementing the field Six labels are printed Special Label Formatting Commands Two Special Label Formatting Commands the STX S and the STX T are entered directly into the data field of label format records Do not confuse them with System Level Commands because the same control character is used If alternate control codes are enabled the lt STX gt becomes hexadecimal 0 7 see Control Codes Label Formatting Character Command Description Recall global data and place in field Print time and date Table 6 2 Special Label Formatting Commands 54 E Class DPL Programmer s Manual Extended System Commands STXS Recall Global Data And Place In Field This command when in the format record data field places data from a specified global register into the data field See the G command Syntax lt STX gt Sn Where n Specifies the global register A P that contains the data to place into the data field Sample lt STX gt L lt CR gt 121100000000000DMX lt CR gt G lt CR gt 1A2210001000000 lt STX gt SA lt CR gt E lt CR gt The sample places the string DMX into the next available global register A and then line 4 is effectively replaced by the data from global register A STX T Print Time and Date This command
49. include itself Extended Channel Interpretation ECI mode 0 Disabled 1 Enabled 000 10 300 Error Correction EC Amount see table below where 000 Default EC approximately 23 001 099 EC fixed value expressed as a percent 101 104 Compact core 1 to 4 layers respectively 201 232 Full size core 1 to 32 layers respectively 300 Rune format encodes three ASCII decimal digits 0 256 scanner decode output is decimal number 0 256 kk k 8 bit data followed by Data to be encoded a termination character 122 E Class DPL Programmer s Manual Appendix The error correction size selection determines symbol size and other characteristics of symbol as shown in the following table Attempting to encode more data that has been made available will result in no symbol printed Error Correction EC Size Implications Symbol Symbol Maximum Binary Maximum Alphabetic Maximum Size Format Data Bytes Characters Numeric Characters 000 variable data dependant 1914 3067 3832 001 to 099 variable data and EC 1914 3067 3832 dependant 301 5 compact 6 2 13 OE o 27 comaa 10 201 19 fulsz 215 18 7 fulsze 40 B 84 216 895 fulsze 59 3990 1123 232 151 fulsize 194 3067 3832 Measured module size x assuming default module size
50. of record is the width of the narrow bar in dots All other bars are a ratio of the narrow bar 2 times 3 times and 4 times the narrow bar width The following example prints a UPC A bar code lt STX gt L D11 1B000000015010001234567890 lt CR gt 121100000000100Barcode B lt CR gt 2345 16789 E Class DPL Programmer s Manual 103 Appendix UPC E Valid Characters 0 9 Length Seven digits If the user provides six digits the printer will compute the checksum or if the user provides the checksum the printer verifies it against an expected checksum When these checksums do not match all zeros will be printed along with the expected checksum Valid bar dimensions The fourth character of record is the width of the narrow bar in dots All other bars are a ratio of the narrow bar 2 times 3 times and 4 times the narrow bar width The following example prints a UPC E bar code lt STX gt L 211 1C0000000150100012345 CR 12345 7 121100000000100Barcode C lt CR gt D Interleaved 2 of 5 Valid Characters 0 9 Variable Length Valid bar dimensions The expected ratio of wide to narrow bars can range from 2 1 to 3 1 The following example prints an I 2 of 5 bar code with a wide to narrow bar ratio of 3 1 lt STX gt L D11 1D000000015010
51. or where data may not contain adjacent bytes with values or s 30 0 IE and 2910 1D16 and 449 449 Sample 1 The variable length example prints a MicroPDF417 barcode with 1 column and 24 rows 33 error correction byte compaction and macro character substitution enabled lt STX gt L D11 lt CR gt 1W1z000000015010014000PDF417 CR 121100000000100Barcode W1z lt CR gt Barcode W1z Sample 2 The specified length example includes a byte count field for all bytes that follow until the end of the barcode data The byte count is 12 The symbology encodes pdf lt CR gt 417 and prints the barcode Notice that a CR does not terminate the barcode format record A line of text is also printed lt STX gt L D11 lt CR gt 1W120000000150100001214000pdf 0x0D 417 121100000000100Barcode Wl1Z CR Barcode W1Z Functions Not Supported General Purpose Extended Channel Interpretations including Code 128 emulation e Structured Append Reader Initialization Symbol Generation Module shaving E Class DPL Programmer s Manual 129 Appendix 130 E Class DPL Programmer s Manual Appendix Font Mapping Single Byte and Double Byte Characters Label format records with font code 9 in the b field of the Format Record header can specify any of the following bit mapped or scalable fonts with the associated specification in the font size selectio
52. printer prior to sending the label format datastream E Class DPL Programmer s Manual 43 Label Formatting Commands f Set Present Speed This command controls the rate at which the present distance is positioned allowing the media movement to be slowed during presentation the distance traveled after printing is completed to the label stop position This command is used only within the context of a label format The speed assigned is retained until another label format is received or until power is removed if a subsequent format does not contain a present speed command then the present speed reverts to the slew speed Syntax fa Where a single alpha character representing a speed limited by the slew speed range see Appendix K The default is the slew speed Sample lt STX gt LD11H30PGSG fA 191100200830165Fixed Data Field 1 lt STX gt L 191100200830165Fixed Data Field 1 The sample prints two labels the first label has present speed of 1 inch per second while the second reverts to the slew speed of 4 inches per second Place Data in Global Register This command saves the print data of a print format record in a global register temporary storage This data can then be retrieved and copied to another record in the same label format using the Special Label Formatting Command lt STX gt S Global registers are named in the order received beginning with A and ending at P
53. reference the detailed descriptions under Record Structure Types for variations The field name titles of the following paragraphs are preceded with a reference letter from Table 8 3 All characters sent to the printer within the header fields are alphanumeric a Rotation The first field of a header is a single ASCII character that selects the degree of rotation for the data to be printed on a label Valid rotation values are 1 0 2 90 3 180 and 4 270 clockwise Figure 8 1 shows the direction and amount of rotation clockwise relative to the label feed direction The bottom left corner of the object is the pivot point b Fonts Bar Codes Graphics and Images The second field b determines how the rest of the fields are interpreted as shown in the table below Values 0 through 9 select human readable fonts 0 through 8 will select standard Datamax fonts value 9 selects the CG Triumvirate smooth scalable font internal or scalable fonts When 9 is used to select a scalable font the font size font I D number is chosen by entering a value in the height field eee E Class DPL Programmer s Manual 61 Generating Label Formats Values A through z select barcodes Values A through T uppercase will print barcodes with human readable interpretations Values a through z lowercase will print barcodes only Value W requires two additional characters to specify the Barcode Font ID A font field value X selects
54. the left column of Table C 1 in field b of the Format Record header to cause the printer to use the corresponding font Fonts 0 through 8 use the slash zero 0 conventions for distinguishing between the zero and the alphabetic O The slash can be removed with the label formatting command Z These fonts are non proportional monospaced Therefore all of the characters take up the same amount of space when printed This is helpful when using variable data in a fixed area The sizes of these fonts are shown on the following pages The CG Triumvirate font number 9 is a proportional font Each character will take up a different amount of space when printed For example the letter W will be wider than the letter I Font Use with Record Valid ASCII Characters decimal 32 127 32 168 171 172 225 32 168 171 172 225 32 35 38 40 58 05 90 128 142 144 146 153 154 156 157 165 168 225 32 35 38 40 58 05 90 128 142 144 146 153 154 156 157 165 168 225 Bit Mapped 32 35 38 40 58 65 90 128 142 144 146 153 154 156 157 165 168 225 Fonts 32 35 38 40 58 65 90 128 142 144 146 153 154 156 157 165 168 225 32 126 32 48 57 60 62 67 69 78 83 84 88 90 32 126 128 169 171 173 181 184 189 190 198 199 208 216 222 224 237 241 243 246 250 Dependent upon selected symbol set see Appendix H Scalable Font Table C 1 Valid Human Readable Font Internal ASCI
55. these options is entered then the nearest lesser value from the valid entries is used e g selecting a value of 099 will cause an actual ECC value of 080 to be used J 0 6 Format identification where 0 Automatically selects an encodation scheme based on characters to be encoded 1 Numeric data 2 Upper case alphabetic 3 Upper case alphanumeric and punctuation characters period comma hyphen and slash 4 Upper case alphanumeric 5 ASCII the full ASCII character set 6 Any 8 bit byte If a format identifier is selected which will not encode the input character stream then the barcode symbol will not be printed It is recommended that the auto encodation format identification be used since it will select the best possible encoding scheme for the input stream 116 E Class DPL Programmer s Manual Appendix 9 11 13 49 ECC 140 digit odd number 000 of rows requested 000 causes rows be minimum is 15 automatically determined If the rows and columns do not match the symbol will be sized to a square using the greater of the two values 9 11 13 49 ECC 140 A 3 digit odd number or 000 of columns requested 000 causes minimum is 15 columns to be automatically determined If the rows and columns do not match the symbol will be sized to a square using the greater of the two values mm m 8 bit data followed Data to be encoded termination character ECC 200 symb
56. this program START OPEN COM1 9600 N 8 1 FOR RANDOM AS 1 MAIN CLS PRINT DMX Printer Test Program press any key WHILE 5 lt I INKEY WEND desc 10K OHM 1 4 WATT 590 SENDDATA CR CHR 13 PRINT 1 CHR 2 L CR PRINT 1 HO7 CR set burn time to 7 PRINT 1 D11 CR set for 300 DPI PRINT 1 191100801000025 desc CR send description line PRINT 1 1a6210000000050 pcs CR send barcode PRINT 41 5 end of format and print GOTO MAIN 10K OHM 1 4 WATT Figure B 1 Sample Label E Class DPL Programmer s Manual 73 Language Program The following sample C program is included for reference Figure B 1 shows the output generated by this program DMX SERIES Sample program include lt stdio h gt main char 590 char desc 10K OHM 1 4 WATT DMX Printer Test Program n stdout 021 stdaux STX L Enter Label ormatting fputs 07 stdaux Enter Heat Setting of 7 fputs stdaux Set Width and Height Dot Size fprintf stdaux 191108010000025 3 4 Select smooth Font fprintf stdaux 1a6210000000050 sPCS n pcs Select Barcode type a fputs stdaux End Label format mode and print ASCII text file This
57. using serial communications The default value is Off Syntax lt STX gt a Printer response Event dependent Also see Appendix D for error codes Where Return Characters Invalid character 0x07 BEL Label printed 1E RS End of batch 1F US STX B Get Printer Time and Date Information This command instructs the printer to retrieve its internal time and date information Syntax lt STX gt B Sample lt STX gt B Printer response format wmmddy yy yhhMMj j j CR Where 1 digit for day of week 1 gt Monday 2 digits for month dd 12 4 digits for year See lt STX gt A for details and restrictions Printer response sample 1020319960855034 lt CR gt E Class DPL Programmer s Manual System Level Commands STX Set Continuous Paper Length This command sets the label size for applications using continuous media It disables the top of form function performed by the Media Sensor The sensor however continues to monitor paper out conditions See lt STX gt M Syntax lt STX gt cnnnn Where nnnn Specifies the length of the media feed for each label format in inches 100 or millimeters 10 see lt STX gt m Sample lt STX gt c0100 This sample sets a label length of 100 which equals 1 00 inch assuming Imperial Mode is selected Note This command must be reset to zero for edge or reflective sensing operation Pre printed media cannot be
58. using string characters and markers allows time and date data to be selected and retrieved from the printer s internal clock In addition the lt STX gt T may be preceded by data to be printed encoded and or the string may now be terminated by an lt STX gt command and then followed by more data terminated by a lt CR gt The string characters markers are not printed instead the printed label will show a corresponding print value Note When using substitution you must ensure the converted string produces valid characters for the selected bar code font Syntax lt STX gt Tst ring lt CR gt Where string Isany set of characters A Z and a See table below String Print String Print Characters Values Markers Values A Day of the week Mon 1 Sun 7 Hour in the 24 hour format Day of the week name Hour in the 12 hour format Month name Day AM or PM Year Table 6 3 Time and Date String Characters Month number Note The sample listings below assume a current printer date of December 21 1998 E Class DPL Programmer s Manual 55 Label Formatting Commands Sample 1 lt STX gt L lt CR gt 121100001000100 lt STX gt TBCD GHI PQ TU lt CR gt E lt CR gt Sample will print SUN DEC 21 98 on a label Sample 2 lt STX gt L lt CR gt 191100100100010 lt STX gt TEF PQ lt CR gt E lt CR gt Sample 2 will print 12 21 on a label Sample 3 lt STX gt L lt CR gt 191100
59. widt A 17 18 19 NA _ 15 STX KM NA NA 12121 6 NA 16 7 0 16 1 Volt DC 2 0 16 Volt DC T Direct Thermal Transfer lt STX gt KD 0 255 Enabled Disabled lt STX gt KD lt STX gt V Scalable Cache Sensor Type o 0 128 4 KB 0 disabled lt STX gt KS 4 1 G C R Gap Edge Continuous 2 Reflective 5 A See details below lt STX gt KD 02255 1p Host Peel Cut Cover None 0 50 1 Volt DC N Serial Port Configuration SOP Adjust Stop Location TOF Bias TOF Bias Reflective TOF Delta TOF Delta Reflective TOF Gain TOF Gain Reflective 4 0 50 0 50 0 50 13 0 5 12 0 15 Table 5 2 Set Configuration Commands 4 1 4 1 1 1 1 1 1 1 3 1 5 1 1 1 4 m 0 7 8 9 1 1 6 0 3 2 A A A Configuration Query This command causes printer to respond with the current configuration settings The lt STX gt Kc response command stream format is sent to the host 30 E Class DPL Programmer s Manual Extended System Commands computer via the serial port contains all parameters controlled by lt 5 gt command and may be used for restoring the printer s configuration or for configuring
60. without Printing This command causes the printer when in label formatting mode to immediately switch to the system command mode and generate a label format based on the data received at that point However unlike command it will not print a label Other termination commands are and 587 Syntax X Sample lt STX gt L lt CR gt 141100001000100SAMPLE lt CR gt X lt CR gt The sample will result in a label format but no label will be printed y Select Font Symbol Set This command like the lt STX gt y selects the scalable font symbol set The selected symbol set remains active until another symbol set is selected see the lt STX gt y for details Syntax ySxx Where S Byte size designation see Appendix H S Single byte symbol sets U Double byte symbol sets as equipped XX Symbol set selection Sample lt STX gt L ySSW lt CR gt The sample selects the Swedish symbol set for use in succeeding format records using scalable fonts E Class DPL Programmer s Manual 51 Label Formatting Commands 2 Zero 0 Conversion to 0 This command removes the slash zero in fonts 0 to 8 and in the human readable field if any of the bar codes A to Z The command applies only to format records containing those fonts and bar codes and is effective only for the label format in which it appears Note None of the smooth fonts i e font 9 has the slash zero also this command will ha
61. 0 020 lt 21 gt lt 6 gt lt 00 gt lt 00 gt lt gt 115 CHARACTER S IN ALL 4 ROTATION S 1911U4001200110P040P020 lt 21 gt lt 6F gt lt 00 gt lt 00 gt lt CR gt 5 t 1911U4001200145P040P030 lt 21 gt lt 6F gt lt 00 gt lt 00 gt lt CR gt 2 P Rotation dr E d 1911U4001200190P040P040 lt 21 gt lt 6F gt lt 00 gt lt 00 gt lt CR gt i 1911U4001200250P040P050 lt 21 gt lt 6F gt lt 00 gt lt 00 gt lt CR gt Rotation 3 GF 1911U4001200320P040P060 lt 21 gt lt 6F gt lt 00 gt lt 00 gt lt CR gt Rotation ip fu 112200000050010NORMAL INVERSE CR 112200000050245 NORMAL MIRROR lt CR gt SCALING JIS CHARACTER S 1911U4000250010P040P040 lt 21 gt lt 6F gt lt 00 gt lt 00 gt lt CR gt 1911U4000250245P040P040 lt 4B gt lt 30 gt lt 00 gt lt 00 gt lt CR gt 5 lt gt 1911U4000250090P040P040 lt 21 gt lt 6F gt lt 00 gt lt 00 gt lt CR gt 1 Al CR lt CR gt v 1911U4000250390P040P040 lt 4B gt lt 30 gt lt 00 gt lt 00 gt lt CR gt P4 lt CR gt E lt CR gt NORMAL INVERSE NORMAL MIRROR The notation lt xx gt in this DPL file should be interpreted by the reader as representing the hexadecimal value of the byte sent to the printer E Class DPL Programmer s Manual 149 Appendix Sample Kanji Gothic DPL Hex ASCII addressing and resulting label
62. 0003E0000FFFFC001FE0000FE0000FFFFC00180007FC0007FC00020000FFFFE0000001FFF80003FFFFF0000 8030FFE0000000001E0000FFFFCOOIFE0000FF0000FFFFC001C0007FC0007FC00030000FFFFE0010000FFF80003FFFFF0000 8030FFE0000000000F0000FFFFC001FE0000FF0000FFFFC001C0007FC0007FC00030000FFFFE00180007FF80007FFFFF0000 8030FFE0000000000700007FFFCOO1FF0000FF80007FFFC001C0007FC0003FC000380007FFFE00180007FF80007FFFFF0000 8030FFF0000000000380007FFFCOO1FF0000FF80007FFFC001C0003FCO003FE000380007FFFE001C0003FF80007FFFFF0000 8030FFF0000000000380007FFFCOO1FF0000FF80007FFFC001C0003FC0003FE000380007FFFE001E0003FF80007FFFFF0000 8030FFF0000000000180003FFFC001FF00007FC0003FFFC001C0003FC0001FE0001C0003FFFE001E0001FF0000FFFFFF0000 8030FFF00000000001C0003FFFCOO1FF00007FCOO003FFFCOO1E0003FCOOO1FE0001C0003FFFEOO01F0000FF0000FFFFFF0000 8030FFF00007C00000C0003FFFC001FF00007FE0003FFFC001E0003FC0000FF0001E0003FFFE001F0000FF0000FFFFFF0000 8030 80007 80000 0001 001 80007 0001 001 0003 0000 0001 0001 001 80007 0000 0000 8030FFF80007FC0000E00000000001FF80007FE00000000001E0001FCO000FF0001E00000000001FC0007F0000FFFFFF0000 8030FFF80007FE0000600000000001FF80003FF00000000001E0001FC00007F0000F00000000001FC0003F0001FFFFFF0000 8030FFF80003FF0000700000000001FF80003FF00000000001F0001FC00007F0000F00000000001FE0001E0001FFFFFF0000 8030FFF80003FF0000700000000001FF80003FF00000000001F0001FC00007F8000F00000000001FE0001E0001FFFFFF0000 8030 0001 0003 0000000001 0001
63. 0003FFFC000003FFFCOO001FFF00007FFCOO003FF0000 8030FFFFFFFFFEO0001FFFFFCO0001 FE00000000003FC00001FFFC000003FFFE000003FFFC00001FFF00007FFCO003FF0000 8030FFFFFFFFFF00007FFFFFCOO001FE00000000003FC00001FFFCO00003FFFE000003FFFE00001FFF00007FFE0001FF0000 8030FFFFFFFFFF8003FFFFFFCO0001 FE00000000003FE00001FFFC000003FFFF000003FFFE00001FFF00007FFE0001FF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 FFFF CR 31 1 11000000000001060 CR E CR 0000 8001 001 0007 000003 0003 8000 001 0000007 0000 Figure M 1 Sample Datamax 7 bit ASCII File Image 144
64. 001234567890 lt CR gt 0123456790 121100000000100Barcode D lt CR gt Barcode D E Code 128 Valid Characters ASCII characters Variable Length Valid bar dimensions The fourth character of record is the width of the narrow bar in dots All other bars are a ratio of the narrow bar 2 times the narrow bar width 3 times the narrow bar width and 4 times the narrow bar width This printer supports Code 128 subsets A B and C The selection can start on any code subset and switch to another subset within the data stream The default subset is B otherwise the first character A B C of the data field determines the subset Subset switching is only performed in response to code switch command These commands are placed in the data to be encoded at appropriate locations see Table G 1 Code 128 Subset A Includes all of the standard uppercase alphanumeric keyboard characters plus the control and special characters To select Code 128 Subset A place an ASCII A DEC 65 HEX 41 before the data to be encoded 104 E Class DPL Programmer s Manual Appendix Code 128 Subset Includes of standard uppercase alphanumeric keyboard characters plus the lowercase alphabetic and special characters To select Code 128 Subset B place an ASCII B DEC 66 HEX 42 before the data to be encoded If no start character is sent for the 128 font Code 128 Subset B will be selected by default Code 128 Subset C Includes the set of 100
65. 1 102 112 UCC EAN Code 128 101 110 UCC EAN Code 128 Random Weight 701 111 UCC EAN Code128 K MART NON 701 111 UPC A 101 103 143 UPC addendums 101 109 UPC E 701 102 104 UPS MaxiCode 101 102 112 114 Basic program 73 batch printing 8 9 12 14 18 39 52 53 140 baud rate 32 34 binary addressing 148 149 151 binary control codes 50 5 bitmapped fonts See Fonts boot loader 153 159 boxes 66 67 brackets 2 butt cut media 19 160 buttons cancel 4 8 feed 4 18 20 31 pause 4 8 16 C C program 2 74 calibration 4 159 cancel button 4 8 character set Also see Symbol Sets double byte 16 26 51 131 132 135 148 150 151 encoding 27 34 35 141 maps 133 135 single byte 2 16 26 51 131 136 147 149 checksum 101 159 Chinese fonts 130 133 147 151 circles 62 66 68 69 code page Also see Symbol Sets 94 96 133 135 147 148 column position 61 63 values 137 Commands lt SOH gt 7 9 139 154 lt SOH gt A 7 9 142 lt SOHSB 8 18 142 lt SOHSC 8 142 lt SOHSD 8 15 57 142 lt SOHSE 8 9 142 SOHPF 7 9 142 SOH U 9 29 142 STX a 12 141 lt STX gt AwmmddyyyyhhMMjjj 11 142 lt 5 gt 12 141 lt STX gt cnnnn 13 14 30 142 STX d 13 142 lt STX gt e 14 30 141 lt STX gt Ennnn 13 14 21 52 53 142 STX fnnn 14 18 32 36 142 l
66. 100100010ABC lt STX gt TEF PQ lt STX gt DEF lt CR gt E lt CR gt Sample 3 will print ABC 12 21 DEF on a label This illustrates a method of embedding the time string The string must be terminated by an lt STX gt 56 E Class DPL Programmer s Manual Font Loading Commands Introduction The commands used for font loading are usually generated by font creation software however the assigned font ID number command must be sent to the printer before the font file All Font Loading Commands begin with lt ESC gt ASCII control character 27 decimal The downloaded font will be stored in the default module refer to the lt STX gt X command The commands in the table below are listed in their order of appearance top to bottom during font downloading The lt SOH gt D command must be sent prior to downloading a font Assign Font ID Number Character Code Character Download Data Table 7 1 Font Loading Commands Assign Font ID Number This command is the first command required for downloading a font to either DRAM or Flash memory Esc represents the ASCII control character 27 Syntax lt ESC gt c D Where the font ID numbers 100 999 000 099 reserved for resident fonts sgZZW Font Descriptor This command typically first data in a font file contains all of the information about the font contained in the file Different font generation software will create different
67. 11 26 29 137 141 dot pattern 4 20 26 141 formatting 8 13 14 21 25 39 43 44 48 51 54 59 60 89 131 137 141 home position 59 63 length 7 28 30 31 142 160 preprinting 41 48 160 printable width 27 29 37 137 quantity 9 13 14 47 142 sequencing 52 54 size 13 26 29 56 start of print position 18 32 33 36 47 141 142 stop location position 4 29 30 32 44 142 throughput 3 20 27 28 50 top of form 101 18 19 25 26 28 31 33 37 159 161 width 30 160 line termination 2 5 35 50 60 64 68 115 119 122 127 142 lines 62 66 67 M measurement inch 13 17 18 28 37 46 142 160 metric 7 37 46 142 E Class DPL Programmer s Manual media 14 19 34 59 159 161 butt cut 19 160 continuous 3 30 31 33 34 142 159 die cut 14 31 32 159 160 direct thermal 31 159 fan fold 19 160 notched 14 31 160 reflective 13 19 30 31 33 34 142 160 161 roll 19 159 161 sensor 13 14 18 19 25 30 31 33 34 159 160 tag 19 159 160 161 thermal transfer 31 34 155 161 memory configuration 27 30 36 memory module 15 16 19 20 23 30 37 48 49 62 64 66 137 141 142 mirrored fields 45 MMPS 139 160 module identifiers 137 N no paper 30 31 notched stock 14 31 160 0 operating program 149 160 options 19 22 33 34 P paper fault 4 7 9
68. 135 147 150 Korean 132 135 scalable 16 25 28 37 43 51 53 60 65 83 131 134 141 147 148 151 155 TrueType 16 43 64 133 135 155 font attributes 45 font downloading 8 16 24 57 58 131 141 153 font ID 16 23 57 61 62 83 131 141 151 font loading commands 57 58 font mapping Also see Symbol Sets 131 148 151 format record header 21 61 83 85 87 101 131 formatting attributes 40 front panel 4 8 89 153 G 14 30 33 34 159 160 161 global register 44 55 152 graphics 60 61 63 66 160 H heat value 45 141 155 159 161 height multiplier 42 61 62 64 66 hex dump mode 18 20 26 horizontal adjustment Also see Column Position 41 E Class DPL Programmer s Manual image downloading 8 15 137 141 142 144 images 25 40 60 63 66 immediate commands 5 7 8 11 17 42 imperial inches mode 13 17 18 28 37 46 142 160 incrementing fields 13 20 52 54 141 IntelliFont 76 64 133 135 interface cable 3 4 internal module 27 28 137 151 internal test label 4 IPS 46 47 139 160 J Japanese 133 Julian date 11 12 55 K Kanji 64 101 118 121 131 132 135 147 150 Korean 32 135 L label 12 14 16 19 21 28 30 31 33 39 41 42 47 48 60 63 137 141 142 159 161 alignment 30 31 alignment length 30 31 database configuration 4
69. 17 parameters 2 parity 33 34 pause 4 7 9 16 18 141 142 pause button 4 6 16 paused indicator 4 8 perforation 160 point size 63 83 84 polygons 66 68 power connection 3 26 29 139 preprinted data 13 41 48 160 present adjust 29 30 32 sensor 16 22 30 32 34 158 speed 44 142 print buffer 8 13 37 method 30 34 position 18 32 41 48 59 61 63 67 142 resolution 28 62 65 83 137 speed 46 139 142 160 printable width 27 29 37 137 printhead 14 20 31 42 45 62 63 141 159 161 165 real time clock 11 3 37 rectangles 69 record structure 60 69 reflective media 13 19 30 31 33 34 142 160 161 sensor 13 19 25 30 31 33 34 142 160 registration 161 replacement fields 13 21 50 51 141 resolution 28 42 62 63 65 83 84 102 137 159 retrieve label formats 48 reverse backfeed speed 47 139 142 161 ribbon 7 9 25 161 roll media 9 159 161 rotation 40 59 61 64 68 row position 48 61 63 68 142 S Scalable Font See fonts sensor values 25 30 31 33 141 159 serial port configuration 29 30 32 single buffer mode 20 142 slew speed 44 49 139 142 smooth font 52 60 64 84 87 132 smooth scalable font processor 28 37 SOP adjust Also see Start of Print Position 30 32 special label formatting commands 11 44 54 55 speed ranges
70. 1A 1A 1A 5 bytes LA lt SUB gt 1A with values 3116 4116 3116 41 6 lt SUB gt represents single byte ASCII control character with value 16 Alternate Control Codes with Alternate Line Terminator Character Encoding can also be used with the Alternate Control Character set Alternate Control Characters are enabled via a Setup Menu or lt STX gt KD 541 commands See Control Codes E Class DPL Programmer s Manual 35 Extended System Commands STX Kf Set Present Distance This command specifies an additional amount to advance the label after printing This command has the same effect as the lt STX gt f command but specifies a distance to advance relative to the start of print lt STX gt O command of the next label Syntax lt STX gt Kfnnnn lt CR gt Where nnnn A four digit present distance in inches 100 or mm 10 Sample lt STX gt K 0100 The sample represents a one inch label advance unless in metric mode see STX m STX KO Query Memory Configuration This command causes the printer to transmit DRAM memory configuration to the host device regarding the total amount installed the amount available for configuration and the amount currently assigned to specific functions or entities Syntax lt STX gt KQ lt CR gt Printer response format INTERNAL MEMORY lt CR gt VER aa cdd ee mm dd yy lt CR gt INSTALLED iiii CR AVAILABLE vvvv lt CR gt MODULE lt gt SCAL
71. 2P012 lt 4D gt lt 3F gt lt 21 gt lt 21 gt lt 21 gt lt 21 gt lt 4D gt lt 4F gt lt 21 gt lt 21 gt lt 21 gt lt 21 gt lt 4D gt lt 5F gt lt 21 gt lt 21 gt lt 21 gt lt 21 gt lt 4D gt lt 6F gt lt 00 gt lt 00 gt lt CR gt 112200002400030Rotation 2 lt CR gt 2911U4002600150P012P012 lt 4D gt lt 3F gt lt 00 gt lt 00 gt lt CR gt 2911U4002600205P012P012 lt 4D gt lt 4F gt lt 00 gt lt 00 gt lt CR gt 2911U4002600250P012P012 lt 4D gt lt 5F gt lt 00 gt lt 00 gt lt CR gt 2911U4002600300P012P012 lt 4D gt lt 6F gt lt 00 gt lt 00 gt lt CR gt 112200002200030Rotation 3 lt CR gt 3911U4002330315P012P012 lt 4D gt lt 6F gt lt 21 gt lt 21 gt lt 21 gt lt 21 gt lt 4D gt lt 5F gt lt 21 gt lt 21 gt lt 21 gt lt 21 gt lt 4D gt lt 4F gt lt 21 gt lt 21 gt lt 21 gt lt 21 gt lt 4D gt lt 3F gt lt 00 gt lt 00 gt lt CR gt 112200002000030Rotation 4 lt CR gt 4911U4001950165P012P012 lt 4D gt lt 3F gt lt 00 gt lt 00 gt lt CR gt 4911U4001950215P012P012 lt 4D gt lt 4F gt lt 00 gt lt 00 gt lt CR gt 4911U4001950265P012P012 lt 4D gt lt 5F gt lt 00 gt lt 00 gt lt CR gt 4911U4001950315P012P012 lt 4D gt lt 6F gt lt 00 gt lt 00 gt lt CR gt 1X1100001100010b0392007500020002 lt CR gt 112200001650030SCALING JIS CHARACTER S lt CR gt 1911U4001200020P010P020 lt 21 gt lt 6F gt lt 00 gt lt 00 gt lt CR gt 1 191104001200050 0209020 21 6 00 008 085 196818016 Kanji Gothic B Available 191104001200080 03
72. 3 lt CR gt 100602000200ROTATION 4 lt CR gt 104003000260123456 lt CR gt 210002500140123456 lt CR gt 1100000000000B400400003003 lt CR gt 1000020000001 400001 lt gt 1000000002001 001400 lt gt 100004100010Printhead Location lt CR gt Q0001 CR E lt CR gt End formatting begin print Table 8 1 Sample Label Format Note This example assumes that the printer is in inch mode lt STX gt n Printhead Location Media 123458 ROTATION 4 ROTATION 1 NOILVLOY 2 NOILVLOY Position E Class DPL Programmer s Manual 59 Generating Label Formats The first line in the sample format Table 8 1 is the System Level Command directing the printer to begin label formatting Other System Level Commands may precede the lt STX gt L for printer setup Lines 2 14 and 15 are Label Formatting Commands Line 15 is the exit and print command The remaining lines 3 13 are print format records explained in this chapter A record is a data string that contains the information to be printed on the label s Records are the building blocks of label formats Every record must end with a termination character usually a carriage return lt CR gt Omitting termination characters will result in the concatenation of records Omitting the carriage return that precedes the termination character E which is necessary to com
73. 30 lt CR gt A5 lt CR gt 1911uK100250090P040P040216F lt CR gt A1 lt CR gt lt CR gt 1911uK100250390P040P0404B30 lt CR gt lt CR gt E lt CR gt Scalable Kanji Gothic E Available JIS CHARACTER 5 IN ALL 4 ROTATION 5 Rotat ion 1 LA Rotat ion 2 bt E di Rotat ion 3 8 Rotat ion 4 up i 35 a SCALING JIS CHARACTER 5 x F4 NORMAL INVERSE NORMAL MIRROR 150 E Class DPL Programmer s Manual Appendix ILPC CHINESE Option The Chinese option is a double byte scalable font supporting Simplified GB Chinese In the double byte format the printer recalls one character printed from every two 8 bit bytes sent from the host Double byte scalable fonts are selected using a print format record see Generating Label Formats and Appendix H for details DPL Big 5 Encoding Support The printer firmware supports font files that are encoded for the GB Character Map and the Big 5 Character Map The resident Asian font in the printer is encoded in the GB Character Map To utilize the Big 5 Character Map the user must download a font file that is Big 5 encoded The font file downloaded must be of a size compatible with the module size available Printing characters from the Big 5 encoded font file is accomplished by 1 Setting the character mapping with a System Command or Label Format Command lt 5 gt 5 yUB5 respectively 2 Setting the b field 9
74. 300 DPI Resolution Ratio Module Size Table 2 Barcode Default Data Note Some barcodes will be sensitive to the label command Dwh Set Width and Height Dot Size see Label Formatting Commands 102 E Class DPL Programmer s Manual Appendix G Bar Code Details Unless noted all barcodes shown here were produced using the ratio module values of 00 and height fields of 000 to cause the printer to produce symbols using default bar widths and height fields See Appendix F for a listing of the default values A Code 3 of 9 Valid Characters 0 9 Z and the space character Variable Length Valid bar dimensions The expected ratio of wide to narrow bars can range from 2 1 to 3 1 The following example prints a code 3 of 9 bar code with a wide to narrow bar ratio of 3 1 lt STX gt L on 1A00000001501000123456789 lt CR gt 121100000000100Barcode A lt CR gt 0123456789 E Barcode f B UPC A Valid Characters 0 9 Length Twelve digits If the user provides 11 digits the printer will compute the checksum or if the user provides the checksum the printer verifies it against an expected checksum When these checksums do not match all zeros will be printed along with the expected checksum See Appendix N Valid bar dimensions The fourth character
75. 31 33 34 142 159 control code alternates 5 30 34 35 54 embedding 34 35 50 standard 5 30 33 34 conventions 2 cutter 18 22 30 32 34 39 41 141 159 D data bits 32 data field 63 65 66 101 datamax programming language 1 2 160 decrementing fields 13 20 53 54 141 default 159 bar code dimensions 102 factory 4 7 11 29 39 module 24 137 speeds 139 delimiters 34 35 diagnostics 159 die cut media 4 31 32 159 160 direct thermal 31 159 direct thermal media 31 159 double buffer mode 13 142 dot pattern label 4 20 26 141 dots per inch 63 65 137 159 DRAM 7 19 20 27 36 37 57 64 137 142 164 Index E edge sensor 13 14 19 26 29 30 34 141 embedding Also see Control Code 52 53 56 error codes 89 extended system commands 27 F buttons 4 fan fold media 9 160 feed button 4 18 20 31 feed speed 19 49 142 160 feedback 12 139 field decrementing 13 20 53 54 141 incrementing 13 20 52 54 141 limits 137 replacements 13 21 50 51 141 firmware 22 37 141 147 151 153 155 Flash memory 9 19 24 27 29 33 57 64 137 142 153 154 159 160 fonts 50 51 72 91 159 160 downloaded bit mapped 23 25 58 63 64 131 132 Chinese 32 135 147 151 IntelliFont 16 64 133 134 internal bit mapped and smooth 52 60 64 84 87 132 Kanji 64 101 131 132
76. 42276 abedefghi Jk mnorarstuvuxye i 5 9 222540 3 Identifies a 62 character alphanumeric uppercase font FONT 3 3574 0123456789 ABCDEF GHI JKLMNOPORSTUVWXYZ 4 Identifies a 62 character alphanumeric uppercase font FONT 4 8 1123456 769 RBCDEFGHT JKLMNOPORSTUUUXYZ E Class DPL Programmer s Manual 85 Appendix Identifies a 62 character alphanumeric upper case font FONT 5 9 ABLOEF GAT KL MNOPORS CRREDULUNLD 2 Identifies a 62 character alphanumeric uppercase font FONT 6 0123456 783 ABCDEF GHIJKL MNOPORS TUUUXY Z CRREDUZUNCD Identifies a font that prints OCR A size I Font 7 012345 784 lt gt 270 ABCDEFGHIJKLMNO abcdefghijklmno parstuvuxyzt il 8 Identifies a font that prints OCR B size Font amp 0123456789 lt gt CENSTXZ 86 E Class DPL Programmer s Manual Appendix 9 Identifies the Internal CG Triumvirate font Point sizes selected by the number in Format Record header eee height field see Table C 4 4 pt ABCDEFGHIUKLMNOPGQRSTUVWXY Zabe def ghijkimnoparatuy way 201 234567 60 5 pt ABCDEFGHIJKLMNOPQRSTUVWXY Zabedetghijkimnopaqratuvwxy 201 23456789 6 pt ABCDEFGHIJKLMNOPORSTUVWXY Zabede fghijkimnoparstuv
77. 5P012P012 lt BD gt lt D1 gt lt 00 gt lt 00 gt lt CR gt E Class DPL Programmer s Manual 151 2911UC002600250P012P012 lt BD gt lt D2 gt lt 00 gt lt 00 gt lt CR gt 2911UC002600300P012P012 lt BD gt lt D3 gt lt 00 gt lt 00 gt lt CR gt 112200002200030Rotation 3 lt CR gt 39110 002330315 012 012 lt gt lt 3 gt lt 1 gt lt 1 gt lt 1 gt lt 1 gt lt gt lt 2 gt lt 1 gt lt 1 gt lt 1 gt lt 1 gt lt gt lt 1 gt lt 1 gt lt A1 gt lt A1 gt lt A1 gt lt BD gt lt D0 gt lt 00 gt lt 00 gt lt CR gt 112200002000030Rotation 4 lt CR gt 4911UC001950165P012P012 lt BD gt lt D0 gt lt 00 gt lt 00 gt lt CR gt 4911UC001950215P012P012 lt BD gt lt D1 gt lt 00 gt lt 00 gt lt CR gt 4911UC001950265P012P012 lt BD gt lt D2 gt lt 00 gt lt 00 gt lt CR gt 4911UC001950315P012P012 lt BD gt lt D3 gt lt 00 gt lt 00 gt lt CR gt 1X1100001100010b0392007500020002 lt CR gt 112200001650030SCALING GB CHARACTER S lt CR gt 1911UC001200020P010P020 lt BA gt lt D0 gt lt 00 gt lt 00 gt lt CR gt 1911UC001200050P020P020 lt BA gt lt D0 gt lt 00 gt lt 00 gt lt CR gt 1911UC001200080P030P020 lt BA gt lt D0 gt lt 00 gt lt 00 gt lt CR gt 1911UC001200110P040P020 lt BA gt lt D0 gt lt 00 gt lt 00 gt lt CR gt 1911UC001200145P040P030 lt BA gt lt D0 gt lt 00 gt lt 00 gt lt CR gt
78. 8 je 65 4 6 6 33 76 ff 02 6 103 67 b 4 68 ar 9 09 i fios fo 07 6 13 00 4 109 69 46 JE 0 9 Jo iu 6 0 0 99 12 70 Q wr ms ni 82 52 _ 86 6 N 8 S m or 2 702 __ E i 7 F E Class DPL 5 Manual 71 ASCII Control Chart continued lt pe T gt T m f E pass 9 L Notes 1 For hardware handshake XON XOFF commands XON XOFF Te Ctrl Q DC1 Ctrl S DC3 s zs 6 f b TE gt sc ps gt fa ps T5 2125 1221 pa pes e 2 Euro character has been added to the table above at 255 FF as Datamax standard for internal bit mapped fonts 0 1 2 3 4 5 6 and 9 CG Triumvirate 72 E Class DPL Programmer s Manual Appendix Sample Programs Basic Language Program The following sample Basic program is included for reference Values are assigned to the variables in main section and sent to the printer in the section titled Send Data The sample below shows the output generated by
79. ABLE ssss lt CR gt LABEL MEM LLLL lt CR gt LABEL SIZE wwww gggg oo CR GI 36 E Class DPL Programmer s Manual Extended System Commands Where lt CR gt cdd ee mm dd yy 1111 VVVV XXXX 5555 LLLL WWWW gggg ASCII Carriage Return 0x0D record delimiter ASCII string sequence that represents the firmware version number string The number of 4KB blocks of DRAM memory The number of 4KB blocks of DRAM available for configuration ASCII character identifying a DRAM module followed by an ASCII colon If no Internal Module is present this field and its associated legend will not appear The number of 4KB blocks of DRAM allocated as an Internal Module The number of 4 KB blocks of DRAM assigned to the smooth scalable font processor cache The number of 4 KB blocks of DRAM assigned to label print buffer Current maximum printable label width in 100 of an inch or millimeters Current printable length in 100 of an inch or millimeters 200 min 640 max Current label dimension unit s designation IN for inches or for millimeters STX KR Reset Memory Configuration This command resets the printer s DRAM configuration to default settings see lt STX gt KM Syntax lt STX gt KR lt CR gt 5 Reset Resettable Counter This command resets the internal counter The internal
80. Call EndPagePrinter hPrinter Call EndDocPrinter hPrinter Call ClosePrinter hPrinter Close when done Close file Close 1 MsgBox File sent to print spooler vbExclamation End Sub Private Sub cmdClose Click Unload Me End Sub E Class DPL Programmer s Manual 81 Private Sub exit Click End End Sub Private Sub Form Load Dim X As Printer search for printer queue name driver name For Each X In Printers If X Port LPT1 Then printer found Set printer as system default SelPrinter X DeviceNam Exit For End If Next End Sub Private Sub lpt2 Click End Sub Private Sub open Click CommonDialogl ShowOpen loadfile CommonDialogl FileName txtFile Text loadfile End Sub Private Sub Printer Click CommonDialogl ShowPrinter End Sub This will create the form pictured below File This program will copy the file entered below to the default printer via the windows printer driver File Name Note It may be necessary to remove and reinsert common dialog control due to Windows registry issues 82 E Class DPL Programmer s Manual Available Font Sizes Referencing and Samples All character bit mapped fonts available on the printers are described in this section Each font has a name Font ID associated with it for use in programming Use the Font Number in
81. FF80007FFE0003FCOO1FE0003C003000F0001FE0003FE001FFFFCOOO001FFFFFFF0000 8030FFFF80007FF00007E0003FCOOT1FFF80003FFF0003FC001FE0003C00300078001FF0003FE001FFFFEO00001FFFFFFF0000 8030FFFF80003FF00007F0003FCOOT1FFF80003FFF0003FC001FE0003C00380078000FF0003FE001FFFFEO0001FFFFFFF0000 8030FFFF80003FF80007F0003FC001 FFF80003FFF0001FC0O01FF0003C00380078000FF8001FE001FFFFEO00001FFFFFFF0000 8030FFFF80003FF80007F0001FCOO1FFF80003FFF8001FCOO1FF0001C003C0038000FF8001FE001FFFFEO00001FFFFFFF0000 8030FFFFFFC0000000007FFC000001F80000000000FC000001FFF0000003FFE0000007FFC000001FFFC0003F80007FFF0000 8030FFFFFFE000000000FFFC000001F80000000000FE000001FFF8000003FFE0000007FFE000001FFFC0003FC0003FFF0000 8030FFFFFFF000000000FFFE000001 F80000000000FE000001FFF8000003FFF0000007FFE000001FFFC0003FC0003FFF0000 8030FFFFFFFCO0000000FFFE000001FC0000000000FE000001FFF8000003FFF0000007FFE000001FFFCO003FE0001FFF0000 8030FFFFFFFE00000000FFFE000001 FC00000000007F000001FFF8000003FFF0000007FFF000001FFFC0003FE0001FFF0000 8030FFFFFFFF00000001FFFF000001FC00000000007F000001FFF8000003FFF8000007FFF000001FFF80003FF0000FFF0000 8030FFFFFFFFC0000001FFFF000001 FC00000000007F000001FFF8000003FFF8000003FFF800001FFF80007FF0000FFF0000 8030FFFFFFFFE0000003FFFF800001FC00000000007F800001FFFC000003FFF8000003FFF800001FFF80007FF80007FF0000 8030FFFFFFFFF0000007FFFF800001 FC00000000007F800001FFFC000003FFFC000003FFF800001FFF80007FF80007FF0000 8030FFFFFFFFF800000FFFFF800001FE00000000003FCO0001FFFC00
82. Height 6480 4 5 inches in twips Printer Width 5760 4 inches in twips Printer CurrentX 1440 1 inch column position Printer CurrentY 2160 2 inches row position Printer Print 0123456789 Printer EndDoc End Sub Private Sub Form Load Dim X As Printer Dim I As Integer Used for the font list search for printer queue name driver name For Each X In Printers If X DeviceName Datamax I 4206 Then printer found Set printer as system default Set Printer X For 0 To Printer FontCount 1 Determine number of fonts cmboFonts AddItem Printer Fonts I Put each font into list box Next I Exit For End If Next nd Sub EH Exit the program and shut down the serial port by clicking Exit button with the mouse Private Sub cmdExit Click End End Sub When the program is run the combo box should be populated with the available fonts as shown below ia Datamax Test Print X Datamax Font 0 Datamax Font 0 Datamax Font 0 Datamax Font 1 Datamax Font 1 Cond Datamax Font 1 Datamax Font 2 Datamax Font 2 78 E Class DPL Programmer s Manual VB Application interfacing via Windows Driver This is a sample Visual Basic program that checks for any printer driver attached to LPT 1 If one is installed then a DPL file can be printed via the print driver Note tha
83. I Characters Smooth Font Font sizes dependent upon the printhead resolution of the printer used Tables 2 and 3 list font sizes by resolution with dimensions given in dots ft 2 64 o pp gt 4 6 18 3 18 lt Fos a 2 J 24 J 27 vmm 9 cr po ges eee Table C 2 Font Sizes 203 DPI Resolution E Class DPL Programmer s Manual 83 Appendix lt guo Foni 9 0 3 lt lt 22 27 5 2 2 455 7 15 lt Fo7 04 z 7 L Fon gt 0 gt gt 98 Table C 3 Font Sizes 300 DPI Resolution Internal Smooth Font 9 Smooth Font Point Size Specifiers Label format records with font code 9 in Format Record header field b can specify any of the font sizes in the leftmost column of the table below The corresponding specification in either column labeled Ann or Onn is used in the font size selection eee height field to select the desired font size Optional font sets may contain subsets of those described here For an optional font set that generates these fonts via scalable font technology the character mapping for this font is the selected scalable symbol set see Appendix In the sample format be
84. Lahser Road Suite 200 Southfield MI 48034 USA Tel 313 358 3570 Fax 313 358 3253 Computing Technology Industry Association 450 E 22 Street Suite 230 Lombard IL 60148 6158 USA Tel 630 268 1818 Fax 630 278 1384 Health Industry Business Communications Council PO Box 53528 Phoenix AZ 85018 USA Tel 602 318 1091 International Article Numbering Association EAN Rue Royal 29 B 1000 Brussels Belgium Tel 32 22 187674 Fax 32 22 187585 Uniform Code Council Inc UCC 8163 Old Yankee Rd Suite J Dayton OH 45458 USA Tel 513 435 3870 Fax 513 435 4749 U S Government Printing Office 732 North Capitol Street NW Washington DC 20401 USA Tel 202 512 1991 Fax 202 512 1293 158 E Class DPL Programmer s Manual Glossary alphanumeric Consisting of alphabetic numeric punctuation and other symbols backing material The silicon coated paper carrier material to which labels with adhesive backing are affixed Also referred to as liner bar code A representation of alphanumeric information in a pattern of machine readable marks The basic categories are divided into one dimensional UPC Code 39 Postnet etc and two dimensional barcodes Data Matrix MaxiCode PDF417 etc boot loader The resident program that loads the application from Flash memory decompresses it into the DRAM and starts operations burn line The row of thermal elements in the printhead that create the images on the media
85. OR U Mark Previous Field as a String Replacement Field This command controls the way replacement data is formatted Specifying a field as a string replacement for dynamic fields and not for static fields will optimize label throughput See the lt STX gt U command Note The data string length of any replacement is set by the length of the original string both must be equal The data being used when created must be valid for the font type being selected Syntax U Sample lt STX gt L 211 121100001000000123456789012 lt CR gt U lt CR gt 1211000020000001234567 lt CR gt U lt CR gt 161100000000000Sample lt CR gt 1X1100000000000B250250002002 lt CR gt 00001 lt STX gt U01LABCDEFGHIJKL lt CR gt lt STX gt U028901234 lt CR gt lt STX gt G 50 E Class DPL Programmer s Manual Extended System Commands The sample sets up the label format for register loading and prints two labels The first two of the four format records have been designated as replacement fields The second label is generated with System Level field replacement commands and prints the last label The data string length of any register is set by the length of the string when it was created and the new string must be the same length as the old string The data being used when it is created must be valid for the font type being used X Terminate Label Formatting Mode
86. R gt 1u0000001000100327895555840611THIS PACKAGE IS GOING TO DATAMAXCORP CR 121100000000100Barcode lt gt I Barcode u Where 32789 5 digit ASCII Postal Code 5555 4 digit ASCII 4 Postal Code 840 3 digit ASCIL Country Code 611 3 digit ASCII class of service THIS 84 ASCII characters maximum data string 112 E Class DPL Programmer s Manual Appendix In the four UPS 3 0 protocol examples that follow Primary Message control characters 9 not be encoded in the MaxiCode symbol All characters the Secondary Message with the exception of the leading 9 in are encoded Example 1 UPS 3 0 zip 4 with Message data format and message header 1u0000001200120 gt 5501 9268417066722 840 0012 1712345675 7 5 12345 450 Where D 5 019 96 Message Header 841706672 Maximum 9 alphanumeric ASCII Postal Code Primary message 840 Country Code 001 Class SIZI Secondary message Prd tas or Example 2 UPS 3 0 international postal code with Message data format and message header 1u0000001200120 gt 01 9 6V6C3E2 068 001 1212345675 UPSN 12345E 089 Where D 5 019 96 Message Header V6C3E2 Maximum 6 alphanumeric ASCII International Zip Code Primary message 068 Country Code 001 Class 65171 Secondary message ik Example 3 UPS 3 0 international postal code without Message data forma
87. SELECTED LENGTH 2065 INCHES 9600 8 BITS TIME 62 HOURS EDGE RESETABLE VALUES 1 1 1995 CONT FORM LENGTH 0 LENGTH 2065 INCHES PRESENT ADJUST 127 62 HOURS SOP ADJUST 127 MEMORY CONFIGURATION TOF LOW Qi vo INTERNAL MODULE 15 TOF DELTA 10 10 SCALABLE FONTS 32 TOF GAIN 12 20 LABEL SIZE 0416 02157 IN 008 MAXVOLT 3 3 END OF LIST LABEL ALIGNMENT AUTO STX Kc Set Configuration This command equivalent to using other system commands followed by the lt SOH gt U and intended for easily configuring a custom setup not dynamic configuration changes specifies the Power up Configuration parameter values for the printer The printer will reset upon completion of a command stream containing parameter value e g memory configuration label width etc changes no commands should be sent until this reset is complete The following are highlights of this command e These parameter values do not affect the factory default settings of the printer When separated by a semi colon multiple parameter values included in a single command stream All values are stored in Flash memory and remain in effect until new values are received or until factory defaults are restored e If system commands are sent that override the Power up Configuration value s Power up Configuration value s will be restored the next time the printer is powered or reset The parameters are the same as those found in the Setup Menu Note Il
88. SS 4203 4304 Statement of 155 Appendix R Bar Code Symbology Information 50 688 157 Glossary MT 159 dem 2 163 viii Preface Who Should Use This Manual This manual is intended for programmers who wish to create their own label production software Operators without programming experience may prefer to use a label creation software package For programming information on models not covered in this document a copy may be downloaded from our web site at http www datamaxcorp com Scope of This Manual This manual explains the Datamax Programming Language DPL and its related uses in the writing loading and storing of programs for the control and production of label formats using the Datamax E4203 E4204 and E4304 printers with Application firmware Versions 4 06 and above This manual contains the following chapters and appendices PREFACE on page 1 Contents organization and conventions used in this manual LL CONTROL CODES on page 5 Description of the attention getter characters necessary for the printer to receive a command sequence and available alternate characters and line terminators IMMEDIATE COMMANDS page 7 Description of the commands listed alphabetically that perform st
89. System Level Commands STX V Software Switch Settings This command allows the control of printer options where the appropriate value allows the option s to be turned or Off Each option has a corresponding bit whose value is 1 when enabled The tables below indicate the bit assignments and corresponding command value needed to enable the desired option s Syntax lt 5 gt Where n Is a single digit ASCII numeric value from 0 The value of is used to override the power up option settings Reset or power up returns the printer to the original settings Sample lt STX gt V5 The sample corresponds to setting Bits 0 and 2 creating a command value of 5 When applied this enables the Present Sensor and Cutter options Bit Assignment Printer Option O Use the bit assignment table above to determine command value n in binary table below 6 8 the command value 5 sets the bits and 2 00 17 Command Values for Bits Assigned Bit n Value 3 2 0 0 0 0 0 1 0 1 STX v Request Firmware Version This command causes the printer to send its version string this data is the same as that printed on the Configuration Label Syntax lt STX gt v Printer response VER E4304 04 06 09 01 2001 lt CR gt 22 E Class DPL Programmer s Manual System Level Commands STX W Request Memory Module Information This command requests
90. TES number must be six digits followed by a semi colon If the seventh character is not a semi colon then only a six digit code 39 will print The link flag is the character T in code 39 without a start stop indicator The location of this flag is based on the ECI code location length and height serial number may contain up to 25 alphanumeric characters and is encoded in the MicroPDF417 symbol This symbol is fixed at 4 columns and the rows are determined based on the following Number of Alphanumeric Data Number of Rows 1 14 4 15 22 6 23 25 8 The location of the MicroPDF417 symbol is based on the location of barcode The symbol s module width and height are fixed at the default The following example prints a TLC39 barcode MES RR lt STX gt L Dil 1Wt0000001500150123456 ABCD123456789 01234 1911A0801300170A1B2C3DAAA A1B2C3DAAA E 126 E Class DPL Programmer s Manual Appendix Wiz W1Z MicroPDF417 Valid Characters All ASCII characters depending on the selected options Variable Length This is a 2 dimensional barcode capable of holding large amounts of data in a small area It provides a high level of redundancy and error checking Specified Length With a string four digit length specifier values 0x00 through OxFF to be included within the data strings without conflicting with the DPL format record terminators Record Structu
91. Variable Length two dimensional bar code as documented in Version 7 0 Record Structure W1 b c d eee ffff gggg hh h Where Valid Inputs 1 2 3 and 4 Fixed value extended barcode set D and d Selects the QR bar code formatting mode where D Manual formatting Allows the data string hh h to be entered according with a comma as a field separator fields are optional per QR Code specifications and the first field indicates Model 1 or Model 2 QR Code Model 2 is the default d gt Automatic formatting Allows the data string hh h to be data only 1 to 9 and A toO Module size horizontal multiplier Each cell in the bar code is square therefore and 4 must be equal Depending on the conversion mode lt STX gt n or lt STX gt m each unit indicates a cell dimension of 01 inch or 4 mm d Ito9andAtoO Module size vertical multiplier explanation for c above hh h Valid ASCII character QR Code data string see Generation Structure below string followed by a iui termination character s Generation Structure The data input structure hh h is as follows 118 E Class DPL Programmer s Manual Appendix Auto Format bar code W1d With barcode identifier d the data begins after the last character of the column position field and does not include any command characters The data string is terminated with a termination character usua
92. When lt 5 gt 0 follows a single alphabetic or two numeric characters respectively then it also interpreted as a For appropriately configured scanners this would be interpreted transmitted as a C2 symbology identifier preamble and the alpha or numeric characters preceding are Application Indicators assigned by International The printer does not check AI validity When lt 5 gt 0 is anywhere else in the datastream a replaces it in the barcode symbol as with UCC EAN 128 field separators 124 E Class DPL Programmer s Manual Appendix lt ESC gt n Is encoded as FLG n and is interpreted as signaling Extended Channel Interpretation When the value of n is from 1 to 6 it signals that the following n digits comprise an extended channel identifier for use with ECI compliant barcode scanners An erroneous barcode symbol may result from failing to follow lt ESC gt n with n digits Any lt ESC gt 0 following lt ESC gt n and not within the n digits will be encoded as FLG 0 In the context of a FLG n any backslash VY 9210 will be interpreted by the scanner as two backslashes Sample 1 The variable length example encodes AZTEC with no ECI input and 23 error correction and prints the bar code A line of text is also printed lt STX gt L D11 lt CR gt 1w1 00000001501000000AZTEC lt CR gt 121100000000100Barcode W1 lt CR gt Barcode W1f
93. a fields with the constant header strings terminated with cr Chr 13 OrderData OrderTxt txtOrderNo Text amp Chr 13 amp OrderBC txtOrderNo Text amp Chr 13 amp CustomerTxt amp txtCustomer Text Iteml Iteml1NO txtIteml Text 8 Chr 13 6 Iteml1BC txtIteml Text Chr 13 amp ItemlTxt amp txtItemlDesc Text Chr 13 ItemlQty 8 txtItemlQty Text Concatinate entire label format and send out serial port PrintLabel CharSet amp MaxLength amp Chr 13 amp CharSet amp StartLabel amp Chr 13 amp PrintDensity amp Chr 13 amp Imagel amp Chr 13 amp OrderData 6 Chr 13 6 Iteml 4 Chr 13 amp Fixed Chr 13 amp EndLabel Comml Output PrintLabel End Sub Display the record form on the screen Private Sub Form Load E Class DPL Programmer s Manual 75 76 Fixed 10101 1 5 13 1 5 13 6 Qtyl 6 Chr 13 8 5 13 8 1 8 Boxsize 6 Chr 13 CharSet Chr 126 Alternate lt stx gt character MComm PortOpen 1 Open the serial port End Sub Exit the program by clicking Exit button with the mouse Private Sub cmdExit_Click Comml PortOpen 0 Close down the serial port End nd Sub Exit the program clicking Exit button with the mouse Private Sub cmdExit_Click Comml PortOpen 0 Close down the serial port End nd Sub E Class DPL Programmer s
94. a predetermined number of labels to be printed before a cut is performed One to 99 labels may be printed before a cut is made Syntax cnn Where nn Is a two digit number indicating the number of labels to be printed before performing a cut The printer default is one Sample lt STX gt L lt CR gt c07 lt CR gt 141100001000100SAMPLE LABEL lt CR gt Q0021 lt CR gt I The sample instructs the printer to make cuts after 7 14 and 21 labels have been printed See Label Formatting Command 5 Note The cutter must be enabled and all mechanism interlocks closed for the cut operation E Class DPL Programmer s Manual 41 Label Formatting Commands D Set Dot Size Width and Height This command is used to change the size of the printed dots of the printhead print resolution By changing the height of the dots the maximum length of a label can be increased or decreased See Appendix J Note 022 is the default value for all printers Syntax Dwh Where Is Dot Width multiplier 1 2 Is Dot Height multiplier 1 2 or 3 Terminate Label Formatting Mode and Print This command causes the printer when the processing Label Formatting commands to terminate the Label Formatting Mode then generate print and feed a label The label generated will be based on whatever data has been received to that point even if no printable data has been received Other termination commands are X and
95. acter generally a 0 hex but can be changed by the operator If the Data Input Mode is Automatic the data string is terminated with two successive termination characters E Class DPL Programmer s Manual 119 Appendix If HEX ASCII mode is selected in manual Data Input Mode only data for Kanji or Binary data types will be converted therefore the other data types and all command characters must be entered in ASCII format If HEX ASCII is selected in automatic Data Input Mode all of the data must be entered in HEX ASCII format Data Append Mode String Format Manual Formatting barcode W1D D tt pp I Where Data Append Mode String Format indicator te Total number of QR Codes in series 2 decimal digits ppp of Parity 2 digits 8 LSBs of data LAsabove o y le HH QML As above Asabove O cdata As above immediately followed by data 1 CR lt gt lt gt Characteristics Models Model 1 original version bar code versions 1 through 14 A ECC Levels M Q and L B Mask Selection Automatic or 0 through 8 C Data Input Modes Automatic and Manual D Data Append Mode Model 2 enhanced version bar code versions 1 through 40 ECC Levels R M and Mask Selection Automatic or 0 through 8 Data Input Modes Automatic and Manual Data Append Mode Representat
96. acter in order to receive a command sequence informing the printer that it is about to receive a command and the type of command it will be Control Commands System Level Commands and Font Loading Commands have their own unique attention getter followed by a command character that directs printer action Attention Getters The attention getters e g SOH are standard ASCII control labels that represent a one character control code i e or Ctrl A Appendix A contains the entire ASCII Control Code Chart Attention Getter For ASCII Character Decimal Value HEX Value Immediate Commands System Level Commands Font Loading Commands Table 2 1 Control Code Listings Alternate Control Code Modes For systems unable to transmit certain control codes Alternate Control Code Modes are available Configuring the printer to operate in an Alternate Control Code Mode selected via the Setup Menu or lt STX gt KD 51 commands requires the substitution of Standard Control Characters with Alternate Control Characters in what otherwise is a normal datastream 0 5 SX b xb oxi oxi See Label Formatting Commands set count by amount Table 2 2 Alternate Control Codes Note Throughout this manual lt SOH gt 5 CR lt ESC gt and will be used to indicate the control codes The actual values will depend on whether standar
97. and are incremented with each instance of G command use Syntax G Sample lt STX gt L lt CR gt 121100000000000Testing lt CR gt G lt CR gt 1A2210001000000 lt STX gt SA lt CR gt E lt CR gt The sample stores retrieves and prints the data in global register A One label is printed with Testing in two locations 44 E Class DPL Programmer s Manual Extended System Commands Select Heat Setting This command changes the on time of the printhead elements The factory default setting is 10 Increasing or decreasing this value causes an according change in the amount of heat applied by the printhead to the media surface resulting in a lightening or darkening of the contrast on the printed label This command helpful when using different media types where each requires a different amount of heat to properly image the media allows a heat adjustment per the application Syntax Hnn Where nn Isatwo digit heat value 00 30 see note below Sample lt STX gt L lt CR gt H15 lt CR gt 141100001000100SAMPLE LABEL lt CR gt sample sets printer for a heat value of 15 and prints one label Note The Darkness Potentiometer while providing subtle changes is intended to be used to match print contrast levels following printhead replacements M Select Mirror Mode This command instructs the printer to mirror all subsequent print field records by togg
98. atus queries and printer control commands SYSTEM LEVEL COMMANDS on page 11 Description of the commands listed alphabetically that control the printer and allow scalable font and image downloads EXTENDED SYSTEM COMMANDS on page 27 Description of the commands listed alphabetically that control the printer LABEL FORMATTING COMMANDS on page 39 Description of commands listed alphabetically that control the position of text and images on the media print or store and end the formatting process FONT LOADING COMMANDS on page 57 Description of commands listed alphabetically used when downloading font data in PCL 4 compatible bit maps E Class DPL Programmer s Manual 1 Preface GENERATING LABEL FORMATS on page 59 Description of the structure of records the different types and their use in generating label formats LL APPENDICIES A THROUGH on pages 71 through156 These contain details that cannot be ignored including various tables programming examples printer default values and bar code symbology details See the Table of Contents for specific content information GLOSSARY on page 157 Definitions of words abbreviations and acronyms used in this manual General Conventions These are some of the conventions followed in this manual Onthe header of each page the name of the chapter Onthe footer of each page the page number and the title of the manual Names o
99. be used to encode one RUNE symbol The data consists of one to three ASCII digits with value range of 0 to 256 The data may include leading zeros Data streams longer than three digits or data that includes non numeric characters may have unpredictable results Extended Channel Interpretation Mode A value of 1 provides for extended channel codewords to be inserted into the barcode symbol using escape sequences in the datastream This mode also provides for effective Code 128 and UCC EAN 128 emulations when used in with appropriately configured barcode readers The valid values for escape sequences are of the form ESC n where lt 5 gt 1 byte with value 2710 n 1 ASCII digit range 0 through 6 These escape sequences are encoded as FLG n character pairs described in the International Symbology Specification Aztec Code AIM 1997 11 05 and the meanings of the values for n are the same in both lt ESC gt 0 Is encoded as FLG 0 and interpreted as FNC1 or depending on its location in the datastream The printer does not validate lt 5 gt 0 locations in the datastream When 5 0 is the leading data in the stream it is interpreted as a FNCI as used in the Code 128 symbology and specifically for UCC EAN 128 applications For appropriately configured scanners this will be interpreted transmitted as symbology identifier preamble The printer does not validate UCC EAN 128 data syntax
100. be used with all fonts Syntax lt STX gt ySxx Where 5 Byte size designation see Appendix Single byte symbol sets U Double byte symbol sets Symbol set selection Sample lt STX gt ySPM The sample selects the PC 850 multilingual set STX Z Print Configuration and Dot Pattern Labels This command prints Configuration and Dot Pattern Labels The results are similar to performing the power up self test but the printer does not enter Hex Dump Mode To capture all printed information use the labels as wide as the maximum print width and at least 4 inches 102mm long Syntax Printer response FRI SEPTEMBER 026 1997 19 29 244 VER E4304 04 06 08 24 01 BOOT 83 2329 04A CODE 83 2325 04 FONT 83 2337 01A CPLD 59 2157 01C SYSTEM RAM CHECKS GOOD SYSTEM RAM SIZE 2016 KBYTES SYSTEM RAM AVAIL__ 1264 KBYTES REG POWER SUPPLY__ NO INPUT VALUES PAPER DARKNESS TRAN REFL RIBM THR 240 STX z lt STX gt Z DIRECT THERMAL COMMUNICATIONS NOT DETECTED 9600 8 EDGE SOP ADJUST 128 PRESENT ADJUST__ 128 TOF LOW 0 TOF DELTA 10 TOF GAIN 10 005 MAXUOLT 2 COUNTER INFORMATION ABSOLUTE VALUES 9 18 1999 LENGTH 773 INCHES TIME 20 HOURS RESETTABLE VALUES 9 22 1999 LENGTH 576 INCHES TIME 10 HOURS MEMORY CONFIGURATION INTERNAL MODULE 128 SCALABLE FONTS LABEL SIZE 0410 02218 IN Pack Module This com
101. ber by one for the next two labels Embedding Numeric strings for decrementing may also be embedded between alphabetic characters e g when systems require alphanumeric barcodes with alphabetic prefixes or suffixes Sample lt STX gt L lt CR gt 1611000001000101000CD lt CR gt 100 CR Q0003 CR E CR The sample will print three labels 1000CD 999CD and 998CD Note that the pad character is a placeholder for digits removed from the left side in the subtraction process When a fixed pitch font where all characters have the same width is used the justification of the rightmost character is sustained regardless of the number of digits replaced by the pad character on the left side E Class DPL Programmer s Manual 53 Label Formatting Commands Set Count by Amount This command allows applications using the increment decrement field command to print more than one label with the same field value before the field data is updated All printers default to 1 Note This command can only be issued once per label format In addition when alternate Control Codes are enabled the character must be replaced by the character hexadecimal 0x40 See Control Codes Syntax Ann Where 2 0 55 0 40 Is a two digit value that specifies number of labels to generated before incrementing or decrementing the field value Sample lt STX gt L lt CR
102. c Data Input Mode Automatic 1W1D1100000100010HThis is the data portion also with binary lt 0 gt lt 0 gt lt 0 83 gt lt 0 0 gt lt 0 0 gt Other examples DPL field record QR Code barcode Cell Size 0 04 inch square positioned at X 1 and Y 1 ECC H Mask 3 Data Input Mode Automatic 1W1D4400000100010H3This is the data portion also with binary lt 0 gt lt 0 gt lt 0 83 gt lt 0 0 gt lt 0 0 gt DPL field record QR Code barcode Cell Size 0 08 inch square positioned at X 1 Y 1 ECC L Mask None 8 Data Input Mode Manual Kanji 1W1D8800000100010L8MK lt 0x81 gt lt 0x40 gt lt 0x81 gt lt 0x41 gt lt 0x81 gt lt 0x42 gt lt 0x0D gt DPL field record QR Code barcode Cell Size 0 01 inch square positioned at X 1 and Y 1 L Mask None 8 Data Input Mode Manual Kanji in Hex ASCII format 1W1D1100000100010L8mK814081418142 0x0D E Class DPL Programmer s Manual 121 Appendix DPL field record QR Code barcode Cell Size 0 01 inch square positioned at X 1 and Y 1 ECC M Mask Automatic Data Input Mode Automatic 1W1d1100000100010Pallet 35FGA 55367 Datamax Corp Orlando Florida 32707 lt 0x0D gt lt 0x0D gt DPL field record QR Code barcode Cell Size 0 01 inch square positioned at X 1 and Y 1 ECC M default Mask Automatic default Data Inp
103. cannot be issued among Label Formatting Commands System Level Commands consist of 1 Attention Getter 0x02 or 0 7 see Control Codes 2 Command Character 3 Parameters if any STXA Set Time and Date This command sets the time and date The initial setting of the date will be stored in the printer s internal inch counter This date can be verified by printing a Configuration Label Syntax lt STX gt AwmmddyyyyhhMMj 7 7 1 digit for day of week 1 Monday 7 Sunday 2 digits for month 2 digits for day 4 digits for year 2 digits for hour in 24 hour format 2 digits for minutes 3 digits for Julian date numerical day of the year constant see notes below Sample lt STX gt A1020319960855034 Printed response Mon Feb 3 1996 8 55AM 034 Notes 1 When set to 000 the Julian date is automatically calculated otherwise the Julian date will print as that entered number without daily increments If factory defaults are restored the actual Julian date will also be restored 2 Printers without the Real Time Clock option lose the set time date when power is removed 3 Response format is variable see the Special Label Formatting Command lt STX gt T E Class DPL Programmer s Manual 11 System Level Commands STX a Enable Feedback Characters This command enables the feedback ASCII hex characters to be returned from the printer following specific events after each completed batch of labels when
104. characters followed by a carriage return Each character see below indicates an associated condition either true or false Byte 1 is transmitted first See lt SOH gt F Syntax lt 5 gt Sample lt SOH gt A Printer response format abcdefgh lt CR gt Where LLL VIN gt Interpreter busy Imaging Paperouorfaut 2 Prningbach 4 Buyprning 5 E NI t Y Primterpaused _Labelpresented 7 Ca O N awo O o o S E Class DPL Programmer s Manual 7 Immediate Commands SOH B Toggle Pause This command toggles the printer s paused state between on and off This is the same function achieved by pressing the PAUSE Button on the front panel Syntax lt SOH gt B Sample lt SOH gt B Printer response format This command will illuminate the Paused Indicator suspend printing and wait until one of the following occurs gt The lt SOH gt B command is sent to the printer gt The PAUSE Button is pressed Upon which the printer will turn the Paused Indicator off and resume operation from the point of interruption If the Receive Buffer is not full character will be transmitted from the printer SOH Stop Cancel This command performs the same function as pressing the CANCEL Button on the printer s front panel This function clears the current lab
105. counter requires the Real Time Clock option Syntax lt STX gt Kr lt CR gt STX KS Memory Configuration Scalable Font Cache See lt STX gt K STX KW Memory Configuration Printable Label Width See lt STX gt K E Class DPL Programmer s Manual 37 Extended System Commands 38 E Class DPL Programmer s Manual Label Formatting Commands Introduction The lt STX gt L command switches the printer from the System Level Processor to the Label Formatting Processor All commands following the lt STX gt L are interpreted as label formatting commands and can be used to override default parameter values Selectable parameter value defaults may be also reassigned via the Setup Menu as defined in the corresponding Operator s Manual Label formats that contain no commands overriding printer default values will assume those defaults Set Cut By Amount This command allows a predetermined number of labels to be printed before a cut is initiated a useful feature when it is necessary to print an uncut batch of labels Between 1 and 9999 labels may be printed before a cut is made The amount must be smaller than the quantity of labels printed The printer default is one Syntax nnnn Where nnnn Isa four digit decimal number indicating the number of labels to be printed before a cut is performed Sample lt STX gt L lt CR gt 0005 CR 1411000010001005 LABEL lt CR gt Q0021 CR E CR
106. d Value eee Field Range eee Field Interpretation SOS Not used Internal Bitmapped Font 000 999 A04 A72 S00 597 Font Height Font Selection U00 U9z 00 u9z Wxx 900 Table 8 5 Bar Code Height Field Interpretations 62 E Class DPL Programmer s Manual Generating Label Formats ffff Row Position The lower left corner of a label is considered the home position see Figure 8 1 The row position field is a vertical coordinate that determines how far above the home position the data is to be printed Field data is interpreted in hundredths of an inch or tenths of millimeters gggg Column Position This field is a horizontal coordinate that determines how far to the right of home position the data will be printed Appendix J lists the maximum values of gggg field hhhh Optional Scalable Font Height The height of a scalable font can be specified in two ways points or dots To specify the height in points the first character of the field is a P followed by the number of points 004 to 999 points To specify the size in dots all four characters must be numeric This field must be specified for scalable fonts See note below iiii Optional Scalable Font Width The width of a scalable font can be specified in two ways points or dots To specify the width in points the first character of the field is followed by the number of points 004 to 999 points
107. d or alternate control codes are enabled for the particular application Alternate Line Terminator Alternate 2 Control Codes provide for substitution of the line terminator as well as the control characters listed above The line terminator CR 0 0 is replaced 0x7C The following is a sample label format datastream for a printer configured for Alternate 2 Control Codes L 1911A10001000101234560 X UTO1ABCDE G E Class DPL Programmer s Manual 5 Control Codes E Class DPL Programmer s Manual immediate Commands Introduction When the printer receives an Immediate Command its current operation will be momentarily interrupted to respond to the command Immediate Commands may be issued before or after System Level commands however they may not be issued among Label Formatting Commands or during font or image downloading Immediate Commands consist of 1 Attention Getter 0 01 or 0 5 see Control Codes 2 Command Character SOH Reset This command resets the printer Resetting the printer returns all settings to default and clears both the communications and printing buffers The command also clears DRAM memory Syntax lt SOH gt Printer response The printer will reset T lt XON gt The T may come after lt gt SOHA Send ASCII Status String This command allows the host computer to check the current printer status The printer returns a string of eight
108. delete up to sixteen alphanumeric characters for graphic or label format files 3 for bit mapped font files and 2 for smooth scalable font files STX Y Output Sensor Values This command causes the printer to respond with its sensor value status The printer must be in Test Mode see the lt STX gt KD command When STX Y is received the printer will respond with A D sensor values see below To repeat the display of values send the printer a space character 20 hexadecimal Send lt ESC gt to terminate the function Syntax lt 5 gt Printer response Thermistor ADC 0048 Reflective ADC 0000 Transmissive ADC 0204 Paperout ADC 0000 24 Volt ADC 0217 Contrast ADC 0093 TOF Adjust ADC 0170 Ribbon ADC 0125 Battery level Good lt CR gt Where Paperout ADC 0225 indicates paper is present 0000 indicates paper is not present Battery level Good indicates the battery has sufficient charge Low indicates the battery is insufficiently charged Note Some readings e g the Media Sensor require printer controlled paper movement to indicate a meaningful value E Class DPL Programmer s Manual 25 System Level Commands STX y Select Font Symbol Set This command selects the scalable font symbol set The selected symbol set remains active until another symbol set is selected See Appendices E I and the lt STX gt KS command for more information Option dependant Not all symbol sets can
109. digit pairs from 00 through 99 inclusive as well as special characters Code 128 Subset C is used for double density encoding of numeric data To select Code 128 Subset C place an ASCII C DEC 67 HEX 43 before the data to be encoded Subset C can only encode an even number of numeric characters When the data to be encoded includes an odd number of numeric characters the last character causes the printer to automatically generate a switch to subset B and encode the last character appropriately in subset B Note It is recommended that a character be used as the first character in order to prevent an A or C from changing the subset Special Character Handling Characters with an ASCII value greater than 95 are considered special characters To access these values a two character reference table is built into the printer see table below As an example to encode FNC2 into a Code 128 Subset A bar code send the ASCII amp DEC 38 HEX 26 followed by an ASCII DEC 66 HEX 41 Code FNC2 will be encoded Example ATEST amp B123 Data Encoded TEST lt FNC2 gt 123 GAT FNG NA _ 9 Table 1 Special Character Handling Control Codes Control character encoding into Code 128 Subset A by sending these control codes E NUL a through z 1 26 ESC FS GS RS ASCII 127 US The following example prints a Code 128 ba
110. e Binary 550 557 scalable ERY User downloaded Double Byte Binary U50 U5 scalable User downloaded Double Byte Hex ASCII As scalable Standard internal fonts Table H 1 Font 9 Specifications 132 E Class DPL Programmer s Manual Symbol Sets Character Maps Symbol Set Selection Scalable fonts are mapped through a symbol set sometimes referred to as a code page This mapping allows the host application to select a variety of characters to match the application For example in the code page CP character code OxE4 causes character to be printed In code page E7 the character code OxE4 causes 6 to be printed Each of the code pages allows the host application to emulate a character set for their application The code page symbol set is selected using a DPL Command lt STX gt ySxx where xx is the two letter code page Identifier Note Not all fonts have an entire compliment of character codes for a given code page symbol set Single Byte Code Pages Code Page Identifier Datamax TrueType 11 11 Description Arabic 8 PC Cyrillic ITC Zapf Dingbats 100 ITC Zapf Dingbats 200 ITC Zapf Dingbats 300 ISO 60 Danish Norwegian PS ITC Zapf Dingbats DeskTop ISO 8859 1 Latin 1 ISO 8859 2 Latin 2 ISO 8859 9 Latin 5 ISO 8859 10 Latin 6 ISO 8859 7 Latin Greek ISO 8859 7 Latin Greek ISO 8859 8 Latin Hebrew ISO 8859 5 Lat
111. e lt STX gt I command See Appendix M for more information To print an image see Generating Label Formats Note The native format for storing downloaded PCX and BMP images is RLE 2 This results better compression ratio for gray scale images and for images with very large areas with either black or white effectively resulting in more module space for downloaded images Syntax lt STX gt Iabfnn n lt CR gt data Where a Memory Module Bank Selection A B or C see Appendix J b Data Type optional A or omit b Value Image Data Value Range A ASCII Characters 0 9 A F 7 bit omitted 00 FF 8 bit Format Designator Designator Format Type 7 bit Datamax image load file B 8 bit format image flipped black and white B amp W b BMP 8 bit format image as received B amp W I 8 bit format image flipped B amp W 8 bit format image received B amp W P PCX 8 bit format image flipped B amp W PCX 8 bit format image as received B amp W R RLE 2 Native format nn n Upto 16 characters used as an image name CR 0 0 terminates the name data Image data Sample lt SOH gt D lt STX gt IApTest CR data data lt CR gt The sample instructs the printer to 1 receive an 8 bit PCX image sent by the host in an 8 bit data format 2 name the image Test and 3 store it in memory module A E Class DPL Programmer s Manual 15 System
112. e Generating Label Formats and Appendix H for details Scalable CG TIMES Font Code eee field SA0 CG TIMES 54 CG TIMES ITALIC 542 TIMES BOLD 543 CG TIMES BOLD ITALIC Sample Greek DPL file and resulting label lt 02 gt L lt CR gt D11 lt CR gt ySWG lt CR gt 11SA003600020P020P020 WG Greek Characters from lt CR gt 118A003000085P020P020the internal Symbol Set lt CR gt 11SA002400085P020P020font code SAO CR 11SA001500050P020P020 lt ca gt lt el gt lt eb gt lt f9 gt lt f3 gt lt ef gt lt f1 gt lt df gt lt f3 gt lt el gt lt f4 gt lt e5 gt lt 20 gt lt d3 gt lt f5 gt lt ed gt d gt lt e4 gt lt f1 gt lt e9 gt lt ef gt lt 20 gt lt CR gt 11SA001100100P020P020 lt f 4 gt lt f9 gt lt e3 gt lt 20 gt lt c5 gt lt f4 gt lt el gt lt df gt lt f1 gt lt f 9 gt lt e3 gt lt 20 gt lt f4 gt lt e7 gt lt f 2 gt lt CR gt 11SA000700140P020P020Datamax lt CR gt 1X1100000100020B365190005005 lt CR gt Q0002 lt CR gt E lt CR gt lt gt Note The notation lt gt in this DPL file should be interpreted by the reader as representing the hexadecimal value of the character sent to the printer E Class DPL Programmer s Manual 147 Appendix WG Greek Characters from the internal Symbol Set font code SAO Karwoopicatse toy Etaipmy Datamax ILPC KANJI Option
113. econd 1200 2400 96 0 Sample lt STX gt KcSPAB38 lt CR gt The above sample sets the printer serial port baud rate to 38400 BPS the host computer communications setup is expected to be the same and has the same effect as using the Setup Menu Data Bits The lt STX gt KcSPADn command selects either 7 or 8 data bits where n may be either of the following En engen Das ord a Sample lt STX gt KcSPAD8 lt CR gt The above sample sets the printer serial port to receive eight bit words the host computer communications setup is expected to be the same and has the same effect as using the Setup Menu SOP Adjust Fine tunes the label Start Of Print position see note below Stop Location Configures the printer for all standard label present positions as follows Stop Location Host Provides backward compatibility for users engaging the cutter or Present Sensor to achieve present distances The stop location present distance may be controlled dynamically by the host using the lt STX gt f or lt STX gt Kf commands This selection has the same effect as lt STX gt KD Ignore Host Distance bit value 0 Eu Sets the stop location to approximately 2 mm behind the peel bar edge a nominal peel position The Present Sensor status and this setting are independent Sets the stop location to a nominal cut position For die cut media the position is just following the end of the label The cutter status and t
114. ed 2 of 5 with a modulo 10 checksum Valid Characters 0 9 Variable Length Valid bar dimensions The expected ratio of wide to narrow bars can range from 2 1 to 3 1 The following example prints an I2 of 5 bar code with a modulo 10 checksum added and a wide to narrow bar ratio of 3 1 lt STX gt L D11 1J000000015010001234567890 lt CR gt 012345678905 121100000000100Barcode J lt CR gt Barcode J E Class DPL Programmer s Manual 107 Appendix Plessey Valid Characters 0 9 Length One to 14 digits Valid bar dimensions The expected ratio of wide to narrow bars can range from 2 1 to 3 1 If a plus character is the last data character an additional MSI checksum will be added to the bar code in place of the plus character The following example prints a Plessey bar code with a wide to narrow bar ratio of 3 1 0123456789 Barcode K D11 1K000000015010001234567890 CR 121100000000100Barcode K CR B lt STX gt L L Interleaved 2 of 5 with modulo 10 checksum and shipping bearer bars Valid Characters 0 9 Variable Length For the bearer bars 14 characters are required Valid bar dimensions The expected ratio of wide to narrow bars can range from 2 1 to 3 1 The following example prints an I 2 of 5 bar code with a modulo 10 checksum a wide to narrow bar ratio of 3 1 and bearer ba
115. el format from the print buffer pauses the printer and illuminates the Paused Stop Indicator The pause condition is terminated as described under 5 Syntax lt SOH gt C SOH D SOH Shutdown This commands the printer to ignore Immediate Commands A The shutdown command is required before loading images or fonts because some may contain data sequences that could be interpreted as Immediate Commands After the SOH shutdown command is sent Immediate Commands can be turned back on by sending a valid SOH command three times separated by a one second delay between each command or by manually resetting the printer It is good practice to check batch quantities lt 5 gt to verify that the 5 commands are working Syntax lt SOH gt D 8 E Class DPL Programmer s Manual Immediate Commands SOH E Send Batch Quantity This command causes the printer to send back a four digit number indicating the quantity of labels that remain to be printed in the current batch followed by a carriage return Communications latency may cause this value to be higher than actual on some printers Syntax lt SOH gt E Printer response nnnn lt CR gt Where nnnn 15 four decimal digits 0 9999 SOH Send Status Byte This command instructs the printer to send a single status byte where each bit 1 or 0 represents one of the printer s status flags followed by a carriage return see below If an option is unavailable fo
116. er s Manual 159 Datamax Programming Language programming commands used specifically for control of and label production in Datamax printers fan fold Media that is folded and stacked feed speed The rate at which the media moves under the printhead in non printed areas and between labels Flash memory Non volatile memory does not require printer power to maintain data that can be erased and reprogrammed used to hold the printer s operating program font A set of alphanumeric characters that share a particular typeface gap A space between die cut or notched labels used to sense the top of form IPS inches per second Imperial measurement of printer speeds label A paper or synthetic printing material typically with a pressure sensitive adhesive backing label length The distance from the top of the label to the bottom of the label as it exits the printer label repeat The distance from the top of one label to the top of the next label label tracking Excessive lateral side to side movement of the media as it travels under the printhead label width The left to right measurement of the label as it exits the printer media Generalized term for all types of printing stocks including roll fed continuous butt cut die cut reflective and fanfold media hub Device in the printer used to support roll media media sensor An electronic device equipped with photosensors to detect media and the top of form on d
117. ere a Memory module designator A C see Appendix J Sample lt STX gt qA The above sample clears memory module A Notes 1 If a module directory intermittently returns the message No Modules Available or if data continuously becomes corrupted the module may be at the end of its service However before concluding that a module is defective cycle the printer s power and test the module 2 Some Flash Memory Expansion options must have jumpers installed to perform this command Select Reflective Sensor This command enables reflective black mark sensing for top of form detection of rolled butt cut and fan fold or tag stocks with reflective marks on the underside This Media Sensor will detect a minimum mark of 0 1 inches 2 54 mm between labels see the Operators Manual for media requirements The end of the black mark determines the top of form Use the lt STX gt O command to adjust the print position Syntax lt STX gt r Default Edge sensing STX S Set Feed Speed This command controls the rate at which media is output when the FEED Button is pressed Syntax lt STX gt Sn Where n Isa letter value see Appendix E Class DPL Programmer s Manual 19 System Level Commands STX s Set Single Buffer Mode This command available for backward compatiblity instructs the printer to use single buffer operation In single buffer mode the printer will erase and format all fields This
118. esolution 8 For maximum throughput the memory allocated should allow for a minimum of three times the computed requirement or the available label length as determined by lt STX gt KQ command should be three times the label print length STX Kb Backfeed Time Delay The backfeed time delay command controls the time a printed label is allowed to remain presented before being retracted to the start of print position Syntax lt STX gt Kbnnn lt CR gt Where nnn Seconds 10 28 E Class DPL Programmer s Manual Extended System Commands STX KC This command returns the configuration of the printer The form of the returned data is similar to that of a Configuration Label This command should be parsed by KEYWORDS not Character POSITIONS Each line is terminated by a CR 0 04 amp LF 0x0a Datamax will make every effort to keep Keyword consistent Get Configuration Syntax lt STX gt KC lt CR gt Printer response XXX NOT SET 00 0000 00 22 000 VER E4304 04 06 08 24 01 ALIGN LENGTH 460 BOOT 83 2329 04A STOP LOCATION PEEL CODE 83 2325 04F INPUT VALUES FONT 83 2337 01A PAPER 0 CPLD 59 2157 01 255 INTERNAL FLASH MODULE PRESENT TRAN 250 SYSTEM RAM CHECKS GOOD REFL 0 SYSTEM RAM SIZE 2015 KBYTES 116 SYSTEM RAM 1244 KBYTES TEMP 52 REG POWER SUPPLY__ YES VOLT 214 CONFIGURATION COUNTER INFORMATION DIRECT THERMAL ABSOLUTE VALUES 1 1 1995 SERIAL PORT
119. estroyed If no module is present there will be no printer response Syntax lt STX gt wa Where a Module designator see Appendix J Printer response format Module A results Where A Module tested XXXX Module size in kilobytes results Test results given as Good or Bad STX X Set Default Module This command typically used prior to the loading of PCL 4 bit mapped fonts see Font Loading Commands is designed to allow the user to select between modules when downloading information The default module is one of the following 1 The first alpha designator of the existing modules if item 2 has not occurred 2 The module selected by this command Syntax lt STX gt Xa Where a Module designator A or B see Appendix J Sample lt STX gt XB The sample sets B as the default module 24 E Class DPL Programmer s Manual System Level Commands STX x Delete File from Module This command removes a specific file from the specified module The file name is removed from the module directory and thus the file cannot be accessed The actual storage space occupied by the file is not released To reclaim deleted file storage space use lt STX gt z Syntax STX xmtnn n CR Where m Module designator see Appendix J t The file type identification code Image file L Label format file Bit Mapped font file S Smooth scalable font file nn n The name to
120. f other manuals referenced are in Italics Notes are added to bring your attention to important considerations tips or helpful suggestions Boldface is also used to bring your attention to important information This manual refers to IBM PC based keyboard command characters for access to the ASCII character set Systems based on different formats e g Apple s Macintosh should use the appropriate keyboard command to access the desired ASCII character See Appendix A for the ASCII character set Computer Entry and Display Conventions Command syntax and samples are formatted as follows The Courier font in boldface indicates the command syntax and Italics are used to indicate the command syntax parameters 9 3 Regular Courier font indicates sample commands files and printer responses Square brackets around something indicates that it is optional CR is used to identify the line termination character Other strings placed between lt gt in this manual represent the character of the same ASCII name and are single byte hexadecimal values e g lt STX gt CR and 0 equal 02 OD and OD respectively 3 Hexidecimal values are often displayed in programming language conventions e g 0x02 02 hex 0 41 41 hex etc 2 E Class DPL Programmer s Manual Preface Getting to Know the Printer The following highlights basic printer setup and control For deta
121. ferences to the Euro currency symbol with the associated single byte decimal values W1 Windows 3 1 Latin 1 128 WE Windows 3 1 Latin 2 128 WG Windows Latin Greek 128 WL Windows 3 1 Windows 3 1 Baltic 128 WT Windows 3 1 Latin 5 128 WR Windows Latin Cyrillic 136 Not supported by ILPC Times characters appearing in Code Page identifiers not supported are unpredictable Table I 1 Single Byte Code Pages 1 ale lt lt lt 34 2 2 5 Gti ti 7 See Pp Microsoft Publishing v PCB Code Page 437 1 PCB DIN Code Page 437 __ PC 850 Multilingual 0 v PCB TK Code Page 4377 a e 1 0v 77S Baltic PV y v JISOtbSwedsh Symbol O 7 v 030000 1804 United Kingdom v SOG ASCH v Ventura International Ventura Sd PT Windows 3 1 Pp Windows Latin Arabic Pp __ v Pp Windows 3 1 Latin 2 v v Windows3 I Baltic Lith rti Lv v Windows30lain O Windows Latin Cyrillie Windows 3 1 Latin5
122. gt CR gt The sample produces two labels the first at a print speed of 2 inches per second and the second at the printer default 46 E Class DPL Programmer s Manual Extended System Commands Set Backfeed Speed This command typically used in conjunction with the Cut or Peel and Present operations controls the rate at which the labels will reverse to align to the next start of print position The setting remains in effect until another backfeed speed command is received or until the printer is reset Syntax pa Where a Is single alpha character representing a speed see Appendix for valid ranges Sample lt STX gt L pF The above sample sets the printer to backfeed at 3 5 inches per second 0 Set Print Quantity This command sets the number of the label copies to be printed A one to five digit value is allowed if the command is delimited by a carriage return lt CR gt This permits host applications to generate label quantity commands without the need to pad leading zeros A four digit command value does not need to be lt CR gt terminated Syntax Qnnnnn Where nnnnn Is a one to five digit delimited value setting for the number of labels to be printed The default value is one Sample lt STX gt L 121100000000000Testing lt CR gt Q20 lt CR gt E lt CR gt The above sample will print a batch of 20 identical labels E Class DPL Programmer s Manual 47 Label Formatting Commands R Set Row Offset A
123. he lt STX gt KE command The number of hexadecimal digits between the delimiter pair must be even see notes below Syntax bbcc nn x Where byte delimiter O to leading and trailing aa 2 bytes ASCII hexadecimal encoded range each character 0 9 A F bb 2 bytes ASCII hexadecimal encoded range each character 0 9 A F optional 2 bytes ASCII hexadecimal encoded range each character 0 9 A F optional nn 2 bytes ASCII hexadecimal encoded range each byte 0 9 A F optional Notes 1 A delimiter pair with no ASCII hexadecimal pairs between e g will be interpreted as one byte whose value is that of the delimiting character allowing the assigned delimiter to be interpreted as itself rather than as the delimiter 2 A delimited string that contains either a non valid hexadecimal character e g FX or an odd number of bytes will be treated as an illegal string and therefore not correctly decoded Character Encoding Examples In the following partial datastreams it is assumed that character encoding is enabled and that the selected delimiter a backslash has been transmitted to the printer 1 lt STX gt KEY In each example the printer has not received an unpaired delimiter prior example Partial DPL Interpretation Sample Datastream 5 bytes AB CE with values 4116 4216 5 16 4316 4416 3 bytes with values 1 and EF 6
124. his setting are independent Sets the stop location to that of the tear bar on the printer cover None Sets the stop location to the start of the next label equivalent to setting the lt STX gt KD Ignore Host Distance bit value 1 Note The Peel Cut Cover and None settings prevent host commands from affecting start of print lt STX gt O and stop position lt STX gt f lt STX gt Kf commands from being honored All stop locations can be adjusted with PRESENT ADJUST 32 E Class DPL Programmer s Manual Extended System Commands TOF Bias TOF Bias Reflective Manual entry for the control of the minimum voltage required to detect the label TOF Delta TOF Delta Reflective Manual entry for the control of the low level voltage difference level to recognize a label gap or mark TOF Gain TOF Gain Reflective Manual entry for the control of the voltage to the LED emitter of the Media Sensor STX KD Database Configuration This command stored in Flash memory and retained for future power ups controls the printer s environment and operates as a pseudo DIP switch Syntax lt STX gt KDwxyz lt CR gt Where and 2 are binary values with respective bit settings as defined in the following tables Bit 0 is least significant Sample lt STX gt KD H lt CR gt The sample configures the printer as follows Sets the communications to 9600 baud with an 8 bit word and no parity H Selec
125. ie cut notched or reflective media MMPS millimeters per second Metric measurement of printer speeds notched stock Media typically tag stock with holes or notches in the material that is used to signal the top of form The printer must be set to gap to use this media type perforation Small cuts extending through the backing and or label material to facilitate their separation Also referred to as perf preprinted media Label stock that contains borders text or graphics floodcoating etc present sensor An electronic sensor that provides a signal to the printer firmware that a label is present typically mounted beyond the printhead where the labels exit the printer print speed The rate at which the media moves under the printhead during the printing process 160 E Class DPL Programmer s Manual reflective media Media imprinted with carbon based black marks underside of material which is used to signal the top of form when the reflective Media Sensor is enabled registration Repeatable top to bottom alignment of printed labels reverse speed The backward rate of media motion into the printer during tear off peel and present and cutting operations for positioning the label at the start of print position ribbon An extruded polyester tape with several layers of material one of which is ink like used to produce an image on the label Also referred to as roll media A
126. igit quantity including leading zeros Sample lt STX gt E0025 lt STX gt G Printer response 25 labels of the current format in memory will be printed Note This command may be issued prior to a label format without a specified quantity Qnnnnn E Class DPL Programmer s Manual 13 System Level Commands STX e Select Edge Sensor This command enables transmissive see through sensing for top of form detection of die cut and holed or notched media This Media Sensor will detect a minimum gap of 0 1 inches 2 54 mm between labels see the Operator s Manual for media requirements Use the lt STX gt O command to adjust the print position This is the printer default setting at power up or reset Syntax lt 5 gt Note This command is ignored when lt STX gt cnnnn is issued with non zero value for STX F Form Feed This commands the printer to form feed to the next start of print Syntax lt STX gt F Printer response The printer will form feed Note Following a reset if the length of the first label fed is less than the label offset value defined by the lt STX gt O command the printer will advance past that label until a top of form is detected or until the offset is reached skipping labels as necessary unless Label Alignment is enabled STX f Set Form Stop Position Backfeed Command This sets the stop position of the printed label allowing the label to stop at a point past the star
127. iled information including connections features media loading and operating instructions refer to the appropriate Operator s Manual The Power Connection Depending upon the model see below the printer can be connected via an external 110 220 or auto ranging AC power supply Always ensure the power supply included with the printer is compatible with your electrical service E4203 E4204 and E4304 110 220 VAC 4 IPS Interface Cable Requirements The interface between printer and host be either a serial RS 232C cable as shown below or a Centronics parallel cable When the printer is connected with both a serial and parallel cable it will automatically interface to the first connection that transmits valid data After this connection has been made the printer s power must cycled to change the interface connection Serial Interface Cable Requirements Host DB 9S Printer DB 9P Host DB 25S Printer DB 9P TX 3 2 RX 2 RX 2 3 TX 3 TX r7 RTS r7 RTS CTS 8 4 DTR CTS 5 4 DTR DSR 6 8 CTS DSR 6 8 5 GND fs GND GND 7 5 GND DTR 4 DTR20 Shield Shield Shield Shield Part 32 2300 01 Part 32 2301 01 E Class DPL Programmer s Manual 3 Preface Interface Cable Connection Connect the printer using the appropriate cable as show
128. in Cyrillic ISO 69 French Greek 8 PC 8 Greek ISO 21 German Hebrew 7 Hebrew 8 ISO 15 Italian Legal Math 8 Macintosh PS Math D D n BI 2 1 3141 4 El E2 5 E6 E7 EG EH ER FR G8 GK GR HO H8 IT LG 8 5 gt P NI Table I 1 Single Byte Code Pages E Class DPL Programmer s Manual 133 Single Byte Code Pages continued Code Page Identifier Font Format Description Datamax IntelliFont TrueType 6 U 11U U Microsoft Publishing PC 8 Code Page 437 PC 8 D N Code Page 437N PC 852 Latin 2 PC 851 Latin Greek PC 862 Latin Hebrew Pi Font PC 850 Multilingual PC 864 Latin Arabic PC 8 TK Code Page 437T PC 1004 PC 775 Baltic PTXT3000 Roman 8 ISO 17 Spanish ISO 11 Swedish Symbol Turkish 8 PS Text ISO 4 United Kingdom ISO 6 ASCII Ventura International Ventura Math Ventura US Windows 3 1 Latin 1 Windows Latin Arabic Wingdings Windows 3 1 Latin 2 Windows Latin Greek Windows 3 1 Baltic Latv Lith Windows Windows 3 0 Latin 1 Windows Latin Cyrillic Windows 3 1 Latin 5 HP Hewlett Packard PCL 5 Comparison Guide Ed 1 Internal Symbol Set Charts Chart B for comparison Symbol Set support requires a matching font Datamax ILPC CG Times supports many of these see note 4 below As of this writing the following symbol sets contain re
129. in turn decreases printer throughput when incremental decremental or replacement fields are used see Label Formatting Commands See STX d Syntax lt STX gt s STX T Print Dot Pattern Label This command instructs the printer to produce a Dot Pattern Label a label comprised of differnet patterns that exercise the printhead This is the same test label printed when powering on the printer while pressing the FEED Button except that the printer will not produce a Configuration Label or enter the Hex Dump Mode To view the full dot pattern use media at least 2 inches 51 mm long and as wide as the maximum print width Syntax lt STX gt T Printer response STX t Test DRAM Memory Module This command tests the DRAM module however the printer must be in Test Mode for the command to function The printer returns a one line message stating the module condition no message is returned if a module is unavailable To enable the Test Mode see the lt STX gt KD command Syntax lt STX gt t Printer response format results lt CR gt Where a 2 Slot B XXX Module size in Kbytes results Test results given as Good or 20 E Class DPL Programmer s Manual System Level Commands STX U Label Format String Replacement Field This command places new label data into format fields to build a label The new data string must equal the original string length
130. inter s RS 232 port Failure to receive a could indicate an interfacing problem Syntax lt STX gt k Printer response Y 16 E Class DPL Programmer s Manual System Level Commands STX L Enter Label Formatting Command Mode This command switches the printer to the Label Formatting Command mode Once in this mode the printer expects to receive Record Structures and Label Formatting Commands Immediate System Level and Font Loading commands will be ignored until the label formatting mode is terminated with E s or X see Label Formatting Commands for additional information Syntax lt STX gt L STX M Set Maximum Label Length This command instructs the printer move media this distance in search of the top of form label edge notch black mark etc before declaring a paper fault A paper fault condition can occur if this setting is too close within 0 1 inch 2 54 mm to the physical length of the label Therefore it is good practice to set this command to 2 5 to 3 times the actual label length used The minimum value should be at least 5 127 mm Syntax lt STX gt Mnnnn Where nnnn Is a four digit length 0000 9999 100 mm 10 Maximum setting is 9999 99 99 inches or 2540 mm The default setting is 16 inches 406 4 mm Sample lt 5 gt 0500 The sample sets maximum travel distance of 5 inches unless printer is in metric mode see lt STX gt m 5 Set Metric Mode This com
131. ion of data Dark Cell Binary 1 Light Cell Binary 0 Symbol Size not including quiet zone 4 cells on each of the 4 sides Model 1 21 X 21 cells to 73 X 73 cells Versions 1 to 14 increase in steps of 4 cells per side Model 2 21 X 21 cells to 177 X 177 cells Versions 1 to 40 increase in steps of 4 cells per side Data Characters per symbol maximum for symbol size Numeric Data Model 1 Version 14 ECC L 1 167 characters Model 2 Version 40 ECC L 7 089 characters 120 E Class DPL Programmer s Manual Appendix Alphanumeric Data Model 1 Version 14 ECC L 707 characters Model 2 Version 40 ECC L 4 296 characters Binary Data Model 1 Version 14 ECC L 486 characters Model 2 Version 40 ECC L 2 953 characters Kanji Data Model 1 Version 14 ECC L 299 characters Model 2 Version 40 ECC L 1 817 characters Selectable Error Correction Four levels of Reed Solomon error correction allowing recovery of the symbol codewords 796 15 25 30 Code Type Matrix Orientation Independence Yes Example lt STX gt L D11 lt CR gt lh n 1W1D44000001000102HThis is the data portion also with binary lt 0 gt lt 0 gt lt 0 83 gt lt 0 0 gt lt 0 0 gt 21100000000100 4 W1D lt CR gt B Barcode W1D Where QR Code barcode Cell Size 0 1 inch square positioned at X 1 and Y 1 ECC H Mask Automati
132. is entered in field b then the height field eee is not used The bitmapped fonts include 8 different fonts see Appendix C The character mapping for these fonts is shown in Appendix A or a subset thereof E Class DPL Programmer s Manual 63 Generating Label Formats a 25 4 Rotation b Oto amp seeAppndxC 7 9 ooo 000109999 5922 0000 to 9999 see Appendix T 22 2 Valid ASCII character string up to 255 characters followed Data by a termination character Table 8 6 Internal Bit mapped Font Record Structure 2 Smooth Font and Downloaded Bit Mapped Fonts This record type is used for internal smooth fonts CG Triumvirate see Table C 4 or a bit mapped font downloaded to a memory module see Font Loading Commands When 9 is entered in field b then the height field eee determines the font The internal smooth font has up to 13 font sizes see Appendix C Values 100 through 999 select individual fonts stored in DRAM or Flash memory These include downloaded bit mapped fonts see Table 8 7 Use eee values of 096 099 for Kanji fonts if equipped see Appendix I The character mapping for these fonts is shown in Appendix A or a subset thereof 8 L23and4 Rotation b 9 Value lto9andAtoO HeightMuliplier 000 999 000 to 099 Reserved A04 to A72 x04 x72 Font Size 22 2
133. ith the Flash Memory Expansion Option and available Flash memory reference the Configuration Label or following the lt STX gt KC command the INTERNAL FLASH MODULE PRESENT message The Flash memory has limited writes and is intended for permanent or semi permanent storage of downloaded images fonts and label formats Table J 1 Module Identifiers Printer Model Maximum Format Fields Total Characters for all Fields All E Class Models 450 16 000 2 When the product of the number of fields and characters in each field exceeds the available printer memory the limiting factor portions of the label may not print Table J 2 Field amp Characters Limits Print Dot Dimensions Maximum Maximum Printer Resolution Nominal Print Width sooo Value Model ou DPMM Millimeters Dots Miliimeters Inch 4208 74204 0043 0052 11x13 832 0410 1248 0410 Table 1 3 Print Widths Resolutions and Record Column Field Values E Class DPL Programmer s Manual 137 Appendix J 138 E Class DPL Programmer s Manual Appendix Speed Ranges Defaults Speed Command Value Inches Per Second E Ix Second gt 3 24 cC c MN Table K 1 Speed Values Printer Model Backfeed Default Default Default The E 4203 maximum speed is limited to unless the optional regulated power supply is attached Table K 2 Speed Ranges and Defaults
134. ize is 15 see lt STX gt KS for syntax Double byte fonts require five additional units of cache 4 Bar Codes Valid inputs for the bar code field b are letters Uppercase letters will print a human readable text below the bar code Lowercase letters will print the bar code only For example entering a p in the b field selects the Postnet bar code Because the Postnet font does not provide human readable data the uppercase P is not valid Other bar codes without a human readable counterpart include u MaxiCode z PDF417 etc See Appendix F For module based bar codes field d is the narrow bar width in dots bar code module size For consistent results in all rotations for bar codes of this type field d and field c must have the same value For ratio based bar codes field c 1s the wide bar width in dots the numerator field d is the narrow bar width in dots the denominator The eee height field represents the bar code height The valid range is from 001 to 999 which translates to bar heights ranging from 0 011 254mm to 9 99 inches 253 7mm Bar codes that require additional parameters specified use the jj j data field as the location for these parameters See the Appendix G for specific bar code details 3 L2 3and4 4 Roon b bb A to Z and a to z except P z Wna where n is 1 to 9 Bar Code EM and 15 to S and a to s Non is an implied 1 d 1 to 9 and A toO Narrow Bar
135. l drv ByVal hPrinter As Long End If WIN32 Dim ch As String 1 f1 As Integer loadfile String Private Sub cmdOpenFile Click On Error GoTo ErrHandler Set Filters CommonDialogl Filter All Files 80 E Class DPL Programmer s Manual Specify Default Filter CommonDialogl FilterIndex 1 Display Open dialog box CommonDialogl ShowOpen loadfile CommonDialogl FileName Label2 Caption loadfile Exit Sub ErrHandler Exit Sub End Sub Private Sub cmdStoreImage_Click Dim hPrinter amp Dim jobid amp Dim res amp Dim written amp Dim printdata Dim docinfo As DOC INFO 1 loadfile Forml txtFile Text If loadfile Then sgBox You must Open a file to send vbExclamation Exit Sub End If Open file fl FreeFile Open loadfile For Binary As f1 Open printer for printing res amp OpenPrinter SelPrinter hPrinter 0 If res 0 Then sgBox Unable to open the printer Exit Sub End If docinfo pDocName lt MyDoc docinfo pOutputFile gt vbNullString docinfo pDatatype vbNullString 10014 StartDocPrinter hPrinter 1 docinfo Call StartPagePrinter hPrinter Call WritePrinter hPrinter ByVal printdata Len printdata written While Not EOF 1 Get 1 ch printdata ch Call WritePrinter hPrinter ByVal printdata Len printdata written Wend
136. legal or out of range parameter values may have unpredictable results E Class DPL Programmer s Manual 29 Extended System Commands Syntax lt 5 gt 1 1 aa val lt CR gt Where 221 Are two letter parameter names vali valz vals Are parameter values with ranges appropriate for the associated parameter Sample lt STX gt KcPA120 CL600 STC lt CR gt The sample sets the Present Adjust to 120 dots the Continuous Label Length to 6 inches and the Media Sensor Type to Continuous The following table summarizes the different Set Configuration Command parameters Descriptions of these parameters can be found by referencing the Command Equivalent Where no equivalent is given Unique parameters descriptions are given below Parameter Parameter Value Units Command Name Pneumonic Range Interpretation Equivalent It CL 0 9999 1 100 in 10 lt STX gt c none N S 1 2 Standard Alternate Alternate 2 lt STX gt KD 1 Enabled Disabled lt STX gt KD Continuous Label Length Configuration Query Control Codes Cutter Equip Q lt 5 gt 0 128 4 Y N A Enabled Disabled Automatic Internal Module A Label Alignment Label Alignment Length Label Width No Paper Min OOS No Paper Min Reflective Print Method Present Adjust Present Sensor Enable 4 gt 2 d ELE lt Z 000 999 1 100 inch 75 head
137. length header information but the initial 64 bytes will remain consistent with the PCL 4 LaserJet II format Syntax ESC s Wdd d Where THE 15 the number of bytes of font descriptor data from 1 to 3 ASCII decimal digits dd d 15 descriptor E Class DPL Programmer s Manual 57 Font Loading Commands Character Code This code is the ASCII decimal value corresponding to the next downloaded character Syntax lt ESC gt c E Where Is the ASCII value of the character three digits maximum 0 to 999 s W Character Download Data This command contains all of the information for one downloaded character Syntax lt ESC gt s Wnn n Where 15 number of bytes of bit mapped data three digits maximum 1 to 999 nn n Is bit mapped data 58 E Class DPL Programmer s Manual Generating Label Formats Introduction This section explains the use of the different fields in a print format record Format Record Commands Table 8 1 is an example of a label format as seen by the printer while the figure below is the label generated from this format The printer receives the data sequentially left to right top to bottom String Sent to Printer Printer Interpretation Begin label format 5 dot sz 121100000050005Home Position lt CR gt Format text 191100602000200ROTATION 1 lt CR gt Format text 100602000200ROTATION 2 lt CR gt 100602000200ROTATION
138. ling a mirroring mode Mirrored fields are transposed visually as if the object is viewed in a mirror Syntax M Sample lt STX gt L 161100003200010 NOT MIRRORED lt CR gt lt CR gt 161100003000400 MIRRORED lt CR gt B Printed result NOT MIRRORED E Class DPL Programmer s Manual 45 Label Formatting Commands Set Metric Mode This command sets the printer to measure in metric based units e g a column offset of 0010 will be interpreted as 1 0 mm All printers default to imperial inch mode Syntax m Sample lt STX gt L lt CR gt m 141100001000100SAMPLE LABEL lt CR gt I The sample prints the text SAMPLE LABEL starting at location coordinates 10 0 mm 10 0 mm n Set Imperial Inch Mode This command sets the printer to measure in inch based units printers default to imperial units Syntax n Sample lt STX gt L lt CR gt n 141100001000100SAMPLE LABEL lt CR gt The sample prints the text SAMPLE LABEL starting at location coordinates 1 0 inch 1 0 inch Set Print Speed This command controls the rate at which label printing is performed Syntax Pa Where a Is a single alpha character representing a speed see Appendix for valid ranges Sample lt STX gt L PC 141100001000100LABEL1 lt CR gt lt 5 TX gt L 141100001000100LABEL2
139. lly a 0 hex that occurs twice in succession The bar code symbol will have the following characteristics 1 Model2 2 Error Correction Code Level Standard Reliability Level 3 Mask Selection 2 Automatic 4 Data Input Mode Automatic Example lt 5 gt 1 D11 lt CR gt 1W1d4400000100010This is the portion lt CR gt lt CR gt 121100000000100Barcode W1D lt CR gt y es required I Manual Formatting bar code W1D With barcode identifier D minor changes allow flexibility for data entry Spaces have been added for readability q e m i cdata cdata cdata cdata term Where Valid Inputs love 2 I QR Code Model number optional Model 2 is default H Q M L Error Correction Level H Ultra Reliability Level HighReliability Level Standard Reliability Level High Density Level 0 8 none Mask Number optional None Automatic Selection 0 7 Mask 0 to Mask 7 Mask Data Input Mode Automatic setting ASCII Automatic hex ASCII Manual Setting ASCII manual hex ASCII N A B Character Mode immediately Numeric N data followed by data Alphanumeric data Binary Bnnnn data where nnnn data byte count 4 decimal digits byte count 2 for hex ASCII Kanji K data term lt CR gt lt CR gt lt CR gt The data string is terminated with a termination char
140. low a 300 DPI printer will use 4 point smooth font to produce a printed label with the words four point font Sample format lt STX gt L lt CR gt 1911A0400100010four point font lt CR gt E lt CR gt Ann E4203 E4204 m Smooth Font 9 Font Size Specification Syntax Point Size fonts greater than A36 are created from multiples of smaller fonts 2x or 3x as available fonts greater than A24 are created from multiples of smaller fonts 2x or 3x as available Table C 4 Internal Bit Mapped Smooth Font 9 Size Chart 84 E Class DPL Programmer s Manual Appendix Internal and Smooth Font Samples The identifying number is used in the Format Record header field b to cause the printer to use the corresponding font 0 Identifies a 96 character alphanumeric font uppercase and lowercase Font PRE 0123466789 lt gt 78 RECCEF Sn ITKLMNOF RSTUUAXYZUN1 abcdeishiskimnoze D 1 Identifies 145 character uppercase and lowercase alphanumeric font that includes desenders and ascenders Font 1 084 0123456789 lt gt ABCDEFGH IJKLMNOPQRSTUUUXYZ 17 abcdefgh InnoParstuuuxuz 17 9 2 Identifies 138 character alphanumeric upper and lowercase font Font 2 1288 0123456789 lt gt
141. mand causes the printer to reclaim all storage space associated with all deleted files on the specified module see lt STX gt X and lt STX gt x Syntax Where m lt STX gt zm Module designator see Appendix J 26 E Class DPL Programmer s Manual Extended System Commands Introduction Extended System Commands expand certain System Level Commands providing extra printer control Extended System Commands are issued in the same context as System Level Commands The table below lists the commands lt 8 gt Command Character Backfeed Time Delay Get Configuration Set Configuration Database Configuration Memory Configuration Scalable Font Cache Memory Configuration Printable Label Width Table 5 1 Extended System Command Characters STX K Memory Configuration This command configures the available DRAM as a method for managing printer memory The DRAM memory includes standard DRAM Memory can be assigned to specific entities or functions in units of 4KB blocks The allocation s as set by this command draw from the same memory pool control the sizes of internal Module A Scalable Cache and label width The command indirectly affects maximum print length and label throughput see note below The printer executes the memory configuration specified by the command during the next idle period following its receipt and is stored in Flash memory then reinstated upon a power up or reset If the total req
142. mand sets the printer to interpret measurements as metric values e g lt 5 gt 0100 will equal 10 0 mm The default is Imperial inches Mode see lt STX gt n Syntax lt STX gt m STXn Set Imperial Inches Mode This command sets the printer to interpret measurements as imperial values e g lt STX gt c0100 will equal 1 00 inch The printer defaults to this mode Syntax 5 E Class DPL 6 Manual 17 System Level Commands STX O Set Start of Print Position This sets the point to begin printing relative to the top of form the label s edge as detected by the Media Sensor The printer will feed from the top of form to the value specified in this command to begin printing This value operates independently of the lt STX gt f command Syntax lt STX gt Onnnn Where nnnn Isa four digit offset value The zero setting is the default value and settings below 50 are adjusted back to the default value The default setting is 0220 in Imperial Mode 0559 in metric Sample lt STX gt 00300 The sample sets a start of print position of 3 0 inches unless in Metric Mode see lt STX gt m 5 Cycle Cutter This command will cause the optional cutter mechanism to immediately perform a cut after all previously received commands are executed The cutter must be installed enabled and the interlock closed for operation Syntax lt 5 gt 5 Character Hex Dump Mode
143. mount This command allows vertical adjustment of the point where printing begins The printer is instructed to print label formats nnnn units above the position that the format specifies This feature is useful when a single format is to be printed on labels containing preprinted information Note If using preprinted labels where the placement of the preprint data varies from label to label the printed information may overlap the preprinted data Syntax Rnnnn Where nnnn s a four digit number 0000 9999 for the row offset in inches 100 or millimeters 10 The printer default is 0 Sample lt STX gt L R0037 CR 1411000010001005 LABEL lt CR gt B The sample prints a label with a row offset amount of 37 of an inch unless in metric mode r Recall Stored Label Format This command is used to retrieve label formats stored on a memory module Syntax Where nn n Is the label name up to 16 characters in length The samples below explain different ways to recall and print a label format To view a memory module s directory of label formats use the lt STX gt W command String Sent Printer Interpretation Sample 1 lt STX gt L lt CR gt Begin label format 5 lt gt Retrieve format named TEST Q0 002 lt CR gt Quantity requested 2 ESCRS Terminate formatting and print Sample 2 lt STX gt L lt CR gt Begin label format rTEST lt CR gt Ret
144. n eee height field as shown in the tables on the following pages Example 1911u4000100010A0215134 lt CR gt The example above will produce a printed string consisting of the two Kanji characters referenced by the two HEX ASCII pairs AO 21 and 51 34 on appropriately equipped printers Example 1911U4001000100P012P012 lt 0x38 gt lt 0x77 gt lt 0x00 gt The above example will produce a printed string consisting of the one 12 point Kanji character referenced by the byte pair with hex values 38 and 77 on appropriately equipped printers Note Double byte hex representation character strings terminate with two null bytes and a CR i e 00 00 OD The representation is terminated with lt CR gt The alphanumeric portion nn of the scalable font specifiers Snn Unn unn numbering system is a base 62 numbering system 0 1 2 8 9 A B C X Y Z a b c x y z For scalable fonts the S designation signifies single byte characters while the U designates double byte characters The lower case U counterpart signifies that print data in the label format record is in a hex ASCII format Fonts that been downloaded with designators of the form nn where nn are alphanumeric as seen in the font size specifier eee height column below may be referenced in label format records by their upper or lower case specifiers as available However fonts created for double byte access cannot be accessed using S
145. n a perimeter finder pattern Two types are ECC 000 140 and ECC 200 Specified Length W1C Same as the variable length however with a Byte Count Specifier values 0x00 through OxFF can be used within the data string without conflicting with the DPL format record terminators ECC 000 140 symbols These square symbols can be any odd sizes from 9x9 to 49x49 which may be specified in the fields kkk and If the symbol is specified with even numbers of rows columns the next largest odd value will be used Input values greater than 49 or less than 9 will cause the symbol to be automatically sized for the input character stream The record structure is expanded for visual clarity Record Structure W1 b d ffff 9999 hhhh iii j kkk 111 mm m Where 2 L23 and4 Rotation 00000000 c and C Lowercase selects the DataMatrix bar code variable length pq Uppercase selects the Datamatrix barcode with a Byte Count Specifier 9 i 9andA O Module size vertical multiplier 000 999 No effect must be numeric 0000 9999 Label position row 0000 9999 Label position column see Appendix J 0000 to 9999 Optional string length specifier Field termination is set by this byte count This decimal value includes all of the data following this byte count field but does not include itself iii 000 050 080 100 140 3 digit convolutional error correction level If any number other than one of
146. n below Host Computer Serial Ports Parallel Port 25Pin 9 B mm bai T 27 Parallel Connection Connection Front Panel Operation The Front Panel consists of three lights and three dual function buttons E4203 E4204 and E4304 2 FEED Fs cance Power Fault Paused Normal Operating Mode While in the normal operating mode the printer s buttons control operations such as pause feed and cancel The FEED button is used to clear a fault after its cause has been removed For testing and reset functions combinations of the buttons must be simultaneously pressed as follows F Buttons Function s F2 Prints the Internal Test Label see the Operator s Manual for an example Performs warm reset and then returns to normal operating mode F2 Prints Database Configuration and Dot Pattern Labels Resets the printer to factory defaults Turn the printer off then press and hold buttons while turning printer Continue to depress the buttons until the Paused Indicator turns off For setup and calibration functions see the Operator s Manual 4 E Class DPL Programmer s Manual Control Codes Introduction The printer requires a special attention getter char
147. ndix J nn n Represents the name of the label maximum 16 characters Sample lt STX gt L lt CR gt D11 lt CR gt 191100501000000123456789012 lt CR gt 1911005020000001234567 lt CR gt 191100500000000Sample lt CR gt 1X1100000000000B250250002002 lt CR gt Q0001 lt CR gt SATEST lt CR gt The example stores a format in memory module and names it TEST To recall a label format from the module use command E Class DPL Programmer s Manual 49 Label Formatting Commands T Set Field Data Line Terminator This command intended for use with record types that accept binary data e g PDF417 allows special binary control codes e g a carriage return to be embedded in the printed data by setting an alternate data line terminator It remains valid only for the next format record then resumes the defaults value See Alternate Control Code Mode Syntax Where nn Is an ASCII two character representation of a HEX code to be used for the end of data terminator Sample lt STX gt L lt CR gt TOO CR 191100200000000TEST lt NULL gt 141100001000100TERMINATOR lt CR gt Q0001 lt CR gt E lt CR gt The sample sets the printer to use a NULL terminator ASCII NULL HEX 00 for the data line termination code The terminator is immediately restored to a carriage return lt CR gt as seen in the format record containing the text TERMINAT
148. ners specifying a number of data points that represent the vertices of the object which can range from a simple line two points or a triangle three points to any free form outline Polygons may be filled with a variety of different patterns All row column specifiers are interpreted as inches 100 or millimeters 10 depending on the printer mode see lt STX gt m Record structure for a polygon spaces have been added for readability 1 LI ppp rrrr cccc P ppp bbbb rrrr rrrr GCO u SCR Where 1 Rotation mustbe 1 001 Fixed Value 1 Multiplier mustbe 1 RowofPoint2 1 Multiplier must be cccc ColumnofPoint2 ppp FillPattem Sd errr RowofPoit3 cccc ColumnofPointl Additional Points P Polygon ID Fixed Value lt gt Termination Character Table 8 13 Polygon Record Structure Note The points must be specified in the order to be drawn the last point specified is automatically connected to the first point to close the polygon If only two points are specified a single line will be drawn See Label Formatting Command A E Class DPL Programmer s Manual 67 Generating Label Formats fff rrrr cccc C ppp rrrr CR variety of different patterns Row column and radius are interpreted as inches 100 or X 11 A circle is created by defining by its center point and radius Circles may be filled with a millimeters 10 depending on
149. nn as the font designator and vice versa single byte fonts cannot be accessed using Unn or unn Note Downloading scalable fonts requires specifying the font ID a two character alphanumeric The S or U u used in referencing the font within label format records is not used in the download specification Attempting to utilize a scalable font with an inappropriate byte size designation e g S on double byte or U u on single byte will have unpredictable results E Class DPL Programmer s Manual 131 Appendix Font 9 Font Specifications Height and Associated Characteristics Font Character Font Size Specifier Point Name Mapping eee Height Size Font 9 Bit Mapped Internal Fonts CG Triumvirate Single Byte 000 010 5 6 8 10 12 14 18 24 30 36 48 respectively CG Triumvirate Single Byte 04 05 A06 08 10 4 5 6 8 10 12 14 18 24 12 14 18 24 A30 30 36 48 72 respectively A36 A48 A72 Font 9 Bit Mapped Downloaded Fonts bit mapped typeface Font 9 Scalable Resident Fonts Specifications optional CG Triumvirate Single Byte S00 scalable Bold Condensed Scalable Scalable Font 9 Scalable Resident Fonts Specifications optional Scalable Scalable Scalable CG Times Bold Single Byte SA3 scalable Italic Scalable Scalable Scalable Chinese Scalable Chinese Scalable Scalable Scalable Font 9 Scalable Downloaded Fonts User downloaded Single Byt
150. ols There are 24 square symbol sizes available which may be specified in fields kkk and Ill measured in modules as indicated below If an ECC 200 symbol is specified with odd numbers of rows or columns the next largest even value will be used Input values greater than 144 or less than 10 will cause the symbol to be automatically sized for the input character stream The record structure is expanded for visual clarity Record Structure W1 b d ffff 9999 hhhh iii j kkk 111 mm m Where a L23 and4 Rotation c and C Lowercase selects the DataMatrix bar code variable length Uppercase saec the Daci trade s be Cou lto9andAtoO Module size vertical multiplier 000 to 999 No Effect Must be numeric 0000 to 9999 Label position row 0000 to 9999 Label position column see Appendix J hhhh 0000 to 9999 Optional string length specifier Field termination is set by this byte count This decimal value includes all of the data following this byte count field but does not include itself Reed Solomon error correction Fixed value not used kkk 10 12 14 16 18 20 22 digit even number or 000 of rows requested 000 causes rows to 24 26 32 36 40 44 48 be automatically determined If the rows and columns do not match the 52 64 72 80 88 96 symbol will be sized to a square using the greater of the two values 104 120 132 144 10 12 14 16 18 20 22
151. ons 12 1 1 000 0005 0005 HOME POSITION lt CR gt a d eee ffff gggg hhhh iiii jj Termination character 60 E Class DPL Programmer s Manual Generating Label Formats Location Record Mapped Font Font Font Code Rotation Rotation Rotation Rotation Rotation 1 5 FotD 9 9 BaCoe Multiplier Multiplier Multiplier Multiplier gt Multiplier Multiplier Multiplier Multiplier font size ID ID Bar Code pee dee ee ee EEFT Row Row Row Row Row Row 9999 Column Column Column Column Colu Column postion meson postion Postion 3323 Data String Data String Data String Data String Image Name Graphic Specifiers Table 8 3 Record Type Structure In Table 8 3 the record structure is shown for each of the record types The left most column shows the locations of all characters in the record and corresponds to the example above the table Each record structure interprets the characters of the record in its own way though some of the characters interpretations are identical across all record types For example the characters ffff are interpreted as Row Position in all record types While c is a Width Multiplier for Internal Bit Mapped Font Smooth Font Scalable Font and Image record types it has other interpretations for Bar Code and Graphics record types The Header Fields Each of the fields in the record header is generally described below Please
152. ote The printer will wait forever for the specified number of bytes to be transmitted by the host If a communications error occurs and the host transmission is complete The host may transmit fill data or an lt SOH gt to warm reset the printer If the download fails try re sending the file If it continues to fail the following are possible causes An invalid or corrupted file is being downloaded Make sure the file you are attempting to download is correct and applicable for your printer model 9 Possible communications errors are occurring Check the cable connections between the host computer and the printer Be sure to use a quality shielded cable The printer could not successfully write to or erase the Flash memory it may be defective Try again and if problem persists call for service 154 E Class DPL Programmer s Manual E CLASS 4203 4304 Statement of Compatibility The E4203 E4204 and E4304 printers have been designed to be compatible with the Ovation2 printer The firmware source code is shared with the Ovation2 and the DMX XL All DPL parsing and font bar code graphical imaging will perform the same The obvious difference is the maximum print speeds Slight differences in the print heat tables may also be noticed Printer Setup The E Class operator interface is different from the Ovation2 or the DMX XL Default power up parameters may be set that are not available on
153. other printers Media sensing scaling values TOF Bias etc may not be effective on other printers of the same type due to hardware tolerances Label Alignment This function prevents labels with lengths that are less than the distance between the printhead and the Media Sensor from being wasted at power up See the appropriate Operator s Manual for detailed information Note The Real Time Clock RTC option allows the position state of the label to be stored thus eliminating the need for an alignment prior to the printing of the first label assuming the label position has not moved while power was off If the label stock has been changed then a Forced Alignment the FEED Button is pressed and held for four seconds is recommended Label Alignment Description Setting Continuous stock 6 5 or Disabled At power up printing will begin at the current label position greater die cut notched and without any alignment unless the RTC option is installed Media Type Operation Mode reflective stocks multiple form lengths length Once loaded and aligned subsequent power ups will result in no wasted labels Enabled Use for constant label lengths Specify the Label Alignment Length using the lt STX gt KcAL command or the Setup Menu Press and hold the FEED Button four seconds or toggle 6 5 or less die cut notched Automatic Use for easy label length changes and to automatically set the and reflective stocks maxim
154. plete the label formatting and begin printing will cause the printer to continue interpreting all subsequent data as label print format records Generating Records Every record is made of three parts 1 A header that is 15 bytes in length 2 the data to be printed and 3 a termination character e g lt CR gt marking the end of the field The header is used to select the appearance of the data when printed by specifying rotation font type size and position Every header contains similar information but this information may be used in different ways by different types of records The six record types are 1 Internal Bit Mapped Font 2 Smooth Font Simulated 3 Scalable Font 4 Bar code 5 Images 6 Graphics The Structure of a Record The basic structure of the record is described below For details regarding the various interpretations of the six types see Record Structure Types The third line of the label format example in Table 8 1 consists of the following 121100000050005 POSITION lt CR gt This string comprises a complete record shown below divided into its three basic component parts Data String Termination Character 121100000050005 HOME POST Table 8 2 Record Components The record conforms to the following fixed field format spaces added for visual clarity Identifying lower case letters have been placed below the field values for reference in the following secti
155. printer mode Record structure for a circle spaces have been added for readability Circles Where 1 Circle ID Fixed Value Fixed Value Fixed Value fill pattern radius of the circle eo e 5 5 5 m c gt 5 55 5 25 9 5 5 5 2 wo oO 5 oO Ej a a a 5 5 5 9 gt a 5 un a 2 p gt gt gt 6 5 QN lt e 9 NSSSSNSS 22777222 7 SSSSSS 272222 Q GE Wy emt XQ 25 Rss RX cov 1 2 XQ 221222 AD 2222 Available Fill Patterns for Polygons and Circles row of the center point termination character gt gt o gt o o n a o graphic field multiplier must be 1 nor n multiplier must be 1 E Class DPL Programmer s Manual small grid
156. r the printer the single bit will always be 0 See lt SOH gt A Syntax lt SOH gt F Printer response format X lt CR gt Where X is 0 through Oxef with bits as indicated in the Condition column below Pp Awayszero Po tor Printer paused 000000 sy printing ator Printing batch RibonoworFadt PaproworFadt Bit one is the least significant bit SOH U Update System Database with Current Database This command saves the current printer configuration to Flash memory Only those parameters stored in Flash memory are affected These are all the parameters that can be modified via the Setup Menu The values of any lt STX gt System Commands issued prior to lt SOH gt U and affecting printer configuration items will also be saved See the lt SOH gt command above for details on what events occur during a reset Syntax lt SOH gt U Printer response The printer will reset lt XON gt T The T may come before the lt XON gt E Class DPL Manual 9 Immediate Commands 10 E Class DPL Programmer s Manual System Level Commands Introduction The most commonly used commands are the System Level Commands These are used to load and store graphic information in addition to printer control System Level Commands are used to override default parameter values fixed and selectable and may be used before or after Immediate Commands but
157. r code 1E000000015010001234567890 CR 8123456789 121100000000100Barcode E lt CR gt Barcode E E Class DPL Programmer s Manual 105 Appendix EAN 13 Valid Characters 0 9 Length Thirteen digits If the user provides 12 digits the printer will compute the checksum or if the user provides the checksum the printer verifies it against an expected checksum When these checksums do not match all zeros will be printed along with the expected checksum See Appendix Q Valid bar dimensions The fourth character of record is the width of the narrow bar in dots All other bars are a ratio of the narrow bar 2 times 3 times and 4 times the narrow bar width The following example prints an EAN 13 bar code lt STX gt L D11 1F0000000150100012345678901 CR 121100000000100Barcode F CR B a i23456 7898012 Barcode F G EAN 8 Valid Characters 0 9 Length Eight digits If the user provides 7 digits the printer will compute the checksum or if the user provides the checksum the printer verifies it against an expected checksum When these checksums do not match all zeros will be printed along with the expected checksum Valid bar dimensions The fourth character of record is the width of the narrow bar in dots All other bars are a ratio of the narrow bar 2 times 3 times and 4 times the narrow bar width The following example prints an EAN 8 bar
158. re W1 b d ffff gggg hhhh i j k 1 0 Where Valid Inputs 123 and 4 Fixed value extended barcode set z and Z Lowercase selects the MicroPDF417 bar code variable length Uppercase selects the MicroPDF417 barcode with a Byte Count Specifier i 0to9andAtoO Module size vertical multiplier 0 default size eee oo hhhh 0000 to 9999 Optional string length specifier Field termination is set by this byte count This decimal value includes all of the data following this byte count field but does not include itself 01 Macro Character Substitution Disable Fixed ASCII digit 0 Reserved future use mm m 8 bit data followed by a Data to be encoded termination character The number of columns i and the row error correction index j combine to form a row column error correction selection index ij which determines other characteristics of the symbol as shown in the following table E Class DPL Programmer s Manual 127 Appendix Row Column Error Correction Selection Index Implications Rows Columns Maximum Symbol Maximum Maximum Maximum Errors i i Binary Data Alphabetic Numeric Corrected Bytes Characters Characters 4 M 14 it N oo CA 25 o pud o2
159. read 19 5 5 Set Single Buffer Mode 20 51 Print Dot Pattern 20 STXt Test RAM Memory Module s a eae tr ts ce 20 STX U Label Format String Replacement 40422222 21 STX V coc eta au dota eto et quiste 22 STX v Request Firmware 22 STXW Request Memory Module 23 STXw Test Flash Memory Module 24 STX X Sel 81 11 18 E 24 STX x Delete File from 25 STX Y Output Sensor Values xo ee ta odia dea d odeur cas 25 STXy select Font Symbol 26 STXZ Print Configuration and Dot Pattern 26 STXz Pack dato pe uae uta osa utto Cor De 26 Extended System 70 8 27 UE 27 STXK Memory ConflgUtallOTi aet rot e b e tt HO 27 STX Kb Backteed Time Delay hel Peste ct 28 SIXKCO Get Configuration 29 STX Kc 29 SIXKD Database 33 STXKE Character
160. record at the image download is FFFF lt CR gt E Class DPL Programmer s Manual 143 Appendix 2891 CR BIAAFLOGO CR 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 8030 00000007 0003 001 0001 0003 0018000 001 8000 0003 000000 0001 000 8030FFC00000000FFC0003FFFFC001FC0001FC0003FFFFC0018000FFCO01FF800040001FFFFE0000007FFFC0001FFFFF0000 8030 000000003 0001 001 0001 0001 0018000 001 800040001 0000003 0001 000 8030FFC000000000FC0001FFFFC001FE0001FE0001FFFFC00180007FCO00FF800060001FFFFE0000003FFFC0003FFFFF0000 8030 0000000007 0001 001 0001 0001 00180007 000 00060000 0000001 0003 000 8030FFE000000
161. rieve format named test X lt CR gt Terminate formatting lt STX gt G lt CR gt Print Sample 3 lt STX gt L lt CR gt Begin label format D11 lt CR gt Dot size 1x1 PO lt CR gt Print speed 0 Slew speed 0 Retrieve format named test E lt CR gt Terminate formatting and print 48 E Class DPL Programmer s Manual Extended System Commands 5 Set Slew Speed This command controls the rate at which the label is moved through non printed areas The setting remains unchanged unless another slew speed command is received or until the printer is reset Syntax Sa Where a Is a single alpha character representing a speed see Appendix for valid ranges Sample lt STX gt L SE 141100001000100LABEL1 lt CR gt lt STX gt L 1411000010001000LABEL2 lt CR gt The sample sets the slew speed to 3 inches per second 76 mmps and prints two labels The slew speed for the second label is the same as the first 5 Store Label Format In Module This command stores a label format to a specified module Supplying the module name see Appendix J for valid designators will store the label to that module otherwise using C will cause the label format to be stored in the selected default module see lt STX gt X In addition this command terminates the Label Formatting Command Syntax Sann n Where a Is the module designator representing a single character module name see Appe
162. rs lt STX gt L 211 1100000001501000123456789012 lt gt 121100000000100Barcode L lt CR gt B 12 34567 89012 8 Barcode L 108 E Class DPL Programmer s Manual Appendix 2 digit UPC addendum Valid Characters 0 9 Length Two digits Valid bar dimensions The fourth character of record is the width of the narrow bar in dots All other bars are a ratio of the narrow bar 2 times 3 times and 4 times the narrow bar width Human readable characters for this symbology are printed above the bar code symbol The following example prints a 2 digit UPC bar code addendum lt STX gt L 121100000000100Barcode M lt CR gt 42 211 1M000000015010042 lt CR gt Barcode M N 5 digit UPC addendum Valid Characters 0 9 Length Five digits Valid bar dimensions The width multiplier is the width of the narrow bar in dots All other bars are a ratio of the narrow bar 2 times 3 times and 4 times the narrow bar width Human readable characters for this symbology are printed above the bar code symbol The following example prints a 5 digit UPC bar code addendum lt STX gt L 81234 Dl 1N000000015010001234 CR 121100000000100Barcode N lt CR gt Barcode N O Code 93 Valid Characters 0 9 A Z 96 and the space character Variable Length Valid bar dimensions The width multiplier is the width of the narrow bar in dots other ba
163. rs are a ratio of the narrow bar 2 times 3 times and 4 times the narrow bar width 100000000150100Datamax42 CR 121100000000100Barcode O lt CR gt Dal alamax42 0 I The following example prints a Code 93 bar code lt STX gt L 211 E Class DPL Programmer s Manual 109 Appendix Valid Characters 0 9 Length Five 9 or 11 digits non numeric data bytes are accepted but not encoded Valid bar dimensions The width and height multiplier values of 00 will produce a valid symbol The bar code height field is ignored since the symbol height is U S Postal Service specific and is used to produce a zip code on a letter or package for the U S P S The following example prints a Postnet bar code lt STX gt L 011 1p000000015010032569 lt CR gt Barcode 121100000000100Barcode p lt CR gt B Q UCC EAN Code 128 Valid Characters 0 9 Length Nineteen digits Valid bar dimensions The fourth character of record is the width of the narrow bar in dots All other bars are a ratio of the narrow bar 2 times 3 times and 4 times the narrow bar width Human readable characters for this bar code symbology are printed above the bar code symbol The printer spreads a weighted module 103 checksum The following example prints a UCC EAN Code 128 bar code lt STX gt L 01 2
164. s bar code This bar code is to display the Facing Identification Mark FIM used on certain types of letter mail for the U S Postal Service FIM A Courtesy reply mail with Postnet FIM B Business reply penalty or franked mail without Postnet FIM C Business reply penalty or franked mail with Postnet FIM D OCR readable mail without Postnet usually used on courtesy reply envelopes The following example prints an FIM A bar code lt STX gt L DII 1v0000000150100A lt CR gt 121100000000100Barcode v lt CR gt A Barcode v I E Class DPL Programmer s Manual Appendix 7 7 PDF417 Valid Characters ASCII characters Variable Length z This two dimensional barcode holds large amounts of data in a small area while providing a high level of redundancy and error checking if specified Specified Length Z Same as the variable length however with a Byte Count Specifier values 0x00 through OxFF can be used within the data string without conflicting with the DPL format record terminators Record Structure a b d eee hhhh i j kk 11 mm nn n Where Valid Inputs 2 3 and 4 Rotation eee 11 z and Z Lowercase selects the PDF417 bar code variable length 1 5 0 Module size horizontal multiplier 000 NotUsed hhhh 0000 to 9999 Optional string length specifier Field termination is set by this byte co
165. sets can be used with every font Symbol sets containing the Euro currency character are W1 WE WG WL WR and WT see Appendix I and the lt STX gt y command Note The following sets were produced using a Windows based PC compatible with an English United States keyboard properties layout Results may vary if printing this document using a different input locale DN ISO 60 Danish Norwegian Symbol Set 12 13 4576 Be I 28 DT DeskTop Symbol Set E Class DPL Programmer s Manual 91 Appendix E1 ISO 8859 1 Latin 1 Symbol Set 5 7 8 29 oo 30 o 50 P of 70 p sof of 140 pgo um cof Do D eof FO 221201 2128 a 21 25 ES ISO 8859 5 Latin 5 Set 5 4 829 ee Aaa eae 92 E Class DPL Programmer s Manual Appendix ISO 69 French Symbol Set GR ISO 21 German Symbol Set IT ISO 15 Italian Symbol Set Gr p quz qoe pep ep ois LG Legal Symbol Set E Class DPL Programmer s Manual 93 Appendix MC Macintosh Symbol Set _ como poems 9
166. t STX gt F 14 141 STX G 13 14 52 53 141 STX Iabfnn n CR data 15 66 141 143 lt STX gt imtnnName lt CR gt xx xdata 16 141 lt STX gt J 16 142 lt STX gt k 16 142 STX Kbnnn 28 141 lt 5 gt 29 137 141 lt STX gt KDwxyz 5 20 25 30 32 35 lt STX gt KEex 34 35 141 STX Kfnnnn 32 36 142 lt STX gt KQ 26 36 141 lt STX gt Kr 37 141 lt STX gt KR 37 141 lt STX gt L 17 39 141 lt STX gt m 17 142 lt STX gt Mnnnn 17 142 lt STX gt n 17 142 STX o 16 141 E Class DPL Programmer s Manual 163 lt STX gt Onnnn 14 18 19 32 33 36 142 lt STX gt p 18 141 lt STX gt P 18 141 lt STX gt Q 19 141 lt STX gt qa 19 141 lt STX gt r 19 30 142 lt STX gt s 13 20 142 lt 5 gt 5 54 55 141 lt STX gt Sn 13 19 142 lt STX gt t 20 142 lt STX gt T 20 141 lt STX gt Tstring 11 34 56 141 lt STX gt U T nnss s 21 22 50 141 lt STX gt v 22 141 lt STX gt Vn 22 30 142 lt STX gt wa 24 142 lt STX gt Wa 19 23 48 141 lt 5 gt 25 26 141 STX Xa 24 26 49 57 135 142 lt STX gt Y 25 141 lt STX gt ySxx 26 51 91 133 136 141 151 STX zm 25 26 141 lt STX gt Z 26 141 communications 7 9 12 26 32 34 compatibility 13 32 155 configuration label 4 11 26 29 137 141 query 30 set 29 continuous media 13 30
167. t and message header 110000001200120 6 3 2 068 0012 17123456752 0 8 2 12345 2 0899 2 1 14510 1 UT et OF Where V6C3E2 Maximum 6 alphanumeric ASCII International Zip Code Primary message 068 Country Code 001 Class 841712 Secondary message Example 4 UPS 3 0 zip 4 postal code without Message data format and message header 110000001200120327073270 068 00129 1712345675 0 5 12345 089 2 1 1 0 1 50 Where 32707 5 digit ASCII Zip Code Primary message 3270 4 digit ASCII 4 Zip Code not required 068 Country Code 001 Class 6171 Secondary message TR E Class DPL Programmer s Manual 113 Appendix Example 5 fixed field format with Byte Count Specifier The specified length example includes a byte count field for all bytes that follow until the end of the barcode data The byte count is 51 The symbology encodes 327895555840666this package lt CR gt is going to Datamax and prints the barcode Notice that a CR does not terminate the barcode format record A line of text is also printed lt STX gt L D11 lt CR gt 1U00000010001000051327895555840666this package lt 0x0D gt is going to Datamax 121100000000100Barcode U lt CR gt B Barcode U FIM Valid Characters A B C or D Length One character Valid bar dimensions The width and height multiplier works the same as for fonts on thi
168. t first have the new version 83 2279 04A installed See the Install_Instructions txt file associated with the package or the Boot Loader file This version of the firmware requires the compatible version of the Boot Loader Program and Fonts Boot Loader firmware 83 2279 04A filename 227904 4 01 boot dlf or later font firmware 83 2281 04B filename 228104 4 02 fonts dlf or font firmware 83 2332 04 filename B3233204 4 02 font with user flash module dlf or later Installing printer system firmware version 4 06 P N 83 2325 04F filename F3232504 4 06 program dlf will result a default power up configuration Any user special Setup Menu values will be destroyed Prior to installing this firmware print the Setup Menu list See the Operator s Manual to provide a record of the current configuration After installing the new firmware enter the Setup Mode to re configure the printer as desired If a DPL configuration file is available then that same file may be used to re configure the printer Updating instructions for printers with a current firmware version of 4 05 and below 1 Identify the desired firmware revision from the Datamax FTP site at ftp ftp datamaxcorp com and download the desired version on to your computer s hard drive or a floppy disk 2 With the printer s power turned off simultaneously press and hold the PAUSE and CANCEL Buttons then power the printer front panel indicators should be
169. t of print position When the next label format is sent the printer motor reverses direction to retract the media to the start of print position If quantities of more than one label are requested the printer will operate without backfeeding A backfeed will then only occur when printing has stopped for a few seconds Syntax lt STX gt fnnn Where nnn Is a three digit distance from the Media Sensor in inches 100 or mm 10 This distance is independent of the start of print position lt STX gt O yet it must be greater than start of print position to take effect Sample lt STX gt 230 The sample sets a stop position distance of 230 2 3 inches from the Media Sensor s eye STX G Print Last Label Format This command prints a previously formatted label and restarts a canceled batch job following the last processed label This is used when there is a label format in the buffer The lt STX gt E command is used to enter the quantity If the lt STX gt E command is not used only one label will print Syntax lt STX gt G 14 E Class DPL Programmer s Manual System Level Commands STX I Image Downloading This command must precede image downloading from a host computer to the printer The data that immediately follows the command string will be image data If any of the 8 bit input formats are to be used it is necessary to disable the Immediate Command interpreter by executing an lt SOH gt D command before issuing th
170. t of Print Position Set Time and Date Software Switch Settings SOH Shutdown Stop Cancel Store Label in Module Symbol Set Select Terminate Label Formatting Mode and Print Terminate Label Formatting Mode without Printing Test Flash Memory Module Test DRAM Memory Module Test RS 232 Port Toggle Pause Update System Database with Current Database Zero Conversion to 0 Table L 1 142 E Class DPL Programmer s Manual Appendix Image Loading The printer will accept four types of image files BMP IMG and a special Datamax 7 bit ASCII file as defined in this section Using the Datamax 7 bit ASCII format will require at least twice as much data transmission time as the other formats see lt STX gt I The Datamax ASCII image file format is made up of a set of records with identical formats each representing a dot row of the image The last of these records is followed by a terminator Dot row record Dot row record Terminator Each dot row record has the following format Syntax 80nndd d lt CR gt Where nn Number character pairs in dd d represented in ASCII hex dd d Dot data character pairs ASCII hex 00 FF Duplicate records may be encoded using a repeat data record following the data record that needs duplicating The repeat data record format is Syntax 0000 lt gt Where nn 15 number of duplicates ASCII hex 00 FF The terminator last
171. t qa lt STX gt p lt 5 gt lt STX gt KDwxyz lt STX gt xmfname lt STX gt a lt STX gt L lt ESC gt snnnW lt 5 gt lt STX gt KC lt STX gt B STX Iabfname lt STX gt U T nnss s lt fii gt fii lt STX gt KQ lt STX gt KR 5 1 215 or lt STX gt KS or lt STX gt KW lt STX gt Ksnn lt STX gt Y lt STX gt zm lt 5 gt 7 lt STX gt G lt STX gt Tstring lt 5 gt lt STX gt Sa STX v lt STX gt Wa lt SOH gt lt STX gt Kr lt STX gt imtaabbb b xxxxxxxxfff f lt STX gt e lt STX gt ySaa or ySxx Hnn Table L 1 E Class DPL Programmer s Manual 141 Appendix L Commands by Function continued Function Command s Select Mirror Mode Select Reflective Sensor Send ASCII Status String Send Batch Quantity Send Status Byte Set Backfeed Speed Set Column Offset Amount Set Configuration Set Continuous Paper Length Set Count By Amount Set Cut By Amount Set Default Module Set Dot Size Height and Width Set Double Buffer Mode Set Feed Speed Set Field Data Line Terminator Set Form Stop Position Backfeed Command Set Format Attribute Set Imperial Inch Mode Set Maximum Label Length Set Metric Mode Set Pause for Each Label Set Present Distance Set Present Speed Set Print Quantity Set Print Speed Set Quantity for Stored Labels lt STX gt Ennnn Set Row Offset Amount Set Single Buffer Mode Set Slew Speed Set Star
172. t this does not have to be a Datamax DPL print driver DPL is created by the application and sent to LPT1 To begin a global variable called SelPrinter must be defined as a string Then use the following code to create a frm file VERSION 5 00 Object F9043C88 F6F2 101A A3C9 08002B2F49FB 1 240 410932 0 Begin VB Form Forml Caption Formi ClientHeight 1290 ClientLeft 165 ClientTop 735 ClientWidth 3750 LinkTopic Formi MaxButton 0 15 MinButton 0 False ScaleHeight 1290 ScaleWidth 3750 StartUpPosition 3 Windows Default Begin MSComDlg CommonDialog CommonDialogl Left 1635 765 _ExtentX 847 ExtentY 847 _Version 393216 End Begin VB CommandButton cmdClose Cancel Tue Caption Close Height 372 Left 2400 TabIndex 3 Top 135 Width 972 End Begin VB CommandButton cmdStorelmage Caption SP rant Default True Height 372 Left 240 2 735 Width 972 End Begin VB TextBox txtFile Height 288 Left 120 1 360 Width 3492 End Begin VB Label Labell Caption File Name Height 255 E Class DPL Programmer s Manual 79 Left 120 0 135 Width 1455 End Begin VB Menu File Caption amp File Begin VB Menu open Caption
173. the Ovation2 These include printer speeds start of print adjust continuous label length and others refer to the Operator s Manual for the entire list Also refer to the Operator s Manual for thermal transfer direct print setup The E Class supports the Scalable Font Engine which the Ovation2 does not There are no scalable fonts installed in the standard E Class configuration but the printer will accept and print TrueType fonts like the DMX XL E Class DPL Programmer s Manual 155 156 E Class DPL Programmer s Manual Bar Code Symbology Information Sources AIM International Inc 11860 Sunrise Valley Drive Suite 101 Reston VA 22091 USA Tel 703 391 7621 Fax 703 391 7624 AIM JAPAN Aios Gotanda Bldg 6F 1 10 7 Higashigotanda Shinagawa ku Tokyo 141 Japan Tel 03 3440 9085 Fax 03 3440 9086 AIM EUROPE The Old Vicarage Haley Hill Halifax HX3 6DR West Yorkshire England Tel 44 1422 359161 Fax 44 1422 3556904 AIM UK The Old Vicarage Haley Hill Halifax HX3 6DR United Kingdom Tel 44 1422 359161 Fax 44 1422 355604 AIM USA 634 Alpha Drive Pittsburgh PA 15238 2802 USA Tel 412 963 8588 Fax 412 963 8753 American National Standards Institute ANSI 11 West 42 Street New York New York 10036 USA Tel 212 642 4900 Fax 212 398 0023 E Class DPL Programmer s Manual 157 Appendix R Automotive Industry Action Group 26200
174. tion 1F11000020002001234567V0150 This record format prints an EAN 13 bar code with the variable price checksum in the eighth position E Class DPL Programmer s Manual 145 Appendix 146 E Class DPL Programmer s Manual 0 International Language Print Capability ILPC Programming Examples ILPC offered as a field upgrade or a factory installable option allows the printing of non English character sets available with Western European language support CG TIMES KANJI language support GOTHIC B GOTHIC E and Chinese language support SIMPLIFIED GB All of the features are embedded in the printer resident firmware and accessible through DPL thus eliminating excessive download time of bitmapped characters Using scalable technology licensed from AGFA this firmware allows users to print smooth characters in sizes from 4pt 1 4 mm to 999pt 350 mm in over 40 languages Consult Appendix I for code page selections Specific details regarding which characters are supported in each option can be obtained through Datamax Technical Support at 407 523 5540 ILPC CG TIMES Option The CG Times Option is a single byte scalable font consisting of four typefaces in 38 Western European languages This option contains over 900 unique characters in each of the four typefaces from the CG Times typeface family Normal Italic Bold and Bold Italic Single byte scalable fonts are selected using a print format record se
175. ts direct thermal printing standard control characters and enables the media cutter Selects gap sensing 15 the default setting items saved for future expansion Note The Ignore Host Distance setting see below allows the printer to disregard lt STX gt O and lt STX gt f commands a feature provided for host system software that sends these commands with values that may be inappropriate for the printer and result in incorrect start of print and present distances Use the lt STX gt KD command or the Setup Menu to enable this feature E Class DPL Programmer s Manual 33 Extended System Commands Parameter Number Function Value s w 0 9600 1 600 2 gt 2400 3 19200 4 4800 5 38400 6 1200 7 9600 Test Mode 0 8 bits no parity 1 7 bits even parity 6 Alwaysi Seto 0 PrintMethbda 0 direct thermal 1 thermal transfer 0 disabled 1 enabled See note above 6 jAlwasi 8 0 0 0 0 gap 1 reflective 2 continuous 6 Aways Seto 0 0 Set to 0 UNE NES Always 1 Always 0 Selects the values of the control characters see Control Codes Table 5 3 lt STX gt KD Configuration Commands STX KE Character Encoding This command is provided primarily as a means for users of 7 bit communication and to embed control characters and extended ASCII characters in their datastreams Any character in the DPL datastream may be substituted with a delimited
176. two character ASCII hexadecimal numeric equivalent The command allows the delimiting character to be selected and the encoding to be enabled or disabled When character encoding is enabled the printer will decode any ASCII hexadecimal numeric pairs following the delimiter as single byte values Character encoding is used where control characters cannot be transmitted or where control characters within data may prematurely terminate a label format record Although the delimiter may be changed at any time except within a label format definition there cannot be more than one defined delimiter and character encoding must be disabled with lt 5 gt prior to re enabling regardless of any change in the delimiter Syntax lt 5 gt Where Y character encoding enabled N character encoding disabled Delimiter one ASCII character Do not include when e 34 E Class DPL Programmer s Manual Extended System Commands Sample lt STX gt KEN lt STX gt KEY lt STX gt L lt CR gt 1u0000001200120 gt 1E 01 1D 04 lt CR gt E lt CR gt The sample disables then enables character encoding with the backslash as the delimiter A UPS Maxicode will be formatted using a data string interpreted as gt 015 FOr CR then formatting is terminated Character Encoding Syntax This syntax requires at least two hexadecimal ASCII digits 0 9 A F delimited by the character specified in t
177. uested memory allocation exceeds the configurable memory available contains no fields or for configurations not specified the command will be rejected and the printer will assume its previous configuration Any of the three fields are optional and are separated by the colon Brackets indicate optional fields Syntax lt STX gt Kix jy kz lt CR gt Sample lt STX gt KM0020 S0015 lt CR gt In the sample memory is allocated 20 4 1024 bytes for Module A space and 15 4 1024 bytes for the scalable cache E Class DPL Programmer s Manual 27 Extended System Commands Where i S W x z are four digit maximum numbers of 4K byte blocks or inches 100 or mm 10 as described below M Represents the start of a sequence up to five characters that assigns memory to the Internal Module A If this field does not appear then the Internal Module is not affected If no Internal Module exists it will be created and formatted Existing Internal Modules will be erased re sized and formatted The number that follows the M is a decimal number up to four digits that specifies the size in 4KB blocks of memory to assign to the Internal Module A value of 0000 will delete the Internal Module see Appendix J for additional information S Represents the start of a sequence up to five characters that assigns the amount of internal memory allocated to the smooth scalable font processor This field is optional if it
178. um label length Press and hold the FEED Button four seconds and the printer will automatically measure the label printer power then the printer will align with the specified length 6 5 or less die cut notched Automatic This mode of operation requires a Label Alignment Length or and reflective stocks with that Label Alignment be set to AUTO If either of these the Present Sensor enabled conditions is not met the printer will not perform the alignment Label Alignment Length This length measured from leading edge to leading edge of two successive labels must be provided to the nearest hundredth of an inch The number of labels that can be fit between the Media Sensor and the printhead will magnify any error in label alignment length Errors are more favorable on the low side than on the high side Media Type Sets printing for either direct thermal media or thermal transfer media No Paper Min No Paper Min Reflective Sets the Media Sensor reading for the Out Of Stock condition E Class DPL Programmer s Manual 31 Extended System Commands Present Adjust Fine tunes the label stop position see notes below Serial Port Configuration This command is followed by the port ID always 1 SPA then by the configuration parameter and value of Baud or Data Bits Baud Rate The SPABnn command sets the baud rate for the printer serial port where nn may be any of the following Baud Rate Bits Per S
179. unt This decimal value includes all of the data following this byte count t field but does not include itself Security level Aspect ratio specified as a fraction the first digit is the numerator and E 9 the second the denominator Use 00 for the default ratio of 1 2 11 03 90 Number of rows Use 00 for calculated best fit values less than 3 sea Sample 1 The variable length example encodes PDF417 with a security level one a 1 2 aspect ratio best fit rows and columns and prints the bar code A line of text is also printed lt STX gt L D11 lt CR gt T 1z0000000150100F1000000PDF417 lt CR gt 121100000000100Barcode z lt CR gt Barcode 2 Sample 2 The specified length example includes a byte count field for all bytes that follow until the end of the barcode data The byte count is 15 The symbology encodes pdf lt CR gt 417 and prints the barcode Notice that a lt CR gt does not terminate the barcode format record A line of text is also printed lt STX gt L D11 lt CR gt 1Z00000001501000015F1000000pd lt 0x0D gt 417 1211000000001001 Barcode Z lt CR gt 2 E Class DPL 6 Manual 115 Appendix Wic WI1C DataMatrix Valid Characters Any eight bit byte data Variable Length W1c This is a two dimensional matrix symbology comprised of square modules arranged withi
180. used with a continuous paper length because print registration will be lost STX d Set Double Buffer Mode This command available for backward compatiblity enables double buffer mode When printing labels with incrementing decrementing and replacement fields see note below the printer will only erase and format those fields leaving the rest of the label format untouched and thus increasing throughput This command is only active if the labels being printed are less than half the maximum size of the print buffer see lt STX gt S Syntax lt STX gt d Note This command is generally not used because fast formatting is the normal operating mode when the number of variable print fields Label Formatting commands lt gt u is less than or equal to 1 3 of the total print field count In this case the command will force fast formatting even when the proportion of variable print fields is greater than 1 3 the total The maximum label size is unaffected by this command The lt STX gt s command restores normal fast formatting STX E Set Quantity For Stored Label This command sets a number of labels for printing using the format currently in the print buffer The printer automatically stores the most recent format received in the buffer until the printer is reset or power is removed When used in conjunction with the lt STX gt G command this will print the labels Syntax lt STX gt Ennnn Where A four d
181. ut Mode Automatic in Hex ASCII format 1W1D1100000100010a384A384B384C384D384E384F lt 0x0D gt lt 0x0D gt Wif WIF Aztec Valid Characters All ASCII characters depending upon the selected options Variable Length W1f This two dimensional barcode holds a large amount of data in a small area an can provide a high level of error checking Specified Length W1F With a string four digit length specifier values 0x00 through OxFF to be included within the data strings without conflicting with the DPL format record terminators Record Structure W1 b d eee ffff gggg hhhh i jjj kk k Where Valid Inputs 123 and 4 w1 Fixed value extended bar code set value extended bar code set LE F Lowercase selects the Aztec bar code variable length Uppercase selects the Aztec barcode with a Byte Count Specifier 0 to 9 and A to O Module size horizontal multiplier 0 gt default size The c d module size parameters should be equal to produce a square symbol When the label command Dwh is used to generate larger text then c and d may be used to compensate and ensure Square E LEE above 000 No Effect 0000 to 9999 Label position row 0000 to 9999 Label position column hhhh 0000 to 9999 Optional string length specifier Field termination is set by this byte count This decimal value includes all of the data following this byte count field but does not
182. ve no effect on scalable fonts Syntax gt Sample lt STX gt L Z 121100000000000Test0000 lt CR gt B gt Make Last Field Entered Increment Numeric Alphanumeric This command useful in printing sequenced labels causes the printer to automatically increment a field on the labels in a batch The numeric data in the field will increment by the value assigned after the plus sign each time a label is produced or the greater than character gt can be substituted to make the field increment alphabetically This command is effective only on the label format record that it follows and is intended to be used with the Q lt STX gt E or lt STX gt G commands Syntax pii Where 15 numeric increment gt for alphanumeric increment Is fill character for leftmost character of field ii 15 the amount to increment the field Sample lt STX gt L lt CR gt 13220000000000012345 lt CR gt 01 lt CR gt Q0003 lt CR gt E lt CR gt The sample will generate a single field label format that prints the initial label with a value of 12345 and then increments that number by one for the next two labels Embedding Numeric strings for incrementing may also be embedded between alphabetic characters e g when systems require alphanumeric barcodes with alphabetic prefixes or suffixes 52 E Class DPL Programmer s Manual Extended System Commands Sample lt STX gt
183. wxyz0 123456789 8 pt ABCDEFGHIJKLMNOPQRSTUVWXY Zabcdetghijkimnopaqrstuvwxyz01 234 10 pt ABCDEFGHIJKLMNOPQRSTUVWXY Zabcdefghijklmnop 12 pt AEC DEF OMURL MINOT 14 pt ABCDEFGHIJKLMNOPQRSTUVWXYZ 18 pt ABCDEFGHIJKLMNOPQRST 24 30 pt ABCDE HIJK 36 pt ABCDE 8 4 72 pt E Class DPL Programmer s Manual 87 Appendix 88 E Class DPL Programmer s Manual Appendix Error Codes The most common transmitted error codes are Lowercase The printer received a data byte from the host computer that contained a framing error corrupted data usually due to noise Uppercase An invalid command sequence was sent to the printer The printer did not understand the command sequence and terminated the command interpreter Uppercase This code is sent every time the printer is turned On signaling a hardware reset Uppercase This code signals a software reset A software reset is made by sending the command sequence to the printer or by performing a reset using the front panel buttons Lowercase There is an input buffer overflow situation caused when an overflow of data is sent to the printer E Class DPL Programmer s Manual 89 Appendix D 90 E Class DPL Programmer s Manual Appendix Single Byte Symbol Sets The following tables include some of the standard symbol sets Not all of these symbol
Download Pdf Manuals
Related Search
Related Contents
HCT-4202B HHC-2020 Service Manual.qxp conexiones - Radio Shack Pro Shot Alpha User Manual 操作パネルのなまえとスイッチのはた SERVICE MANUAL SERVICE MANUAL TAFCO WINDOWS NU2-169V-I Installation Guide ボールバルブ peligro - Schneider Electric Copyright © All rights reserved.
Failed to retrieve file