Programmer’s Manual Corporate Headquarters 4501 Parkway Commerce Blvd.
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 JetII 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.
Table of Contents Preface....................................................................................................... 1 Who Should Use This Manual .......................................................................................1 Scope of This Manual....................................................................................................1 General Conventions.....................................................................................................
STX a Enable Feedback Characters...................................................................12 STX B Get Printer Time and Date Information ....................................................12 STX c Set Continuous Paper Length ..................................................................13 STX d Set Double Buffer Mode ...........................................................................13 STX E Set Quantity For Stored Label.........................................................
STX r Select Reflective Sensor ..........................................................................19 STX S Set Feed Speed .......................................................................................19 STX s Set Single Buffer Mode ............................................................................20 STX T Print Dot Pattern Label .............................................................................20 STX t Test RAM Memory Module......................................
STX KE Character Encoding..................................................................................34 STX Kf Set Present Distance................................................................................36 STX KQ Query Memory Configuration ...................................................................36 STX KR Reset Memory Configuration....................................................................37 STX Kr Reset Resettable Counter ...........................................
p Set Backfeed Speed ................................................................................47 Q Set Print Quantity .....................................................................................47 R Set Row Offset Amount............................................................................48 r Recall Stored Label Format......................................................................48 S Set Slew Speed.......................................................................
Generating Label Formats ..................................................................... 59 Introduction..................................................................................................................59 Format Record Commands .........................................................................................59 Generating Records ....................................................................................................60 The Structure of a Record ......................
Appendix D Error Codes .................................................................................................................89 Appendix E Single-Byte Symbol Sets .............................................................................................91 Appendix F Bar Code Summary Data ..........................................................................................101 Bar Code Default Widths and Heights.......................................................................
Appendix M Image Loading...........................................................................................................143 Appendix N UPC-A and EAN-13: Variable Price and Weight Bar Code .......................................145 Appendix O International Language Print Capability (ILPC) Programming Examples ..................147 Appendix P Downloading Firmware ..............................................................................................
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.
Preface GENERATING LABEL FORMATS on page 59 Description of the structure of records, the different types, and their use in generating label formats. APPENDICIES A THROUGH R 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.
Preface Getting to Know the Printer The following highlights basic printer setup and control. For detailed 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.
Preface • Interface Cable Connection: Connect the printer using the appropriate cable, as shown below. • Front Panel Operation: The Front Panel consists of three lights and three dual-function buttons. E4203, E4204 and E4304 • 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.
Control Codes Introduction The printer requires a special “attention getter” character 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.
Control Codes 6 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, 0x01 or 0x5E, see Control Codes. 2. Command Character SOH # Reset This command resets the printer.
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: B Sample: B Printer response format: This command will illuminate the Paused Indicator, suspend printing and wait until one of the following occurs: The B command is sent to the printer. The PAUSE Button is pressed.
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: E Printer response: nnnn Where: nnnn SOH F - Is four decimal digits, 0-9999.
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 cannot be issued among Label-Formatting Commands. System-Level Commands consist of: 1. Attention Getter, 0x02 or 0x7E, see Control Codes. 2. Command Character 3.
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 using serial communications. The default value is ‘Off’. Syntax: a Printer response: Event dependent. (Also, see Appendix D for error codes.
System-Level Commands STX c 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 M. Syntax: cnnnn Where: nnnn Sample: c0100 - Specifies the length of the media feed for each label format, in inches/100 or millimeters/10 (see m). This sample sets a label length of 100, which equals 1.
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 O command to adjust the print position. This is the printer default setting at power-up or reset.
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 D command before issuing the I command. See Appendix M for more information. To print an image, see Generating Label Formats.
System-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: imtnnNamexx…xdata… Where: m - Memory Module Designator to save this font to; see Appendix J. t - Type of scalable font being downloaded: I = IntelliFont T = TrueType nn - Two-digit font reference ID.
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, SystemLevel, 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).
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 f command. Syntax: Onnnn Where: nnnn Sample: O0300 - Is a four-digit offset value.
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: STX q Q 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 W command), it must be cleared.
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, in turn, decreases printer throughput when incremental, decremental, or replacement fields are used (see LabelFormatting Commands). See d.
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 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.
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 ‘On’ 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: Vn Where: n Sample: V5 - Is a single digit ASCII numeric value from 0-F.
System-Level Commands STX W Request Memory Module Information This command requests 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.
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 destroyed. If no module is present, there will be no printer response. Syntax: wa Where: a - Module designator; see Appendix J. Printer response format: Module A: xxxxK results Where: A - Module tested.
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 z.) Syntax: xmtnn…n Where: m - Module designator; see Appendix J.
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 KS command for more information. Option dependant. Not all symbol sets can be used with all fonts. Syntax: ySxx Where: S - Byte size designation, see Appendix H. S = Single-byte symbol sets U = Double-byte symbol sets xx - Symbol set selection.
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.
Extended System Commands Where: i, j, k are M, S, or W; x, y, 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.
Extended System Commands STX KC Get Configuration 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 (0x0d) & LF (0x0a). Datamax will make every effort to keep Keyword consistent. KC Syntax: Printer response: XXX NOT SET 00, 0000 00:22 000 VER: E4304 - 04.
Extended System Commands Syntax: Kcaa1val1[;aaIvalI][;aanvaln] Where: aa1, aaI, aan - Are two letter parameter names val1, valI, valn - Are parameter values, with ranges appropriate for the associated parameter Sample: KcPA120;CL600;STC 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.
Extended System Commands computer via the serial port, contains all parameters controlled by the Kc command, and may be used for restoring the printer’s configuration or for configuring 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.
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 ‘A’ (i.e.
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.
Extended System Commands KD Parameter w x y z 1 Bit Number Parameter Function Parameter Value(s) 0–2 BAUD Rate / Set Test Mode 3 4&5 6 7 0 1 2 3 4 5 6 7 0&1 2 3–5 6 7 0&1 2 3–5 6 7 Word Length and Parity Unused Always 1 Always 0 Print Method Present Sensor Control Character[1] Cutter Ignore Host Distance Alt-2 Control Codes[1] Always 1 Always 0 Paper Type (Media Sensor) Linerless Unused Always 1 Always 0 Reserved Reserved Unused Always 1 Always 0 0 = 9600, 1 = 600, 2 = 2400, 3 = 19200, 4 =
Extended System Commands KEN KEY\ L 1u0000001200120[)>\1E\01\1D\...\04\ E Sample: 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: [)>RS01GS... EOT; 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 the KE command.
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 f command, but specifies a distance to advance relative to the start of print (O command) of the next label. Syntax: Kfnnnn Where: nnnn Sample: Kf0100 - A four-digit present distance in inches/100 or mm/10. The sample represents a one-inch label advance unless in metric mode (see m).
Extended System Commands Where: - ASCII Carriage Return (0x0D) record delimiter. aa- ASCII string sequence that represents the firmware version cdd.ee number string. mm/dd/yy iiii - The number of 4KB blocks of DRAM memory. STX KR vvvv - The number of 4KB blocks of DRAM available for configuration. X: - 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.
Extended System Commands 38 E-Class DPL Programmer’s Manual
Label-Formatting Commands Introduction The L command switches the printer from the System-Level Processor to the Label-Formatting Processor. All commands following the 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.
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 (L) has begun. Syntax: An Where: n Sample: L A3 141100001000100DATAMAX 141100001100110DATAMAX E - Is attribute mode 1, 2, 3, or 5; see table below. The default is 1, XOR Mode.
Extended System Commands C 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.
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: D22 is the default value for all printers. Syntax: Dwh Where: w - Is Dot Width multiplier 1 or 2. h - Is Dot Height multiplier 1, 2, or 3.
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 ‘E’ ‘s’ or ‘X’ command. All label formats begin by default with both font attributes disabled.
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.
Extended System Commands H 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.
Label-Formatting Commands m 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: L m 141100001000100SAMPLE LABEL E 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. All printers default to imperial units.
Extended System Commands p 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 Sample: L pF - Is a single alpha character representing a speed; see Appendix K for valid ranges.
Label-Formatting Commands R Set Row Offset Amount 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.
Extended System Commands S 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 Sample: L SE 141100001000100LABEL1 E L 1411000010001000LABEL2 E - Is a single alpha character representing a speed; see Appendix K for valid ranges.
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.
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. Note: 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.
Label-Formatting Commands z Zero (Ø) 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 have no effect on scalable fonts.
Extended System Commands L 161100000100010AB0001CD +100 Q0003 E Sample: The sample will print three labels, incrementing 0001 by 1 on each label with AB and CD remaining untouched: AB0001CD, 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.
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.
Extended System Commands STX S 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: Sn Where: n Sample: L 121100000000000DMX G 1A2210001000000SA E - Specifies the global register (A − P) that contains the data to place into the data field.
Label-Formatting Commands Sample 1: L 121100001000100TBCD GHI PQ, TU E Sample 1 will print SUN DEC 21, 98 on a label. Sample 2: L 191100100100010TEF/PQ E Sample 2 will print 12/21 on a label. Sample 3: L 191100100100010ABC TEF/PQ DEF E 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 .
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 (ASCII control character 27 [decimal]). The downloaded font will be stored in the default module (refer to the X command). The commands in the table below are listed in their order of appearance, top to bottom, during font downloading.
Font-Loading Commands *c###E Character Code This code is the ASCII decimal value corresponding to the next downloaded character. Syntax: *c###E Where: ### (s#W - Is the ASCII value of the character, three digits maximum, 0 to 999. Character Download Data This command contains all of the information for one downloaded character. 58 Syntax: (s###Wnn…n Where: ### - Is the number of bytes of bit-mapped data, three digits maximum, 1 to 999. nn…n - Is the bit-mapped data.
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.
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 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).
Generating Label Formats Location Within Internal BitRecord Mapped Font a Rotation b Font ID c Width Multiplier d Height Multiplier eee 000 ffff gggg hhhh iiii jj…j Row Position Column Position N/A N/A Data String Smooth Font Rotation 9 Width Multiplier Height Multiplier font size/ID Row Position Column Position N/A N/A Data String Record Type Scalable Bar Font Code Rotation Rotation 9 Bar Code Width Wide Bar Multiplier Height Narrow Bar Multiplier ID Bar Code Height Row Row Position Position Column Col
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 a drawing object (line, box, circle or polygon), and field value Y is used to print an image stored in a module.
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.
Generating Label Formats Field a b c d eee ffff gggg jj…j Valid Inputs Meaning 1, 2, 3 and 4 Rotation 0 to 8; see Appendix C. Font 1 to 9 and A to O Width Multiplier 1 to 9 and A to O Height Multiplier 000 N/A 0000 to 9999 Row 0000 to 9999, see Appendix J. Column Valid ASCII character string up to 255 characters followed Data by a termination character. Table 8-6: Internal Bit-mapped Font Record Structure 2.
Generating Label Formats Field ffff gggg hhhh iiii jj…j Valid Inputs Meaning 0000 to 9999 0000 to 9999, see Appendix J. P004-P999, 0016-4163* P004-P999, 0014-4163* Valid ASCII character string up to 255 characters followed by a termination character. Row Column Character Height, points, dots Character Width, points, dots Data *Character size specifications are printhead resolution dependent as shown in the following table.
Generating Label Formats Placing a 0 (zero) in both c 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 I).
Generating Label Formats * LINES: Where: Lhhhvvv ** LINES: Where: lhhhhvvvv *** BOXES: Where: Bhhhvvvbbbsss **** BOXES: Where: bhhhhvvvvbbbbssss L = hhh = vvv = l = hhhh = vvvv = B hhh vvv bbb sss = = = = = “L” and specifies line drawing, horizontal width of line, vertical height of line. “l” and specifies line drawing, horizontal width of line, vertical height of line. “B” and specifies box drawing, horizontal width of box, vertical height of box, thickness of bottom and top, thickness of sides.
Generating Label Formats Circles A circle is created by defining by its center point and radius. Circles may be filled with a variety of different patterns. Row, column, and radius are interpreted as inches (100) or millimeters (10) depending on printer mode.
Generating Label Formats Examples (Spaces have been added in the record structure for readability): 1. Triangle The record: 1 X 11 000 0010 0010 P 001 0001 0040 0025 0010 0040 Produces a triangle with no fill pattern: (row 0040, column 0025) (row 0010, column 0010) (row 0010, column 0040) 2. Rectangle with Fill The record: 1 X 11 004 0010 0010 P 001 0001 0050 0010 0050 0200 0010 0200 Produces a rectangle filled with pattern 4 (25% black): (row 0010, column 0010) (row 0050, column 0200) 3.
Generating Label Formats 70 E-Class DPL Programmer’s Manual
Appendix A ASCII Control Chart Ctrl @ Ctrl A Ctrl B Ctrl C Ctrl D Ctrl E Ctrl F Ctrl G Ctrl H Ctrl I Ctrl J Ctrl K Ctrl L Ctrl M Ctrl N Ctrl O Ctrl P Ctrl Q Ctrl R Ctrl S Ctrl T Ctrl U Ctrl V Ctrl W Ctrl X Ctrl Y Ctrl Z Ctrl [ Ctrl \ Ctrl ] Ctrl ^ Ctrl _ Char NUL SOH STX EXT EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US Dec 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Hex 00 01 02 03 04 05 06 07 08 09 0A 0B 0C
Appendix A ASCII Control Chart (continued) Char Ç ü é â ä à å ç ê ë è ï î ì Ä Å É æ Æ ô ö ò û ù ÿ Ö Ü ø £ Ø x ƒ Dec 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 Hex 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F Char á í ó ú ñ Ñ ª ° ¿ ® 1/2 1/4 ¡ ¯ ² ³ ´ Á Â À © ¹ » ¢ ¥ Dec 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
Appendix B Sample Programs Basic Language Program The following sample Basic program is included for reference. Values are assigned to the variables in the main section and sent to the printer in the section titled ‘Send Data’. The sample below shows the output generated by this program.
Appendix B ‘C’ Language Program The following sample ‘C’ program is included for reference. Figure B-1 shows the output generated by this program. / DMX SERIES Sample C program / # include
Appendix B 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.
Appendix B Fixed = Itm1 & Chr$(13) & Chr$(13) & Qty1 & Chr$(13) & Chr$(13) & BoxPos1 & Boxsize & Chr$(13) CharSet = Chr$(126) ‘Alternate character ~ MComm.PortOpen = 1 ‘Open the serial port End Sub ‘Exit the program by clicking Exit button with the mouse Private Sub cmdExit_Click() Comm1.PortOpen = 0 ‘Close down the serial port End End Sub ‘Exit the program by clicking Exit button with the mouse Private Sub cmdExit_Click() Comm1.
Appendix B VB Application interfacing via Windows Driver Create a form similar to the one shown here. VERSION 5.00 Begin VB.Form Form1 Caption = “Datamax Test Print” ClientHeight = 1065 ClientLeft = 60 ClientTop = 345 ClientWidth = 2325 LinkTopic = “Form1” MaxButton = 0 ‘False MinButton = 0 ‘False ScaleHeight = 1065 ScaleWidth = 2325 StartUpPosition = 3 ‘Windows Default Begin VB.ComboBox cmboFonts Height = 315 Left = 90 TabIndex = 2 Text = “Font List” Top = 45 Width = 2130 End Begin VB.
Appendix B ‘1,440 twips equals one inch Printer.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.
Appendix B VB Application interfacing via Windows Driver This is a sample Visual Basic program that checks for any printer driver attached to “LPT1:”. If one is installed then a DPL file can be printed via the print driver. Note that 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.
Appendix B Left TabIndex Top Width = = = = 120 0 135 1455 End Begin VB.Menu File Caption = “&File” Begin VB.Menu open Caption = “&Open” End Begin VB.
Appendix B ‘Specify Default Filter CommonDialog1.FilterIndex = 1 ‘Display Open dialog box CommonDialog1.ShowOpen loadfile = CommonDialog1.FileName Label2.Caption = loadfile Exit Sub ErrHandler: Exit Sub End Sub Private Sub cmdStoreImage_Click() Dim hPrinter& Dim jobid& Dim res& Dim written& Dim printdata$ Dim docinfo As DOC_INFO_1 loadfile = Form1.txtFile.Text If loadfile = ““ Then MsgBox “You must Open a file to send”, vbExclamation Exit Sub End If ‘ Open file.
Appendix B 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.DeviceName Exit For End If Next End Sub Private Sub lpt2_Click() End Sub Private Sub open_Click() CommonDialog1.ShowOpen loadfile = CommonDialog1.FileName txtFile.Text = loadfile End Sub Private Sub Printer_Click() CommonDialog1.
Appendix C 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 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 (Ø) conventions for distinguishing between the zero and the alphabetic O.
Appendix C Font Font 0 Font 1 Font 2 Font 3 Font 4 Font 5 Font 6 Font 7 Font 8 Height 10 19 27 40 53 77 95 47 41 Width 7 10 15 21 27 27 47 22 22 Spacing 1 3 3 3 4 4 6 7 7 Point Size 2.4 4.6 6.5 9.6 12.7 18.5 22.8 11.3 9.8 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.
Appendix C Internal Bit-Mapped 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. 1: Identifies a 145-character uppercase and lowercase alphanumeric font that includes desenders and ascenders. 2: Identifies a 138-character alphanumeric upper and lowercase font. 3: Identifies a 62-character alphanumeric uppercase font.
Appendix C 5: Identifies a 62-character alphanumeric upper case font. 6: Identifies a 62-character alphanumeric uppercase font. 7: Identifies a font that prints OCR-A, size I. 8: Identifies a font that prints OCR-B, size III.
Appendix C 9: Identifies the Internal CG Triumvirate font. Point sizes are selected by the number in the Format Record header eee height field, see Table C-4.
Appendix C 88 E-Class DPL Programmer’s Manual
Appendix D Error Codes The most common transmitted error codes are: Lowercase “c” The printer received a data byte from the host computer that contained a framing error (corrupted data - usually due to noise). Uppercase “I” An invalid command sequence was sent to the printer. The printer did not understand the command sequence and terminated the command interpreter. Uppercase “R” This code is sent every time the printer is turned ‘On’, signaling a hardware reset.
Appendix D 90 E-Class DPL Programmer’s Manual
Appendix E Single-Byte Symbol Sets The following tables include some of the standard symbol sets. Not all of these symbol 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 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.
Appendix E (E1) ISO 8859/1 Latin 1 Symbol Set 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 @ P ‘ p ! 1 A Q a q “ 2 B R b r # 3 C S c s $ 4 D T d t % 5 E U e u & 6 F V f v ‘ 7 G W g w ( 8 H X h x ) 9 I Y i y * : J Z j z + ; K [ k { , < L \ l | = M ] m } .
Appendix E (FR) ISO 69: French Symbol Set 00 10 20 30 40 50 60 70 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 à P µ p ! 1 A Q a q “ 2 B R b r £ 3 C S c s $ 4 D T d t % 5 E U e u & 6 F V f v ‘ 7 G W g w ( 8 H X h x ) 9 I Y i y * : J Z j z + ; K º k é , < L ç l ù = M § m è .
Appendix E (MC) Macintosh Symbol Set 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 @ P ` p Ä ê † ∞ ¿ – ‡ ! 1 A Q a q Å ë º ± ¡ — ` Ò “ 2 B R b r Ç í ¢ ≤ ¬ “ ‚ Ú # 3 C S c s É ì £ ≥ √ “ „ Û $ 4 D T d t Ñ î § ¥ & 6 F V f v Ü ñ ¶ ∂ ∆ ÷ Ê ˆ ‘ 7 G W g w á ó ß Σ « ( 8 H X h x à ò ® ∏ » ÿ Ë ¯ ) 9 I Y i y â ô © * : J Z j z ä ö ™ ∫ + ; K [ k { ã õ ´ ª À , < L \ l | å ú ¨ ° Ã < Ï ¸ = M ] m } ç ù ≠ Ω Õ > Ì ¨ .
Appendix E (PE) PC-852 Latin 2 Symbol Set 0 1 2 00 10 ☺ 20 30 40 50 60 70 0 @ P ` p ! 1 A Q a q ↕ “ 2 B R b r 80 Ç ü é 90 É A0 B0 C0 D0 E0 F0 á ░ └ ð Ó ╸ í ▒ ┴ Ð ß “ ó ▓ ┬ 0 3 4 5 6 ♥ !! ♦ ¶ ♣ § ♠ ▬ 7 ↨ # 3 C S c s $ 4 D T d t % 5 E U e u & 6 F V f v ‘ 7 G W g w ↑ ( 8 H X h x ↓ ) 9 I Y i y â ä ç ł ë ô ö ú │ ├ Ë ┤ ─ Ô ͅ ̌ ˘ § 1 2 3 4 5 6 7 ‚ ̇ “ ‘ ‘ ˘ „ ̌ “ ¯ :: ℘ ℘ Á ┼ Ž Â ž Í Š ÷ Î š ̧ 8 9 A → * : J Z j z B ← + ; K [ k { C D E ♂
Appendix E (PT) PC-8 TK, Code Page 437T Symbol Set* 0 1 2 3 4 5 6 7 8 ♥ ♦ ♣ ♠ ● ◘ 00 ☺ 10 20 30 40 50 60 70 0 @ P ` p ! 1 A Q a q ″ 2 B R b r !! # 3 C S c s ¶ $ 4 D T d t § % 5 E U e u — & 6 F V f v ‘ 7 G W g w 80 90 A0 B0 C0 D0 E0 F0 Ç É á ░ └ ╨ a ≡ ü æ í ▒ ┴ ╤ ß ± é Æ ó ▓ ┬ ╥ └ ≥ â ô ú │ ├ ╙ π ≤ ä ö ñ ┤ ─ ╘ ∑ ⌠ à ò Ñ ╡ ┼ ╒ σ ⌡ å û ª ╢ ╞ ╓ µ ÷ ç ù ° ╖ ╟ ╫ Τ ≈ 9 A B C D E F ( 8 H X h x ) 9 I Y i y * : J Z j z + ; K [ k { ‚ < L \ l | = M ] m } ▲ · > N ^ n ~ ▼
Appendix E (SW) ISO 11: Swedish Symbol Set 00 10 20 30 40 50 60 70 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 É P é p ! 1 A Q a q “ 2 B R b r # 3 C S c s ¤ 4 D T d t % 5 E U e u & 6 F V f v ‘ 7 G W g w ( 8 H X h x ) 9 I Y i y * : J Z j z + ; K Ä k ä , < L Ö l ö = M Å m å .
Appendix E (VI) Ventura International Symbol Set 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 @ P ` p ! 1 A Q a q “ 2 B R b r # 3 C S c s $ 4 D T d t % 5 E U e u & 6 F V f v ‘ 7 G W g w ( 8 H X h x ) 9 I Y i y * : J Z j z + ; K [ k { , < L \ l | = M ] m } .
Appendix E (WE) Windows 3.1 Latin 2 Symbol Set 0 00 10 20 30 40 50 60 70 80 90 A0 B0 C0 D0 E0 F0 0 @ P ` p € 1 2 3 4 5 6 7 8 9 A B C D E F ! 1 A Q a q “ 2 B R b r ‚ ‘ ˘ # 3 C S c s $ 4 D T d t „ “ ¤ % 5 E U e u … • & 6 F V f v † – ¦ ‘ 7 G W g w ‡ — § ( 8 H X h x ) 9 I Y i y ‰ ™ * : J Z j z Š š + ; K [ k { ‹ › « , < L \ l | = M ] m } .
Appendix E 100 E-Class DPL Programmer’s Manual
Appendix F 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.
Appendix F Bar Code Default Widths and Heights Bar Code ID A/a B/b C/c D/d E/e F/f G/g H/h I/i J/j K/k L/l M/m N/n O/o p Q/q R/r S/s T/t v U/u Z/z W1C / W1c W1D / W1d W1F / W1f W1T W1Z / W1z 203 DPI Resolution Height (inches) Ratio/Module Size .40 6:2 .80 3 .80 3 .40 6:2 .40 2 .80 3 .80 3 .40 6:2 .40 6:3 .40 5:2 .40 6:3 1.30 5:2 .90 3 .80 3 .40 3 .08 N/A 1.40 2 1.40 2 1.40 2 .80 1 .5 1 Module size: Dots / inches / mm n/a / 1x1 / 25.4x25.4 (overall symbol) 2x6 / .01x.03 / .22x.66 4x4 / .02x.02 / .44x.
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, A – 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.
Appendix G C: 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.
Appendix G Code 128 Subset B: Includes all of the 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 digit pairs from 00 through 99 inclusive, as well as special characters.
Appendix G F: 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.
Appendix G H: Health Industry Bar Code (HIBC; Code 39 bar code with a modulo 43 checksum) Valid Characters: 0 – 9, A – 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: L D11 1H0000000150050+0123456789 121100000000100Barcode H E I: Codabar Valid Characters: 0 – 9, A – D - .
Appendix G K: 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.
Appendix G M: 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.
Appendix G p: Postnet 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.
Appendix G R: UCC/EAN Code128 K-MART 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.
Appendix G T: Telepen Valid Characters: All 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: L D11 1T0000000150100ABCDEF 121100000000100Barcode T E Barcode T u / U: UPS MaxiCode (Modes 2 & 3) Valid Characters: All ASCII characters.
Appendix G In the four UPS 3.0 protocol examples that follow, Primary Message control characters GS will not be encoded in the MaxiCode symbol. All characters, the Secondary Message, with the exception of the leading GS, in are encoded. Example 1: UPS 3.0 zip + 4 with Message data format and message header 1u0000001200120[)>RS01GS96841706672GS840GS001GS1Z12345675GSUPSNGS12345EGS0 89GSGS1/1GS10.1GSYGSGSGSUTRSEOT Where: [)>RS01GS96 841706672 840 001 G S1Z1... ...
Appendix G Example 5: MaxiCode 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 packageis going to Datamax”, and prints the barcode. Notice that a does not terminate the barcode format record. A line of text is also printed.
Appendix G z / Z: PDF417 Valid Characters: All 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 0xFF can be used within the data string without conflicting with the DPL format record terminators.
Appendix G W1c / W1C: DataMatrix Valid Characters: Any eight-bit byte data Variable Length (W1c): This is a two-dimensional matrix symbology comprised of square modules arranged within 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 0xFF can be used within the data string without conflicting with the DPL format record terminators.
Appendix G Field kkk lll mm…m Valid Inputs Meaning 9,11,13…49. ECC 140 A 3 digit odd number (or 000) of rows requested. 000 causes rows to 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.
Appendix G L D11 1W1c44000010001000800000000DATAMAX 121100000000100Barcode W1c E 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 “Datamaxprints best”, and prints the bar code. Notice that a does not terminate the barcode format record. A line of text is also printed.
Appendix G 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, usually a 0x0d hex that occurs twice in succession. The bar code symbol will have the following characteristics: 1. 2. 3. 4.
Appendix G If HEX/ASCII mode is selected in manual Data Input Mode, only the 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.
Appendix G 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: L 7% M 15% Q 25% H 30% Code Type: Matrix Orientation Independence
Appendix G 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, Box 55367, Datamax Corp, Orlando, Florida 32707<0x0D><0x0D> DPL field record, QR Code barcode, Cell Size = 0.01 inch square, positioned at X = .1” and Y = .
Appendix G The error correction or size selection determines the symbol size and other characteristics of the symbol, as shown in the following table. Attempting to encode more data that has been made available will result in no symbol printed.
Appendix G 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.
Appendix G 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 n with n digits. Any 0 following n and not within the n digits will be encoded as FLG(0).
Appendix G W1T: TCIF 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.
Appendix G W1z / 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 0xFF to be included within the data strings without conflicting with the DPL format record terminators.
Appendix G Row/Column/Error Correction Selection Index Implications Columns Maximum Symbol Symbol Maximum Maximum Errors Width[2] Height[3] Binary Data Alphabetic Corrected[1] Bytes[4] Characters[5] ij Rows Maximum Numeric Characters[5] 10 11 12 13 14 15 11 14 17 20 24 28 1 1 1 1 1 1 4 4 4 5 5 5 40 40 40 40 40 40 24 30 36 42 50 58 3 7 10 13 18 22 6 12 18 22 30 38 8 17 26 32 44 55 20 21 22 23 24 25 26 8 11 14 17 20 23 26 2 2 2 2 2 2 2 5 6 6 7 8 10 12 57 57 57 57 57 57 57 18 24 30 36 42 48
Appendix G Character Substitution is enabled, the datastream header and trailer are compacted when they conform to the following forms: [)>RS05GS data RS EoT or [)>RS06GS data RS EoT where: data may not contain adjacent bytes with values RS or G S ( RS = 3010 , 1E16 and GS = 2910 , 1D16 and EoT = 410 ,416) Sample 1: The variable length example prints a MicroPDF417 barcode with 1 column and 24 rows, 33% error correction, no byte compaction, and macro character substitution enabled.
Appendix G 130 E-Class DPL Programmer’s Manual
Appendix H 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/selection (eee height) field, as shown in the tables on the following pages.
Appendix H Font 9, Font Specifications (eee Height) and Associated Characteristics Character Font Size Specifier Point Mapping (eee Height) Size Font 9 Bit-Mapped Internal Fonts CG Triumvirate[1] Single-Byte 000 - 010 5, 6, 8, 10, 12, 14, 18, 24, 30, 36, 48, respectively CG Triumvirate[1] Single-Byte A04, A05, A06, A08, A10, 4, 5, 6, 8, 10, 12, 14, 18, 24, A12, A14, A18, A24, A30, 30, 36, 48, 72, respectively A36, A48, A72 Font 9 Bit-Mapped Downloaded Fonts User downloaded Single-Byte 100 - 999 user define
Appendix I Symbol Sets and 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 0xE4 causes character Φ to be printed. In code page E7, the character code 0xE4 causes δ to be printed. Each of the code pages allows the host application to “emulate” a character set for their application.
Appendix I Single-Byte Code Pages (continued) Code Page Identifier Font Format Description Datamax HP[1] IntelliFont TrueType PB 6J Microsoft Publishing √ √ PC 10U PC-8, Code Page 437 √ √ PD 11U PC-8 D/N, Code Page 437N √ √ PE 17U PC-852 Latin 2 √ √ PG PC-851 Latin/Greek √ PH PC-862 Latin/Hebrew √ PI 15U Pi Font √ √ PM 12U PC-850 Multilingual √ √ PR PC-864 Latin/Arabic √ PT 9T PC-8 TK, Code Page 437T √ √ PU 9J PC-1004 √ √ PV 26U PC-775 Baltic √ √ PX[4] PTXT3000 √ R8 8U Roman-8 √ √ SP ISO 17: Spanish √ √ SW
Appendix I 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 yUxx command.
Appendix I 136 E-Class DPL Programmer’s Manual
Appendix J Module Identifiers, Field Limits, Print Resolutions, & Column Values Module Identifer A B C 1 Memory Type DRAM (default size: 256 K Bytes) Flash[1] Default (A or B Module, as assigned by X) The availability/size of the Internal Flash Module is dependent upon the installed font option (expandable with the Flash Memory Expansion Option) and available Flash memory; reference the Configuration Label, or following the KC command the “INTERNAL FLASH MODULE PRESENT” message.
Appendix J 138 E-Class DPL Programmer’s Manual
Appendix K Speed Ranges and Defaults Speed Command Value A B C D E F G Printer Model Range A-G All E-Class Models[1] 1 Inches Per Second 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Table K-1: Speed Values Print Default G Range A-G Speed Millimeters Per Second 25 38 51 63 76 89 102 Slew Default G Backfeed Range Default A-C C The E-4203 maximum speed is limited to ‘E’ unless the optional regulated power supply is attached.
Appendix K 140 E-Class DPL Programmer’s Manual
Appendix L Commands by Function Commands by Function Function Command(s) 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 Fie
Appendix L Commands by Function (continued) Function 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
Appendix M Image Loading The printer will accept four types of image files: .BMP, .IMG, .PCX 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 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.
Appendix M ^BqA(CR) ^BIAAFLOGO(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR) 8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Appendix N 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.
Appendix N 146 E-Class DPL Programmer’s Manual
Appendix O 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.
Appendix O ILPC-KANJI Option The Kanji Option is a double-byte scalable font supporting Kanji Gothic B and Gothic E. In the doublebyte 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).
Appendix O Sample Kanji Gothic B DPL file (binary addressing) and the resulting label: <02>L D11 ySPM 1911S0003100010P020P015Scalable Kanji Gothic B Available 1B110000020017001234567890 yUJS 1X1100001900010b0392011000020002 112200002800030JIS CHARACTER’S IN ALL 4 ROTATION’S 112200002600030Rotation 1 1911U4002650150P012P012<4D><3F><21><21><21><21><4D><4F><21><21><21><21><4D><5F><21> <21><21><21><4D><6F><00><00> 112200002400030Rotation 2 2911U4002600150P012P012<4D>
Appendix O Sample Kanji Gothic E DPL file (Hex-ASCII addressing) and resulting label: <02>L D11 ySPM 1911S0003100010P020P015Scalable Kanji Gothic E Available 1B110000020017001234567890 yUJS 1X1100001900010b0392011000020002 112200002800030JIS CHARACTER’S IN ALL 4 ROTATION’S 112200002600030Rotation 1 1911uK102650150P012P0124D3F212121214D4F212121214D5F212121214D6F 112200002400030Rotation 2 2911uK102600150P012P0124D3F 2911uK102600205P012P0124D4F 2911uK1026002
Appendix O 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. Doublebyte 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.
Appendix O 2911UC002600250P012P012<00><00> 2911UC002600300P012P012<00><00> 112200002200030Rotation 3 3911UC002330315P012P012 <00><00> 112200002000030Rotation 4 4911UC001950165P012P012<00><00> 4911UC001950215P012P012<00><00> 4911UC001950265P012P012<00><00> 4911UC001950315P012P012<00><00> 1X1100001100010b0392007500020002 112200001650030SCALING
Appendix P 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 must first have the new version 83-2279-04A installed. See the Install_Instructions.
Appendix P • • • 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. 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.
Appendix Q 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.
Appendix Q 156 E-Class DPL Programmer’s Manual
Appendix R 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.
Appendix R Automotive Industry Action Group 26200 Lahser Road Suite 200 Southfield, MI 48034 USA Tel: 313-358-3570 Fax: 313-358-3253 Computing Technology Industry Association 450 E.
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 twodimensional barcodes (Data Matrix, MaxiCode, PDF417, etc.).
Glossary DPL (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.
Glossary reflective media Media imprinted with carbon-based black marks on the underside of the 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.
Glossary 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 · 14, 27, 28, 141, 142 speed · 47, 139, 142 backing material · 159 bar code · 65, 155, 159 Aztec · 101, 102, 122 - 124 Codabar · 101, 102, 107 Code 128 · 101, 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,
Index Onnnn · 14, 18, 19, 32, 33, 36, 142 p · 18, 141 P · 18, 141 Q · 19, 141 qa · 19, 141 r · 19, 30, 142 s · 13, 20, 142 S · 54, 55, 141 Sn · 13, 19, 142 t · 20, 142 T · 20, 141 Tstring · 11, 54 - 56, 141 U[T]nnss…s · 21, 22, 50, 141 v · 22, 141 Vn · 22, 30, 142 wa · 24, 142 Wa · 19, 23, 48, 141 xmtnn…n · 25, 26, 141 Xa · 24, 26, 49, 57, 135, 142 Y · 25, 141 ySxx · 26, 51, 91, 133 - 136, 141, 151
Index I 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 · 16, 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 · 132, 135 L label · 12 - 14, 16 - 19, 21,
Index R real time clock · 11, 31, 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 · 19, 159 - 161 rotation · 40, 59 - 61, 64 - 68 row position · 48, 61, 63 - 68, 142 S Scalable Font · (See