Datamax Programmer Manual
Datamax Programmer Manual
Programmer’s Manual
Corporate Headquarters
4501 Parkway Commerce Blvd.
Orlando, Fl 32808
Phone: 407-578-8007
Fax: 407-578-8377
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.
Revision D
Contents
Overview ........................................................................................................................ 1
General Conventions............................................................................................ 3
Introduction ........................................................................................................ 7
Attention-Getters .................................................................................................. 7
Introduction ........................................................................................................ 9
SOH # Reset............................................................................................... 9
SOH * Reset............................................................................................... 9
i
System-Level Command Functions........................................................................... 15
Introduction ...................................................................................................... 15
ii
STX P Set Hex Dump Mode..................................................................... 24
iii
Extended System-Level Command Functions ......................................................... 35
Introduction ...................................................................................................... 35
iv
STX KtA Write Application Family Identifier (AFI) to Tag ............................. 78
STX KtD Write Data Storage Format Identifier (DSFID) to Tag ................... 79
Introduction ...................................................................................................... 91
v
B Bar Code Magnification................................................................. 93
J Justification ................................................................................... 97
vi
X Terminate Label Formatting Mode .............................................. 103
+ (>) Make Last Field Entered Increment Numeric (Alphanumeric) ..... 105
- (<) Make Last Field Entered Decrement Numeric (Alphanumeric) ... 106
Smooth Font, Font Modules, and Downloaded Bit-Mapped Fonts .............. 118
vii
Scalable Fonts ............................................................................................ 119
Circles.................................................................................................... 123
VB Application to Send RAW Data via a Windows Printer Driver ..................... 136
viii
Appendix G ............................................................................................................... 163
Resolutions, Module IDs, Maximum Field, Column, & Character Values ......... 213
ix
Appendix P ............................................................................................................... 229
Glossary..................................................................................................................... 251
x
Overview
Notes: (1) See <STX>KC for information regarding the firmware version of the printer; and, to upgrade firmware,
visit our ftp site at ftp://ftp.datamaxcorp.com/.
(2) Programming information for the S-Class and the Datamax legacy printers (Prodigy, DMX400, etc.)
can be found in the DPL Programmer’s Manual (part number 88-2051-01). Programming information for
the E-3202 can be found in E-3202 Programmer’s Manual (part number 88-2257-01). Both manuals can
be downloaded from our web site at http://www.datamaxcorp.com/.
(3) References to “Menu Settings” refer either to the printer’s internal set-up menu, or to the printer’s
menu driven display system; please consult to the appropriate printer Operator’s Manual for details.
(4) For backward compatibility purposes, the Class Series printers covered in this manual will ignore
commands that are no longer processed; Appendix N lists these commands.
(5) When updating firmware for E-Class version 4.10 and higher the printer must be in DPL Mode, not
LINE mode, prior to sending the *.dlf file. See Appendix S for details.
OVERVIEW on page 1
Contents, organization, and conventions used in this manual; also includes a typical dataflow
sequence for the printer.
General Conventions
These are some of the conventions followed in this manual:
The Courier font in boldface indicates the DPL command syntax, and Italics are used to indicate
the command syntax parameters.
Regular Courier font indicates sample commands, files and printer responses.
<CR> is used to identify the line termination character. Other strings placed between < > in this
manual represent the character of the same ASCII name, and are single-byte hexadecimal values
(e.g., <STX>, <CR>, and <0x0D> equal 02, 0D, and 0D, respectively).
Hexadecimal values are often displayed in ‘C’ programming language conventions (e.g., 0x02 =
02 hex, 0x41 = 41 hex, etc.)
Status commands
Configuration commands
Download commands
Label format
Status commands
Label reprint commands
Memory cleanup
Commands are available for retrieving stored label formats, updating data, and adding new data. These
techniques are used for increasing throughput. See <STX>G, Label Recall Command ‘r’, and Label Save
Command ‘s’.
Typical commands used in the various stages shown above are listed in the tables that follow.
Configuration Commands
The following table lists some commands useful in controlling printer configuration. These
commands are generally effective only for the current power-up session; toggling power restores the
default configuration. See <STX>Kc for changes to the default power-up configuration. Changing the
default power-up configuration and saving objects in printer Flash memory can reduce the data
transmitted for each label and therefore improve throughput.
Configuration
Name Function
Command
<STX>c Set Continuous Paper Length Must be 0000 for gap media; not used for reflective media
<STX>e Set Edge Sensor Setup for gap or registration hole type stock
<STX>F Send Form Feed Sets the stop position of the printed label
Download Commands
Download
Name Function
Command
<STX>I Download Image Download Image to selected memory module
<STX>i Download Scalable Font Download Scalable Font to selected memory module
<ESC> Download Bitmapped Font Download Bitmapped Font to selected memory module
These commands determine how the label formatting occurs, effect print quality and quantity. They
are typically issued immediately following the <STX>L start of the label format. The Format
Attribute (A) and the Offset (C, R) commands can be changed at any point between format records to
achieve desired effects.
Label Header
Name
Command
A Set Format Attribute
C Column Offset
D Set Width and Dot Size
H Set Heat Setting
M Set Mirror Mode
P Set Print Speed
P Set Backup Speed
Q Set Quantity
R Set Row Offset
S Set Feed Speed
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., “SOH”) are standard ASCII control labels that represent a one character control
code (i.e., ^A or Ctrl A). Appendix A contains the entire ASCII Control Code Chart.
Note: Throughout this manual <SOH>, <STX>, <CR>, <ESC>, and ^, will be used to indicate the control codes.
The actual values will depend on whether standard or alternate control codes are enabled for the
particular application.
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. Resetting the printer returns all settings to default and clears both
the communications and printing buffers. The command also clears DRAM memory.
Syntax: <SOH>#
SOH * Reset
(Display-Equipped Models only)
This command forces a soft reset of the microprocessor, which resets the printer. Resetting the printer
returns all settings to default and clears the communications and print buffers.
Syntax: <SOH>*
Syntax: <SOH>A
Sample: <SOH>A
Where:
Syntax: <SOH>a
Sample: <SOH>a
Where:
Syntax: <SOH>B
Sample: <SOH>B
Printer Response: This command will illuminate the Paused/Stop Indicator and/or indicate
PAUSED on the LCD or graphics display panel, suspend printing, and wait
until one of the following occurs:
The <SOH>B command is sent to the printer.
The PAUSE Key is pressed.
Upon which the printer will turn the Paused/Stop Indicator ‘Off’ and/or
remove PAUSED from the LCD or graphics display panel, then resume
operation from the point of interruption. (If the Receive Buffer is not full,
an <XON> character will be transmitted from the printer.)
SOH C Stop/Cancel
This command performs the same function as pressing the STOP/CANCEL Key on the printer. This
function clears the current label format from the print buffer, pauses the printer, and illuminates the
Paused/Stop Indicator. (The pause condition is terminated as described under <SOH>B.)
Syntax: <SOH>C
Sample: <SOH>C
Printer Response: This command will clear the print buffer, pause the printer, illuminate the
Paused/Stop Indicator and/or indicate PAUSED on the LCD or graphics
display panel, suspend printing, and wait until one of the following occurs:
The <SOH>B command is sent to the printer.
The PAUSE Key is pressed.
Upon which the printer will turn the Paused/Stop Indicator ‘Off’ and/or
remove PAUSED from the LCD or graphics display panel. (If the Receive
Buffer is not full, an <XON> character will be transmitted from the printer.)
Syntax: <SOH>D
Sample: <SOH>D
Printer Response: This printer will ignore Immediate Commands (^A) until a valid SOH
command is received three times, separated by a one second delay between
each command; or, until the printer is manually reset.
Syntax: <SOH>E
Syntax: <SOH>e
Syntax: <SOH>F
Where ‘X’ is 0 through 0xef with bits as indicated in the ‘Condition’ column below:
Bit[1] Value Condition
8 0 Always zero
7 1 or 0 Label presented
6 1 or 0 Printer paused
5 1 or 0 Busy printing
4 1 or 0 Printing batch
3 1 or 0 Ribbon out or Fault
2 1 or 0 Paper out or Fault
1 1 or 0 Command interpreter busy (imaging)
[1]
One is the least significant bit.
Syntax: <SOH>U
Introduction
The most commonly used commands are the System-Level Commands. These are used to load and store
graphics 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. Parameters (if any).
Syntax: <STX>AwmmddyyyyhhMMjjj
Where:
w 1 digit for day of week; 1 = Monday; 7 = Sunday
mm 2 digits for month
dd 2 digits for day
yyyy 4 digits for year
hh 2 digits for hour in 24 hour format
MM 2 digits for minutes
jjj 3 digits for Julian date (numerical day of the year) / constant; see notes below.
Sample: <STX>A1020319960855034
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 <STX>T.
Syntax: <STX>a
Printer response: Event dependent. (Also, see Appendix D for error codes.)
Where:
Sample: <STX>B
Where:
w 1 digit for day of week; 1 = Monday
mm 2 digits for month
dd 2 digits for day
yyyy 4 digits for year
hh 2 digits for hour in 24 hour format
MM 2 digits for minutes
jjj 3 digits for Julian date / constant*
* See <STX>A for details and restrictions.
Syntax: <STX>cnnnn
Where: nnnn - Specifies the length of the media feed for each label format, in
inches/100 or millimeters/10 (see <STX>m).
Sample: <STX>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.
Syntax: <STX>d
Notes: (1) This command is generally not used because fast formatting is the normal operating mode when
the number of variable print fields (Label Formatting commands +, -, <, >, u) is less than or equal to
1/3 of the print field count total. In this case, the command will force fast formatting even when the
proportion of variable print fields is greater than 1/3 the total.
(2) The maximum label size is unaffected by this command.
(3) The <STX>s command restores normal (fast) formatting.
Syntax: <STX>Ennnn
Sample: <STX>E0025
<STX>G
Syntax: <STX>e
Note: This command is ignored when <STX>cnnnn is issued with a non-zero value for nnnn.
Syntax: <STX>F
Note: Following a reset, if the length of the first label fed is less than the label offset value (defined by the
<STX>O command) the printer will advance past that label until a top-of-form is detected, or until the
offset is reached.
Non-Display Models: The printer Option Control must be set (via the menu) to ‘Host’ for this
command to have effect.
Display-Equipped Models: This command is not honored, see <STX>Kf and <STX>Kc.
Syntax: <STX>fnnn
Sample: <STX>f230
The sample sets a stop position distance of 230 (2.3 inches from the Media Sensor’s eye).
Syntax: <STX>G
A-Class printers: A “ready mode” logo for the graphics display can be input using this command.
The image must be stored on a Flash Module. The image name must be “LOGOLAB” (in uppercase,
only) in the following DPL command. The available display area is 312 pixels wide by 94 pixels
high. Images larger than this specified width or height will be clipped on the right and/or bottom
edges. After power has been cycled, the new logo will appear.
Note: The native format for storing downloaded PCX and BMP images is RLE-2. The result is a better
compression ratio and therefore the use of less module space for downloaded gray-scale images
and for images with very large areas of either black or white.
Syntax: <STX>Iabfnn…n<CR>data
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 D.
Syntax: <STX>imtnnName<CR>xx…xdata…
Where: m - Memory Module Designator to save this font to; see Appendix K.
This sample downloads a TrueType font to module ‘D’ and assigns it the Font ID of 52 with the
name “Tree Frog”. The size of the font data is 0x87C2 bytes long.
Syntax: <STX>J
Syntax: <STX>k
Printer response: Y
Syntax: <STX>L
Syntax: <STX>Mnnnn
Sample: <STX>M0500
The sample sets a maximum travel distance of 5 inches (unless the printer is in metric mode, see
<STX>m).
Syntax: <STX>m
Syntax: <STX>n
Non-Display Models: The printer Options Control must be set (via the menu) to ‘Host’ for this
command to have effect.
Display-Equipped Models: If SOP Emulation is set to ‘enabled’ (via the menu), this command sets
the point where printing starts, emulating the selected legacy printer’s distance, as measured between
the media sensor and the printhead burn line. In addition, regardless of the SOP Emulation setting the
start of print position can be fine-tuned via the menu: Menu Mode / Print Control / Custom
Adjustments / Row Adjust.
Syntax: <STX>Onnnn
The above sample sets a start of print position of 3.0 inches (unless in Metric Mode, see <STX>m).
The above sample will begin printing 0.1 inch closer to the leading edge of the label if the 220
(Allegro) SOP Emulation was selected, or 1.0 inch farther away from the leading edge if 110
(ProdPlus) SOP Emulation was selected.
Syntax: <STX>o
Syntax: <STX>P
Syntax: <STX>p
Syntax: <STX>Q
Syntax: <STX>qa
Sample: <STX>qA
Notes: (1) If a module directory intermittently returns the message ‘No Modules Available’ or if data
continuously becomes corrupt with the write protect switch on, the module may be at the end of its
service life. Before, however, concluding that a module is defective, cycle the printer’s power and
test the module.
(2) E-Class models: Some Flash Memory Expansion options must have Write Enable jumpers
installed to perform this command.
Syntax: <STX>Rx
Sample: <STX>RY
Note: This command is ignored on units not equipped with the ribbon saver option.
Syntax: <STX>r
Syntax: <STX>Sn
Syntax: <STX>s
Syntax: <STX>T
Syntax: <STX>t
Non-Display Models: The printer must be in Test Mode for the command to function. To enable the
Test Mode see the <STX>KD command.
Where: a - 2 = Slot B
Display-Equipped Models: The printer must have Feedback Characters enabled for this command to
function. Feedback Characters can be enabled via the menu (see the Operator’s Manual for additional
information).
Exact Length Replacement Field Functions – The new data string must equal the original string
length and contain valid data. When the dynamic data is shorter than the length of the originally
defined data field, then field will be padded with blanks (or zero when the Format Record header
specifies a numeric bar code).
Syntax: <STX>Unnss…s<CR>
The sample produces three labels. The first is formatted with the commands between <STX>L and
E. The next two labels print with the replacement data contained in the <STX>U commands (see
<STX>E and <STX>G). The bar code is the same length: 3 digits and nine spaces.
Truncated Length Replacement Field Functions – A variant of the <STX>U command includes the
truncate option ‘T’, where dynamic data shorter than the originally defined field length will not be
padded, and the original maximum field length is maintained for subsequent replacements.
Syntax: <STX>UTnnss…s<CR>
T - Truncate option
The sample produces three labels. The first is formatted with the commands between <STX>L and
E. The next two labels print with the replacement data contained in the <STX>U commands (see
<STX>E and <STX>G). The bar code is shortened; it only has three digits (and no spaces).
Display-Equipped Models: Printer options are set by entering selections through the menu. The
software setting command allows two of these option settings to be modified without returning to the
menu.
Syntax: <STX>Vn
Where: n - Is a single digit ASCII numeric value from 0-F. The value of
n is used to override the power-up option settings. Reset or
power-up returns the printer to the original settings.
Sample: <STX>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.
Use the bit assignment table above to determine the command value n in the binary table below (e.g.,
the command value 5 sets the bits 0 and 2 to ‘1’).
Syntax: <STX>v
Syntax: <STX>Wa
Sample: <STX>Wf
Meaning:
MODULE: A<CR> Module ID ‘A’, fonts following reside in this module
103 CG Triumv <CR> Downloaded font ID and name
MODULE: F<CR>
Module ID ‘F’ (no user access), fonts following reside in this
module
000 <CR> Font internal ID 000, resident bitmapped font DPL ID 0
001 <CR> Font internal ID 001, resident bitmapped font DPL ID 1
002 <CR> Font internal ID 002, resident bitmapped font DPL ID 2
003 <CR> Font internal ID 003, resident bitmapped font DPL ID 3
004 <CR> Font internal ID 004, resident bitmapped font DPL ID 4
005 <CR> Font internal ID 005, resident bitmapped font DPL ID 5
006 <CR> Font internal ID 006, resident bitmapped font DPL ID 6
007 <CR> Font internal ID 007, resident bitmapped font DPL ID 7
008 <CR> Font internal ID 008, resident bitmapped font DPL ID 8
012 <CR> Font internal ID 012, resident bitmapped font DPL ID 9, A06
013 <CR> Font internal ID 013, resident bitmapped font DPL ID 9, A08
014 <CR> Font internal ID 014, resident bitmapped font DPL ID 9, A16
015 <CR> Font internal ID 015, resident bitmapped font DPL ID 9, A12
016 <CR> Font internal ID 016, resident bitmapped font DPL ID 9, A14
017 <CR> Font internal ID 017, resident bitmapped font DPL ID 9, A18
018 <CR> Font internal ID 018, resident bitmapped font DPL ID 9, A24
019 <CR> Font internal ID 019, resident bitmapped font DPL ID 9, A30
020 <CR> Font internal ID 020, resident bitmapped font DPL ID 9, A36
Syntax: <STX>wa
Note: E-Class models: Some Flash Memory Expansion options must have Write Enable jumpers installed
to perform this command.
Syntax: <STX>Xa
Sample: <STX>XB
Syntax: <STX>xmtnn…n<CR>
Non-Display Models: The printer must be in Test Mode for the command to function. To enable the
Test Mode see the <STX>KD command.
Display-Equipped Models: The printer must have Feedback Characters enabled for this command to
function. Feedback Characters can be enabled via the menu (see the Operator’s Manual for additional
information).
Syntax: <STX>Y
Notes: Equipped sensors vary with printer, model, and options. In addition, some readings require printer-
controlled paper movement to indicate a meaningful value.
Syntax: <STX>ySxx
Sample: <STX>ySPM
Syntax: <STX>Z
Printer response:
FRI SEPTEMBER 026, 1997 19:29 244 DIRECT THERMAL
VER: E4304 - 04.06 08/24/01 COMMUNICATIONS NOT DETECTED
BOOT 83-2329-04A 9600,8,N
CODE 83-2325-04F EDGE
FONT 83-2337-01A SOP ADJUST________ 128
CPLD 59-2157-01C PRESENT ADJUST____ 128
SYSTEM RAM CHECKS____ GOOD TOF LOW___________ 0
SYSTEM RAM SIZE___ 2016 KBYTES TOF DELTA_________ 10
SYSTEM RAM AVAIL__ 1264 KBYTES TOF GAIN__________ 10
REG POWER SUPPLY__ NO OOS MAXVOLT_______ 2
Notes: Printed information will vary according to printer, model, firmware version, and options.
Syntax: <STX>zm
Introduction
Issued in the same context as System-Level Commands, the Extended System-Level Commands expand
certain System-Level Commands to provide extra degree of printer control.
Syntax: <STX>Kix[:jy][:kz]<CR>
Sample: <STX>KM0020:S0015<CR>
In the sample, memory is allocated 20*4*1024 bytes for module space and 15*4*1024 bytes for the
scalable cache.
M Represents the start of a sequence (up to five characters) that assigns memory to the Internal
Module. 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 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 100ths of an inch or in 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 resolution / 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
<STX>KQ command) should be three times the label print length.
This command instructs the RFID device to read data from the tag and then place that data into a
replaceable field. It is expected that the tag transponder will be within the read / write distance of the
RFID programming device; otherwise, “Void” will be printed in the text or bar code label field.
Syntax: <STX>KaRAaaabbbcdee<CR>
ee - Field number in which to place the data (must be 01, 02, 03, etc.)
matching the order of Label Formatting command U.
Note: The 00 value will send read data to the host with no printing.
Sample: <STX>L
1911A1802000010TEXT
U
X
<STX>KaR0000010001
<STX>G
The sample creates a replaceable text field (01), recalls data from the RFID tag block zero (reading
only one block), and prints the data in the location specified by the replaceable field. Since there are
two digits per each hex value, replaceable fields should be twice as long than if using ASCII data (e.g.,
the character “A” would be returned as “41”).
* Dependent on transponder manufacturer.
This command instructs the RFID device to write data to the tag. It is expected that the tag
transponder will be within the read / write distance of the RFID programming device; otherwise, a
warning will occur and a warning message (Read / Write Fail) will be displayed.
Syntax: <STX>KaWAaaabbbcdee…e<CR>
Where: Aaaa - Optional – for data in the ASCII format, followed by the byte
count (000-999).
ee…e - Data to be encoded on RFID tag (HF – the last used block will be
null-padded, if necessary).
Sample: <STX>KaW0000054455354[CR]
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: <STX>Kbnnn<CR>
Syntax: <STX>KC<CR>
Printer response:
Note: Displayed information and its formatted form will vary with printer, model, firmware version, and
equipped options.
These parameter values are equivalent to changing the respective menu settings and do not affect
the factory default settings of the printer.
If separated by a semi-colon (;), multiple parameter values may be sent in a single command
stream; see sample below.
All values are stored in Flash memory and remain in effect until new values are received or until
factory defaults are restored.
If system commands are sent that override the Power-up Configuration value(s), the Power-up
Configuration value(s) will be restored the next time the printer is powered ‘On’ or reset.
These parameters are the same as those found in the Setup Menu (non-display models), or as
those found in the Menu System (display-equipped models). The respective functions are
documented in the appropriate Operator’s or Maintenance Manual. Not all commands are
effective on all Class printers.
Note: Illegal or out of range parameter values may have unpredictable results. In addition, Media sensing
scaling values, TOF Bias, etc. may not be effective on other printers of the same type due to
hardware tolerances.
Syntax: <STX>Kcaa1val1[;aaIvalI][;aanvaln]<CR>
val1, valI, valn - Are parameter values, with ranges appropriate for
the associated parameter.
Sample: <STX>KcPA120;CL600;STC<CR>
The sample sets the Present Adjust to 120 dots, the Continuous Label Length to 6 inches, and the
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 column of the table. Where
no equivalent is given, unique parameter descriptions follow the tables.
Y = Enabled,
Backup After Print BA Y, N Display-Equipped System Settings N/A
N = Disabled
0 = Disabled,
Display-Equipped
Backup Label BL 0, 3, 4 3 = Active Low, Printer Options N/A
(w/GPIO option)
4 = Active High
Y = Enabled,
British Pound BP Y, N Display-Equipped N/A N/A
N = Disabled
Y = Enabled,
Y, N Display-Equipped Communications
N = Disabled
Comm Speed Commands CS N/A
1 = Enabled,
1, 0 Non-Display 25
0 = Disabled
Y = Enabled,
Comm TOF Commands CT Y, N Display-Equipped Communications N/A
N = Disabled
200, 300,
DPI Emulation DE Dots per inch Display-Equipped System Settings N/A
400, 600
1 = Low Pulse,
2 = High Pulse, Display-Equipped
End Of Print EP 1, 2, 3, 4 Printer Options N/A
3 = Active Low, (w/GPIO option)
4 = Active High
Y = Enabled,
ESC Sequences ES Y, N Display-Equipped Communications N/A
N = Disabled
Y = Enabled,
Exact Time ET Y, N Non-Display 24 N/A
N = Disabled
X = XOR,
Format Attributes FA X, O, T O = Opaque, Display-Equipped System Settings An
T = Transparent
0 = No Substitution Display
Font Emulation FE 0, 1, 2 1 = Sub CG Times SA0 N/A N/A
2 = Sub User S50 Non-Display
Y = Enabled,
Feedback Mode FM Y, N Display-Equipped Communications <STX>a
N = Disabled
Y = Enabled,
Y, N Display-Equipped Communications
N = Disabled
N/A
Ignore Control Codes IC
1 = Enabled,
1, 0 Non-Display N/A
0 = Disabled
1 = Enabled, N/A
Ignore Distances IE 1, 0 Non-Display N/A
0 = Disabled
M = Multiple label,
Imaging Mode IL M, S Display-Equipped System Settings N/A
S = Single label
100 – up to
max.
Kbytes Display-Equipped System Settings N/A
available, see
Internal Module IM Appendix K
4 Kbytes
0 – 128 Non-Display 17 <STX>KM
(0 = disabled)
Maximum Label Length ML 0 – 9999 1/100 inch Display-Equipped Media Settings <STX>M
Y = Enabled,
No Reprint NR Y, N Non-Display 25 N/A
N = Disabled
Y = Enabled,
Peel Mode PE Y, N Display-Equipped System Settings N/A
N = Disabled
000000 –
Printer Level PL Hex Codes Display-Equipped System Settings N/A
FFFFFF
Y = Enabled,
Pause Mode PM Y, N Display-Equipped System Settings <STX>J
N = Disabled
Paper Out Distance PO 0 – 9999 1/100 inch Display-Equipped Media Settings N/A
A or Y = Auto,
A/Y, E, N/D E = Enabled, Display-Equipped Printer Options <STX>V
N or D = Disabled
Present Sensor Enable PS
A = Auto,
<STX>V,
A, Y, N Y = Enabled, Non-Display 3
<STX>KD
N = Disabled
Y = Enabled,
Tear Position PT Y, N Non-Display 20 N/A
N = Disabled
Four characters
Password Set PW A – Z, 0 – 9 (or, if security is enabled Display-Equipped System Settings N/A
then 8 characters).
A or Y = Auto,
Ribbon Saver Enable RE A/Y, E, N/D E = Enabled, Display-Equipped Printer Options <STX>R
N or D = Disabled
M, A, D, S, Display-Equipped
RFID Configuration RI See Table 5-7. Printer Options N/A
L, R, W, E, P (w/RFID option)
Ribbon Low Diameter RL 1.00 – 2.00 1/100 in. Display-Equipped Media Settings N/A
Reflective No Paper
RN 0 – 16 .1 Volt DC Non-Display 11 N/A
Minimum (Out Of Stock)
L = Prodigy Plus,
A = Allegro,
SOP Emulation SE L, A, P, D Display-Equipped System Settings N/A
P = Prodigy,
D = Disable
A, H, P,
Stop Location SL See Table 5-9. Non-Display 20 N/A
C, T, N
C, H, M,
Scanner Configuration SN See Table 5-10. Display-Equipped Printer Options N/A
D, B, V
No Paper Min
TN 0 – 16 .1 Volt DC Non-Display 11 N/A
(Out Of Stock)
Y = Enabled,
TOF Precedence TP Y, N Display-Equipped N/A N/A
N = Disabled
M = Metric, <STX>m,
Unit of Measure UM M, I Display-Equipped System Settings
I = Imperial <STX>n
A or Y = Auto,
Verifier Equip VE A/Y, E, N/D E = Enabled, Display-Equipped Printer Options <STX>KV
N or D = Disabled
(AL) Alignment Length – Critical for small labels when ‘Label Alignment’ is set to ‘Yes,’ this
command allows a length, measured from leading edge to leading edge of two successive labels,
to be entered. The measured length must be provided to the nearest hundredth of an inch. For
very small labels, errors of 0.01” can result in noticeable print variations on the labels between
the media sensor and the printhead. The number of labels that can be fit between the Media
Sensor and the printhead will magnify any error in label alignment length. Errors in measurement
are more favorable on the low side rather than the high side.
(AS) Single Byte Symbol Set – This command allows for a default single-byte symbol set. See
<STX>y or ySxx for command details.
(BA) Backup After Print – When the present distance is set with the GPIO enabled, this
command determines the timing of the label back up. When enabled, the printer immediately
backs up the label after the applicator-issued start of print signal is received, resulting in faster
throughput. If disabled, the printer will not initiate repositioning until the next label is ready to
print (may help prevent the curling of the label edge).
(BL) Backup Label – This command determines the timing of the label back up when the GPIO 1
option is installed and enabled. When enabled, the interface supports an input signal that allows
the printer to back up a label once it has been presented.
(BP) British Pound – This command, when enabled, will automatically switch from the Number
symbol (#) found at 0x23 (default PC-850 Multilingual Symbol Set) to the British Pound symbol
(£) at 0x9C.
(BS or bS) Backup Speed – This command controls the rate of label movement during backup
positioning for start of print, cutting or present distance; see Appendix C for available speed
ranges.
(BZ) Buzzer Enable – This command controls the audible signaling device that acknowledges
User Interface entries and, if enabled, sounds printer warning and fault conditions.
(CA) Column Adjust – This command fine-tunes the Column Offset setting by shifting both the
horizontal start of print position and the Label Width termination point to the right in dots (see
Appendix K) to compensate for slight mechanical differences sometimes evident when multiple
printers share label formats.
(CC) Control Codes – This command, depending upon printer type, allows a change to the prefix
of the software commands interpreted by the printer:
(CH) Comm Heat Commands – This command causes the printer to ignore DPL Heat
commands; instead, the Heat value is controlled via the menu setting.
(CS) Comm Speed Commands – This command causes the printer to ignore DPL speed
commands; instead, speed values are controlled via the menu setting.
(CT) Comm TOF Commands – This command causes the printer to ignore DPL TOF (Gap,
Continuous, and Reflective) commands; instead, the sensor type is controlled via the menu
setting.
(DE) DPI Emulation – This command allows printers with higher resolutions to emulate lower
print resolutions, as follows:
• 600 DPI can emulate 300 and 203 DPI resolutions
• 400 DPI can emulate a 203 DPI resolution
(DK) Darkness – This command controls the printhead strobe timing to fine-tune the HEAT
setting.
(DR) Delay Rate – This command sets the number of minutes to delay between multiple batch
printings of Quick Test Labels.
(DS) Double Byte Symbol Set – See <STX>y or ySxx for command details.
(EM) Input Mode – This command determines the printer’s mode of data processing: Standard
DPL, or Line Mode. In Line Mode the printer will not parse character strings; instead, it will
behave as a line printer, where each carriage return terminated line of data will be printed on the
label according to a stored template. See Appendix S for details.
(EP) End of Print – This command defines the programmable signal output that signifies the End
of Print (EOP) process:
(EQ) Start of Print – This command defines the programmable signal input that controls the Start
of Print (SOP) process:
(ES) ESC Sequences – This command allows data containing invalid ESC control code
sequences to be processed (helpful because some systems send a “banner” to the printer). When
set to ‘Disabled,’ ESC sequences are ignored and the data is processed. Bitmapped font
downloads are disabled in this mode.
(ET) Exact Time – This command set the printer to wait until the system is idle before the next
label’s data and time fields are formatted to eliminate any discrepancy between the buffered and
printed times.
(EV) Empty Sensor Level – This command sets threshold value for the ‘Empty’ media sensor
parameter.
(FA) Format Attribute – See the “An” (in Label Formatting Command Functions) command for
details.
(FE) Font Emulation –This command allows font substitution for all Datamax internal fonts,
allowing a new default font to be defined without changing the host DPL data streams. Selecting
a default font that supports a desired character set could match with third party software to print
native characters without modifying the PC drivers. In other words, match the PC font with the
Printer Font then no interpretation would be required by driver or printer. Depending on host
drivers, the user may have to disable Symbol Set commands and modify the Default Symbol set.
(FH) Fault Handling – When a fault condition (ribbon out, media out, etc.) is detected, this
command determines the level of intervention and the disposition of the label being printed at the
time the fault occurred.
Units /
Value Definition
Interpretation
Example: <STX>KcFH112<CR>
(The example configures the printer to back up and print a one-inch “VOID” message on a
label when a fault is detected; if two successive faults occur during the printing of that label
then the FEED Key must be pressed to clear the fault.)
(FS) Slew Speed – This command controls the rate of label movement between printing areas
when the GPIO port is used; see Appendix L.
(GE) GPIO Enable – This command is used to interface the printer to external controlling
devices (see Appendix J):
(GM) Gap / Mark Value – This command sets threshold value for the media sensor’s ‘gap /
mark’ parameter.
(GR) Gain Reflective Value – This command sets the sensitivity of the reflective media sensor.
(HB) Head Bias – This command instructs the printer to switch the dot zero position: as viewed
from the printer’s front panel (or label output side) – when dot zero occupies the left-most
location on the printhead then printing is left justified; when dot zero occupies the right-most
location, printing is right justified.
(HC) Head Cleaning – This command controls the printhead cleaning routine. The entered value
specifies the inch (or centimeter) count to reach before prompting a printhead cleaning. If the
number specified is exceeded three times, the printer will fault until cleaning is initiated.
Note: The number specified is multiplied by one thousand. Zero disables this function.
(HT) Host Timeout – This command controls the number of seconds a communications port must
be idle before the printer may process data from a different port. The value is also used to
“timeout” an image / label format download (i.e., if, at any time, data flow stops before a
complete label format is received, the data will be ignored).
(IC) Ignore Control Codes – This command allows the user to remove control codes (< 20 Hex)
in the data field. The selected line terminator is processed. When enabled, DPL Control Code
(SOH, STX, CR, ESC, and ^) characters are removed from the data string. (Note that some fonts
do have printable characters in this range and they will not be printed when enabled.)
(IE) Ignore Distances – This command, when enabled, prevents <STX>O processing that will
change the start of print position.
(IL) Imaging Mode – This command instructs the printer whether to pre-image the label format:
Note: This selection can affect the accuracy of time-stamped labels and label throughput.
(IM) Internal Module – This command sets the number of 1K blocks (or 4K blocks for non-
display models, see the <STX>KM command) allocated for the internal RAM ‘D’ module.
(LA) Label Alignment – This command 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 specific information. Unless otherwise noted, the following
information pertains to all non-display models:
6.5-inch and
greater (≥ At power-up,
The first label is skipped to ensure
16.51 cm) die- printing will begin
proper start of print position. Unless
cut, notched, at the current label
N Disabled using continuous stock, the operator
reflective, position (unless
must press the FEED Key to ensure
continuous, and RTC-equipped, see
proper label alignment.
multiple form note below).
lengths.
(LE) Legacy Emulation – This command enables the <STX>O and <STX>f print positioning
commands to allow backward compatibility with label formats that were designed for the
Allegro® Prodigy®, and Prodigy Plus® (If the printer is display-equipped, also Prodigy Max®
emulation).
(LS) Language Select – This command selects the language in which the menu system messages
and configuration label are shown. Only languages that are resident will be available.
(LW) Label Width – This command sets the maximum limit for the printable width. Objects
extending beyond this limit will NOT print; see Appendix K. (For non-display models also see
the <STX>KW command.)
Note: Ex2 models require this command prior to the start of a label format command (<STX>L).
(MCC) Module Command – This command adjusts the size of Flash module on the optional
Expansion Card according to the table below (see Appendix K for appropriate module details):
Size: 1 – 56, 128 Kbytes blocks. This is the amount to be allocated to Module G;
Gxx xx =
any remaining memory will be allocated to Module X.
(MT) Media Type – This command selects the printing method: Direct Thermal for use with heat
sensitive media or Thermal Transfer for use with media requiring a ribbon to create an image.
(For non-display models also see the <STX>KD command.)
(MV) Mark Value – This command sets threshold value for the reflective media sensor’s ‘mark’
parameter.
(NR) No Reprint – This command controls the label reprint function following the correction of a
fault condition. Upon detection of a fault (ribbon out, paper out, etc.), printing stops and a fault
indicator is illuminated. After the problem is corrected, the FEED Key must be pressed to clear
the fault and resume normal operation. When enabled, the label in process is not reprinted.
(NS) Disable Symbol Set Selection – This command prevents the <STX>y and y commands
from changing the default single-byte symbol set. When enabled, DPL Symbol Set commands are
ignored.
Note: When enabled, the only way to change the current symbol set is with the <STX>KcAS
command.
(OF) Option Feedback Mode – This command configures the printer to output the status of the
RFID or Scanner option to the active port, as follows.
D = Disable
S = Scanner Enable
Table 5-5: Option Feedback Command
Once enabled, the printer will report information about the results of the last label printed. One
response per label is returned to the host (this includes each voided and retried label). The
format and contents of the returned information is as follows:
B - Resulting status:
C = entire label complete
F = faulted (failed) label
U = unknown
D - The number of good reads for bar codes or tags, given in two
characters.
RFID response samples: Since RFID commands vary in operation, the data returned also
differs. Write commands return entire tag data; Write/Verify commands return the data
written; and, Read commands return data and length requested in the specified format. (See
Appendix T for a listing of commands.)
(PA) Present Adjust – This command fine-tunes the Present Distance setting to compensate for
slight mechanical differences sometimes evident if multiple printers share label formats.
(PC) Print Contrast – This command adjusts the relative print edge (gray) component of the print
quality, which allows fine-tuning for specific media/ribbon mix.
(PD) Present Distance – This command sets the label stop position past the start of print. When
the next label format is received, the printer will automatically backfeed to the start position. If
the present distance is set to zero, the printer will operate without reversing. (See Stop Location,
below).
(PE) Peel Mode – This command, when enabled, specifies that a Feed operation be prevented
when the label is presented and not removed, or if the printer is to wait for the GPIO start of print
signal.
(PL) Printer Level – This command is used to upgrade the software feature level of the printer.
(PO) Paper Out Distance – This command sets the length of travel before an out of stock
condition is declared.
(PP) Parallel Direction – This command controls the communications settings for the parallel
port(s):
x - A port ID
B port ID
xDz
z - U unidirectional (One-way printer communication)
B bidirectional (Enables IEEE 1284 back-channel operation)
(pS) Print Speed – See P (in Label Formatting Command Functions) for command details.
(PT) Tear Position – This command sets the label stopping location at the tear plate on the
printer’s cover.
(PV) Paper Value – This command sets threshold value for the media sensor’s ‘paper’ parameter.
(PW) Password – This command modifies the numeric password required to access the menu
system when security is enabled. If security is enabled, enter the new password followed by the
old password (with no spaces) in this form: XXXXXXXX
(QQ) Configuration Query – This command causes the printer to respond with the current
configuration settings. The <STX>Kc response command stream format is sent to the host
computer via the serial port containing all parameters controlled by the <STX>Kc command, and
may be used for restoring the printer’s configuration or for configuring other printers.
(RA) Row Adjust – This command shifts the vertical start of print position in dots (see Appendix
K) to fine-tune the Row Offset setting to compensate for slight mechanical differences sometimes
evident if multiple printers share label formats.
(RB) Reflective TOF Bias – This command allows the manual entry for the control voltage level
to recognize a label “gap” or “mark.”
(RD) Reflective TOF Delta – This command allows the manual entry for the control of the low-
level voltage difference level to recognize a label “gap” or “mark.”
(RF) Row Adjust Fine Tune – This command shifts the vertical start of print position in dots (see
Appendix K) upward or downward to fine-tune the Row Offset setting to compensate for slight
mechanical differences sometimes evident if multiple printers share label formats.
(RG) Reflective TOF Gain – This command allows the manual entry for the control of the
voltage to the LED emitter of the Media Sensor.
(RI) RFID Configuration – This command configures the optional RFID interface module, as
follows:
2-Chararacter
AIhh where hh: (HF only) Application Family Identifier (AFI)
Hex ID
E = Enable,
ALl and where l: (HF only) Lock after write.
D = Disable
2-Chararacter
DIhh where hh: (HF only) Data Storage Format Identifier (DSFID)
Hex ID
E = Enable,
DLl and where l: (HF only) Lock after write.
D = Disable
2-Chararacter (UHF only) Lock Code. (Lock after write [Wn] should
Lhh where hh:
Hex ID also be enabled.)
E = Enable,
Wn where n: Lock (tag) after write.
D = Disable
E = Enable,
En where n: Erase (tag) on error. (Fill with nulls [0x00]).
D = Disable
Example: <STX>KcRIMH;RIA11E;RID22E;RIS04;RIR3;RIWE;RIEE;RIP000<CR>
The above example sets the printer to HF, protect after write AFI 11, protect after write
DFSID 22, set EAS Bit (Mfg. Code 0x04), allow 3 tries for each read or write attempt, lock
after writing, erase the tag if there is an error, and use a position of 0.00.
(RL) Ribbon Low Diameter – This command sets the threshold for a low ribbon indication,
where nnnn is the diameter in hundredths of inches.
(RN) Reflective No Paper Minimum – This command sets the media sensor’s reading for the Out
Of Stock (OOS) condition.
(RO) Row Offset – See Rnnnn (in Label Formatting Command Functions) for command details.
(RS) Ribbon Low Signal – This command sets the signal output that signifies the Ribbon Low
Diameter condition for the optional GPIO (see Appendix J).
(RV) Reflective Paper Value – This command sets the threshold value for the reflective media
sensor’s paper parameter.
(SA) SOP Adjust – This command sets the start of print (SOP) location, relative to the top of
form. See <STX>O for command details.
(SC) Scalable Cache – This command sets the number of 1K blocks allocated for the scaleable
font engine. Available memory dependent upon model; see Appendix K. (For non-display models
see the <STX>KS command.)
(SE) SOP Emulation – This command enables the <STX>O and <STX>f print positioning
commands to allow backward compatibility with label formats designed for other printers.
(SF) Save As Filename – This command saves the effective configuration of the printer to a file,
storing it in Flash memory.
(SG) Sensor Gain Value – This command sets the control of the voltage to the LED emitter of
the Media Sensor.
(SH) Scalable Heap – This command sets a working “scratch pad space” in DRAM for scalable
font construction.
(Sl) Security Lock – This command provides the ability to password-protect all printer settings
made through the User Interface, as follows:
Nxxxx Where xxxx is the current password, this disables Menu protection.
Yxxxx Where xxxx is a new password, this enables Menu protection and sets a new password.
Where xxxx is a new password, this enables Menu protection, disables the User
Txxxx
Interface Test Button functions, and sets a new password.
Table 5-8: Security Lock Command
(SL) Stop Location – This command sets the label stopping (and in certain cases the starting)
location, as follows:
Automatically sets the stop location. Installed options will be ‘auto-sensed’ and the
A
appropriate stop position will automatically be set. Host commands are ignored.
Sets stop position according to options installed. If no options are installed the printer
sets stop location to the next label’s start of print. Host commands will override. The
H stop location (present distance) may be controlled dynamically by the host using the
<STX>f or <STX>Kf commands. This selection has the same effect as <STX>KD
Ignore Host Distance bit value 0.
Sets the stop location to approximately 2 mm behind the peel bar edge, a nominal peel
P
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
C
following the end of the label. The cutter status and this setting are independent.
T Sets the stop location to that of the tear bar on the printer cover.
Sets the stop location to the start of the next label, equivalent to setting the <STX>KD
N
Ignore Host Distance bit value 1.
Table 5-9: Stop Location Command
(SN) Scanner Configuration – This command configures the optional linear scanner, as follows:
Bar Code Type – Specifies the bar code, using two digits, followed by ‘Y’ (to enable) or
B
‘N’ (to disable) the code, where:
01 = CODE 39 06 = CODE 93 11 = EAN(13/8)+5
02 = IATA 07 = CODE 128 12 = UPC(A/E)
03 = CODABAR 08 = MSI/PLESSEY 13 = UPC(A/E)+2
04 = INTERLEAVED 2 OF 5 09 = EAN(13/8) 14 = UPC(A/E)+5
05 = INDUSTRIAL 2 OF 5 10 = EAN(13/8)+2
Note: To maximize throughput and decoding integrity enable only those symbologies that will
be read.
Note: Do not use Auto Mode with bitmapped codes or codes with certain addendums; see
Appendix F.
H Min Readable Height – Sets the vertical distance of the code that must have identical
reads to pass, where:
1 = 1/16
2 = 2/16
3 = 3/16
4 = 1/4
5 = 1/2
0 = Disabled (defaults to Redundancy Level, 2x)
Note: The specified distance should not exceed 50% of the measured bar code height.
Redundancy Level – An alternative data integrity method, where the selected level sets
V the number of consecutive, identical decodes required to pass the bar code. If differing
values are read, the count is restarted.
0 = Auto Mode 6 = read code 6X C = read code 25X
1 = read code 1X 7 = read code 8X D = read code 30X
2 = read code 2X 8 = read code 10X E = read code 35X
3 = read code 3X 9 = read code 12X F = read code 40X
4 = read code 4X A = read code 15X G = read code 45X
5 = read code 5X B = read code 20X
Note: Depending upon the print speed, higher levels may cause erroneous failures when
scanning multiple or small bar codes.
(SP) Serial Port – This command configures the serial communication port(s) as follows:
xyzz x = A port ID
B port ID
y = B (baud rate) Where zz = value:
12 - 1200
24 - 2400
48 - 4800
96 - 9600
19 - 19200
28 - 28800
38 - 38400
Notes:
E-Class & M-Class models – this command is followed by the port ID, always ‘A’ (i.e., SPA).
A-Class models – this command is also used to configure the GPIO Auxiliary port (ID always ‘B’).
Example: <STX>KcSPAPB;SPApN;SPAD8;SPAS1;SPAB19<CR>
(The example configures Serial Port A to use hardware and software handshaking, an eight-bit
word, with no parity and one stop bit at 19,200 bits per second.)
(SS or sS) Feed Speed – This command controls the rate of label movement between printing
areas; see Appendix L.
(ST) Sensor Type – See <STX>e (edge) or <STX>r (reflective) for command details. (For non-
display models also see the <STX>KD command.)
(TB) TOF Bias – This command controls the low-level voltage difference level to recognize a
label ‘gap’ or ‘mark’.
(TD) TOF Delta – This command controls the low-level voltage difference level to recognize a
label ‘gap’ or ‘mark’.
(TG) TOF Gain – This command controls the voltage to the LED emitter of the Media Sensor.
(TN) No Paper Min – This command sets the media sensor level for the Out Of Stock (OOS)
condition.
(TP) TOF Precedence – This command instructs the firmware to stop printing at the first top of
form mark it detects. The default, ‘No,’ prints all of the data then slows to the next TOF.
(UM) Units of Measure – See <STX>m (metric) or <STX>n (imperial) for command details.
(UT) User Terminator – This command allows word wrapping of long character strings of
commands to the next line in a file, for the purposes of readability only. In the <STX>Kc string,
the command UTON must fall somewhere before the first line terminator. The last command
needs to be END, followed by a line terminator (see the <STX>KcEN command for details).
Where: w, x, y, and z are binary values with respective bit settings as defined
in the following table. (Bit 0 is least significant.)
Sample: <STX>KD@H@@<CR>
<STX>KD Bit
Function Value(s)
Parameter Number
0 = 9600, 1 = 600, 2 = 2400, 3 = 19200,
0–2 BAUD Rate / Set Test Mode
4 = 4800, 5 = 38400, 6 = 1200, 7 = 9600 Test Mode
3 Word Length and Parity 0 = 8 bits, no parity; 1 = 7 bits, even parity
w
4&5 Unused Set to 0
6 Always 1 Set to 1
7 Always 0 Set to 0
0 Print Method 0 = direct thermal, 1 = thermal transfer
1 Present Sensor 0 = not equipped, 1 = equipped
2 Control Character[1] 0 = standard, 1 = alternate characters
3 Cutter 0 = disabled, 1 = enabled
x
4 Ignore Host Distance 0 = disabled, 1 = enabled (See note above)
5 Alt-2 Control Codes[1] 0 = disabled, 1 = alternate-2 characters
6 Always 1 Set to 1
7 Always 0 Set to 0
0&1 Paper Type (Media Sensor) 0 = gap (edge), 1 = reflective, 2 = continuous
2 Linerless 0 = not equipped, 1 = equipped
y 3–5 Unused Set to 0
6 Always 1 Set to 1
7 Always 0 Set to 0
0&1 Reserved Set to 0
2 Reserved Set to 0
z 3–5 Unused Set to 0
6 Always 1 Set to 1
7 Always 0 Set to 0
[1]
Selects the values of the control characters; see Control Codes.
Syntax: <STX>KdName<CR>
Sample: <STX>KdPlant1
This command selects the configuration file “Plant1” as the default factory configuration.
Sample: <STX>KEN
<STX>KEY\
<STX>L<CR>
1u0000001200120[)>\1E\01\1D\...\04\<CR>
E<CR>
The sample disables, and then enables character encoding with the backslash (\) as the delimiter. A
UPS MaxiCode will be formatted using a data string interpreted as: [)>RS01GS... EOT<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 the <STX>KE command. The number of hexadecimal digits
between the delimiter pair must be even; see notes below.
Syntax: xaa[bbcc…nn]x
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 (i.e., <STX>KEY\). In each example, the printer has not received an unpaired delimiter prior
the example.
Partial DPL
Interpretation
Sample Data Stream
AB\\CE 5 bytes AB\CE with values 4116, 4216, 5C16, 4316, 4416
\ABCDEF\ 3 bytes with values AB16, CD16, and EF16
5 bytes 1A<SUB>1A with values 3116, 4116, 1A16, 3116, 4116.
1A\1A\1A
<SUB> represents a single-byte ASCII control character with value 1A16
Alternate Control Codes with Alternate Line Terminator: Character Encoding can also be used
with the Alternate Control Character set. Alternate Control Characters are enabled, depending upon
the model, via a Setup Menu or the <STX>KD / <STX>Kc commands. See Control Codes.
Syntax: <STX>KF<CR>
Non-Display Models: The printer Option Control must be set (via the menu) to ‘Host’ for this
command to have effect.
Syntax: <STX>Kfnnnn<CR>
Sample: <STX>Kf0100
The sample represents a one-inch label advance unless in metric mode (see <STX>m).
Syntax: <STX>KJpf<CR>
f - Flag: 1 = DPL
0 = MCL
Sample: <STX>KJN1
The sample forces the Ethernet port to bypass MCL and go directly to DPL.
This command controls memory module protection. When “protected”, a module will ignore format,
downloads and delete commands. This command can be useful to add data to Datamax reserved
modules, Z (ILPC) and Y (EFIGS). See Appendix K for a listing of the memory modules.
There are two types of modules: RAM (volatile) and Flash (non-volatile).
RAM - When protected, if the power is cycled or if the printer is reset, the module state resets
back to unprotected.
Flash - When protected, the module can be temporarily unprotected. However, if the power is
cycled or if the printer is reset, the module is initialized to ‘protected.’ To clear the
protected state forever, the module must be unprotected and then formatted.
Syntax: <STX>Kpmf
Sample: <STX>KpY0
This example disables protection for memory module “Y”. Graphics may now be downloaded to
module “Y” and, on subsequent resets, these graphics will be protected.
Syntax: <STX>KQ<CR>
Where:
Product - Printer model, type, and firmware version.
Syntax: <STX>Kq<CR>
Syntax: <STX>KR<CR>
Syntax: <STX>Kr<CR>
Syntax: <STX>KtAabcc
Sample: <STX>KtA91C3[CR]
The sample writes 0xC3 AFI byte, locking value, retrying nine times, if necessary.
Syntax: <STX>KtDabcc
Sample: <STX>KtD91C3[CR]
The sample writes 0xC3 DSFID byte, locking value, retrying nine times, if necessary.
This commands writes the EAS bit for Philips ISO tags.
Syntax: <STX>KtEabcc
Sample: <STX>KtE9004[CR]
The sample writes the EAS bit for Philips (0x04), retrying nine times, if necessary.
Note: This command only works when the Data Flag for the tag is 0x0F (i.e., when the tag contains
DSFID, AFI, VICC and IC data.
Syntax: <STX>KtH
This command instructs the RFID device to read data from the tag and then put that data into a
replaceable field. It is expected that the tag transponder will be within the read / write distance of the
RFID programming device; otherwise, “Void” will be printed in the text or bar code label field(s).
Syntax: <STX>KtRUn1…n16Haaabbbcdee<CR>
d - Reserved. Should be 0.
ee - Field number in which to place the data (must be 01, 02, 03,
etc.) matching the order of Label Formatting command, U.
Note: The 00 value will send tag data to the host with no printing.
* Dependent on transponder manufacturer.
Sample: <STX>L
1911A1802000010TEXT
U
X
<STX>KtRUE00700ABCDEF1234H0000015001
<STX>G
The sample creates a replaceable text field (01), recalls data from the RFID tag block zero (reading
only one block, which is attempted nine times), and prints the data in the location specified by
replaceable field.
Note: When using addressed commands and the tag with the specified UID cannot be found, a standard
RFID read/write fault will be issued.
This command instructs the RFID device to read the unique serial number data from the tag and then
place that data into a replaceable field. It is expected that the tag transponder will be within the read /
write distance of the RFID programming device; otherwise, “Void” will be printed in the text or bar
code label field(s).
Note: This is a sixteen character alphanumeric value; therefore, the replaceable field must have an
adequate length.
Syntax: <STX>KtUabcc<CR>
b - Reserved. Should be 0.
cc - Field number in which to place the data (must be 01, 02, 03, etc.)
matching the order of Label Formatting command, U.
Note: The 00 value will send the unique tag ID to the host with no
printing.
This command instructs the RFID device to write data to the tag. It is expected that the tag
transponder will be within the read / write distance of the RFID programming device; otherwise, a
warning will occur and a warning message (Read / Write Fail) will be displayed.
Syntax: <STX>KtWUn1…n16Bncncncaaabcdee…e<CR>
Bncncnc - (Optional) Where ncncnc is the data byte count, to allow non-
printable characters (i.e., characters with hex values less than
0x20) to be encoded.
d - Reserved. Should be 0.
Sample 1: <STX>KtWB004000900<0x00><0x01><0x02><0x03>[CR]
Sample 1 programs the hex values 0x00, 0x01, 0x02, 0x03 in block zero.
Sample 2: <STX>KtWUE00700ABCDEF1234B004000510TEST[CR]
Sample 2 programs the data “TEST” to the tag with UID “E00700ABCDEF1234” at block zero then
write-protects block zero (attempting to write five additional times, if necessary). When write
protecting (locking) with UID, the separate lock command will also use the addressed mode and the
supplied UID.
Note: When using addressed commands and the tag with the specified UID cannot be found, a standard
RFID read/write fault will be issued.
Syntax: <STX>KuEa<CR>
Where: a - The number of attempts to locate and erase the tag, 1-9.
This command instructs the RFID device to read data from the tag and return it to the host. The reader
sends GLOBALSCROLL air interface. Data is reported regardless of CRC verification.
Syntax: <STX>KuG<CR>
Parameter 3:
CRC byte one
Parameter 4:
CRC byte two
Note: Data response includes Parameters 2, 3, and 4 only with a ‘Good ID’ (Parameter 0) decode status.
This command instructs the RFID device to read data from the tag and return it to the host. This is a
high level command that uses collision avoidance.
Note: CRC validation is performed, but the CRC is not included in the response (nor is the kill / lock code).
Syntax: <STX>KuI<CR>
Printer response: The data will be output as 16 hex bytes for a 64-bit tag, and 24 hex bytes for
a 96-bit tag.
Syntax: <STX>KuLabb<CR>
Where: a - The number of attempts to locate and lock the tag, 1-9.
This command instructs the RFID device to read data from the tag and then place that data into a
replaceable field. It is expected that the tag transponder is within the read / write distance of the RFID
programming device; otherwise, “Void” will be printed in the text or bar code label field(s).
Syntax: <STX>KuRaa<CR>
Where: aa - Field number in which to place the data (must be 01, 02, 03, etc.)
matching the order of Label Formatting command, U.
Note: The 00 value will send the unique tag ID to the host with no
printing.
Sample: <STX>L
D11
1911A1801000100 xxxxxxxxxxxxxxxx
U
1A31050002000200 xxxxxxxxxxxxxxxx
U
X
<STX>KuR01
<STX>Kur02
<STX>G
The sample creates a replaceable text field (01) and bar code field (02) and then recalls the data from
the tag and places it into the specified fields.
This command instructs the RFID device to read data from the tag and return it to the host. This is a
low level command that issues an air interface command to acquire one tag ID. There is no collision
avoidance used. A CRC validation is performed on the data; however, the CRC data is not returned.
Syntax: <STX>KuT<CR>
Parameter 3 thru (Tag Data Length + 2), (only included if ‘Good’ ID status):
Tag Data, MSB to LSB.
This command instructs the RFID device to send a VERIFY air interface command. Data is reported
regardless of CRC verification.
Syntax: <STX>KuG<CR>
Parameter 2 – Tag Data Length, with CRC and kill/lock codes (only included
if ‘Good’ ID status):
0x0C = 64-Bit Tag
0x10 = 96-Bit Tag
Parameter 3:
CRC byte one
Parameter 4:
CRC byte two
This command instructs the RFID device to write data to the tag. It is expected that the tag
transponder will be within the read / write distance of the RFID programming device; otherwise, a
warning will occur and a warning message (Read / Write Fail) will be displayed.
Syntax: <STX>KuWabcc…c<CR>
Where: a - The number of attempts to locate, erase, and program the tag, 1-9.
b - Reserved. Should be 0.
Sample: <STX>KuW10ABCDEF0102030405[CR]
Syntax: <STX>KVa<CR>
Syntax: <STX>KxmName<CR>
Sample: <STX>KxYPlant1
This command deletes the configuration file Plant1 located on Module Y. (Remember to prefix this
command with the Module (Un)Protect Command <STX>Kp.)
Syntax: <STX>KZax<CR>
-or-
xx - Heat Parameter Range – A two-digit value (00-30); see the
‘H’ Label Formatting Command.
Sample: <STX>KZH22
This command causes the file currently being executed to assume a Heat Value of 22.
Introduction
The <STX>L command switches the printer from the System-Level Processor to the Label Formatting
Processor. All commands following the <STX>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.
Syntax: :nnnn
Where: nnnn - Is a four digit decimal number indicating the number of labels to
be printed before a cut is performed.
Sample: <STX>L<CR>
:0005<CR>
141100001000100SAMPLE LABEL<CR>
Q0021<CR>
E<CR>
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 operation.
Syntax: An
Sample: <STX>L
A3
141100001000100DATAMAX<CR>
141100001100110DATAMAX<CR>
E
The sample sets the printer to Opaque Mode and produces one label.
Syntax: Bnn
Sample: <STX>L<CR>
D11
B01
1a9305000100030ABCD<CR>
B03
1a3105000700030ABCD<CR>
Q0001
E
The sample instructs the printer to print two bar codes, each 9 dots by 3 dots.
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
Sample: <STX>L
C0050
141100001000100DATAMAX<CR>
The sample shifts all format data 0.5 inches to the right, unless the printer is in metric mode, (see
Label Formatting Command ‘m’).
Syntax: cnn
Sample <STX>L<CR>
c07<CR>
141100001000100SAMPLE LABEL<CR>
Q0021<CR>
E
The sample instructs the printer to make cuts after labels 7, 14, and 21 have been printed. See Label
Formatting Command ‘:’.
Note: The cutter must be enabled and all mechanism interlocks closed for the cut operation.
Syntax: Dwh
Note: D11 is the default value for 300, 400 and 600 DPI printer models, while D22 is the default value for
all 203 DPI printer models.
Syntax: E
Sample: <STX>L<CR>
121100000000000Testing<CR>
E<CR>
Syntax: eName<CR>
Sample: <STX>L<CR>
ePlant1<CR>
1A2210001000000Testing<CR>
E<CR>
Syntax: fa
Sample: <STX>LD11H30PGSG
fA
191100200830165Fixed Data Field 1
E
<STX>L
191100200830165Fixed Data Field 1
E
The sample prints two labels; the first label has present speed of 1 inch per second, while the second
reverts to the feed speed of 4 inches per second.
Sample: <STX>L<CR>
121100000000000Testing<CR>
G<CR>
1A2210001000000<STX>SA<CR>
E<CR>
The sample stores, retrieves and prints the data in global register A. One label is printed with
“Testing” in two locations.
Syntax: Hnn
Sample: <STX>L<CR>
H15<CR>
141100001000100SAMPLE LABEL<CR>
E
The sample sets the printer for a heat value of 15 and prints one label.
Note: Non-Display Models – the “Darkness Potentiometer,” while providing subtle changes, is intended to
be used to match print contrast levels following printhead replacements.
J Justification
This command changes the printing justification.
Note: Display-Equipped Models – This command is only valid for use with scalable fonts.
Syntax: Ja
Sample: <STX>L<CR>
1911A1801001000TEST1
JR
1911A1801000100TEST2
JC
1911A1802000200TEST3
E
The sample’s first text field “TEST1” will be printed at one inch up, one inch over going right. The
second text “TEST2” will be printed at one inch up one inch over, going left. (Note the characters
will not be reversed.) The third field “TEST3” will be centered on the point two inches up two inches
over.
Sample: <STX>L
161100003200010 NOT MIRRORED<CR>
M<CR>
161100003000400 MIRRORED<CR>
E
Printed Result:
Sample: <STX>L<CR>
m
141100001000100SAMPLE LABEL<CR>
E
The sample prints the text (SAMPLE LABEL) starting at location coordinates 10.0 mm, 10.0 mm.
Sample: <STX>L<CR>
n
141100001000100SAMPLE LABEL<CR>
E
The sample prints the text (SAMPLE LABEL) starting at location coordinates 1.0 inch, 1.0 inch.
Sample: <STX>L
PC
141100001000100LABEL1<CR>
E
<STX>L
141100001000100LABEL2<CR>
E
The sample prints two labels, the first at a speed of 2 inches per second (51 mm per second) and the
second at the printer default.
Syntax: pa
Sample: <STX>L
pF
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: <STX>L
121100000000000Testing<CR>
Q0020<CR>
E<CR>
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
Sample: <STX>L
R0037<CR>
141100001000100SAMPLE LABEL<CR>
E
The sample prints a label with a row offset amount of .37 inches, unless in metric mode.
Syntax: rnn...n
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 <STX>W command.)
Syntax: Sa
Sample: <STX>L
SE
141100001000100LABEL1<CR>
E
<STX>L
1411000010001000LABEL2<CR>
E
The sample sets the feed speed to 3 inches per second (76 mmps), and prints two labels. The feed
speed for the second label is the same as the first.
Syntax: sann…n
Sample: <STX>L<CR>
D11<CR>
191100501000000123456789012<CR>
1911005020000001234567<CR>
191100500000000Sample<CR>
1X1100000000000B250250002002<CR>
Q0001<CR>
sATEST<CR>
The example stores a format in memory module A and names it ‘TEST’. (To recall a label format
from the module use the ‘r’ command.)
Syntax: Tnn
Sample: <STX>L<CR>
T00<CR>
191100200000000TEST<NULL>
141100001000100TERMIATOR<CR>
Q0001<CR>
E<CR>
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 <CR>, as seen in the
format record containing the text ‘TERMINATOR’.
Syntax: U
Sample: <STX>L
D11
121100001000000123456789012<CR>
U<CR>
1211000020000001234567<CR>
U<CR>
161100000000000Sample<CR>
1X1100000000000B250250002002<CR>
Q0001
E
<STX>U01ABCDEFGHIJKL<CR>
<STX>U028901234<CR>
<STX>G
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.
Sample: <STX>L<CR>
141100001000100SAMPLE<CR>
X<CR>
The sample will result in a label format, but no label will be printed.
Syntax: ySxx
Sample: <STX>L
ySSW<CR>
The sample selects the Swedish symbol set for use in succeeding format records using scalable fonts.
Note: None of the smooth fonts (i.e., Font 9) use the slash zero. This command will have no effect on
scalable fonts.
Syntax: z
Sample: <STX>L
z
121100000000000Test0000<CR>
E
Syntax: *pii
Sample: <STX>L<CR>
13220000000000012345<CR>
+01<CR>
Q0003<CR>
E<CR>
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 bar codes with alphabetic prefixes or suffixes).
Sample: <STX>L<CR>
161100000100010AB0001CD<CR>
+ 100<CR>
Q0003<CR>
E<CR>
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, while the blank is a pad character and the trailing zeroes are
placeholders that leave CD unchanged.
Syntax: *pii
Sample: <STX>L<CR>
132200000000000123AB<CR>
<01<CR>
Q0003<CR>
E<CR>
The sample will generate a single field label format that prints the initial label with a value of 123AB,
and then decrements that number 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 bar codes with alphabetic prefixes or suffixes).
Sample: <STX>L<CR>
1611000001000101000CD<CR>
- 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.
Syntax: ^nn
Sample: <STX>L<CR>
13220000000000012345<CR>
-01<CR>
^02<CR>
Q0006<CR>
E<CR>
The sample prints two labels containing the same field value before decrementing the field. Six labels
are printed.
Syntax: <STX>Sn
Sample: <STX>L<CR>
121100000000000DMX<CR>
G<CR>
1A2210001000000<STX>SA<CR>
E<CR>
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.
Syntax: <STX>Tstring<CR>
Where: string - Is any set of characters, A - Z and a – h. See the table below.
Note: The sample listings below assume a current printer date of December 21, 1998.
Sample 1: <STX>L<CR>
121100001000100<STX>TBCD GHI PQ, TU<CR>
E<CR>
Sample 2: <STX>L<CR>
191100100100010<STX>TEF/PQ<CR>
E<CR>
Sample 3: <STX>L<CR>
191100100100010ABC <STX>TEF/PQ<STX> DEF<CR>
E<CR>
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 <STX>.)
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 <ESC> (ASCII control character 27 [decimal]).
The downloaded font will be stored in the default module (refer to the <STX>X command). The
commands in the table below are listed in their order of appearance, top to bottom, during font
downloading. The <SOH>D command must be sent prior to downloading a font.
Command Description
*c###D Assign Font ID Number
)s#Wnn…n Font Descriptor
*c#E Character Code
(s#W Character Download Data
Table 7-1: Font Loading Commands
Syntax: <ESC>*c###D
Where: ### - Is the font ID numbers 100-999 (000 – 099 are reserved for
resident fonts).
Syntax: <ESC>)s###Wddd…d
Syntax: <ESC>*c###E
Where: ### - Is the ASCII value of the character, three digits maximum, 0
to 999.
Introduction
This section explains the use of the different fields in a print format record.
Printhead Location
Media
Movement
Home Position
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 <STX>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,
<CR>). Omitting termination characters will result in the concatenation of records. Omitting the carriage
return that precedes the termination character E, which is necessary to complete 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., <CR>) marking the end of the field. The header is used to select
the appearance of the data when printed by choosing rotation, font type, size, and position options.
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 third line of the label format example in Table 8-1 consists of the following:
121100000050005HOME POSITION<CR>
This string comprises a complete record, shown below, divided into its three basic component parts.
The record conforms to the following fixed field format (spaces added for readability). Identifying
lower case letters have been placed below field values for reference in the following sections:
1 2 1 1 000 0005 0005 HOME POSITION <CR>
a b c d eee ffff gggg [hhhh iiii] jj…j Termination character
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
interpretations of the characters 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.
Each of the fields in the record header is generally described below. Please 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 ASCII, 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.
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.
Values A through z select bar codes. Values A through T (uppercase) will print bar codes with
human-readable interpretations. Values a through z (lowercase) will print bar codes only.
Value W requires two additional characters to specify the Bar Code/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.
c: 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 bar codes, 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.085 mm)
to 0.792” (2.011 mm) at a resolution dependent upon the printer model. See Appendix F for default
values.
d: Height Multiplier
The height multiplier has the same range and function as the width multiplier, but vertical. When
used in the context of bar codes, 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 Appendix K. A “dot multiplier” command can also be used to change
the printed dot size (see Label Formatting Command ‘D’ and Appendix F).
This field has interpretations dependent upon the value of the font b field, as shown below.
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.
This field is a horizontal coordinate that determines how far to the right of “home position” the
data will be printed. Appendix G lists the maximum values of the gggg field.
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. To
specify the size in dots, all four characters must be numeric. This field must be specified for
scalable fonts. (See note below 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 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.
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).
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 PDF417 bar code, 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. Consult Appendix K for a listing by
printer.
This record type is used for internal bitmapped fonts (see Appendix C, Tables C-1 – C-5).
When a 0 through 8 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.
This record type is used for internal smooth fonts (CG Triumvirate – see Table C-6) or a bit-
mapped font downloaded to a memory module (see Font Loading Commands).
When a 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 on DRAM, or Flash memory. These include downloaded bit-mapped fonts (see Table 8-5).
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.
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 H for additional information. Values S00 to S9z, and U00 to U9z (u00 to
u9z), select a scalable font, either internal or downloaded.
S00 and S01 are used for the standard internal (resident) fonts on display-equipped printers, while
S01 is used for the standard internal (resident) font on non-display models.
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 only print the bar code. 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) and z (PDF417) – for additional model-specific restrictions 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 is the wide bar width in dots (the numerator); field d is the
narrow bar width in dots (the denominator). See Appendix G for specific bar code information and
variations in record format field usage.
The eee height field represents the bar code (symbol) height. The eee height field represents the
bar code height. The valid range (001 to 999) translates to bar heights ranging from .01 inch (.254
mm) to 9.99 inches (253.7 mm). For bar codes that require additional specified parameters, use the
jj…j data field as the location for these parameters. See the specific bar code for details in
Appendix G.
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 <STX>I).
Field Valid Inputs Meaning
a 1 Fixed Value
b Y Image
c 1 to 9 and A to O Width Multiplier
d 1 to 9 and A to O Height Multiplier
eee 000 Fixed Value
ffff 0000 to 9999 Row
gggg See Appendix K. Column
ASCII string, up to 16 characters followed by a termination
jj…j 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 are drawn by values that determine column and row starting position, length,
width, and wall thickness of the line or box (see Appendix K). Depending on the printer’s mode, all
measurements are interpreted as inches/100 or millimeters/10 (see <STX>m). The data field jj…j
is used to describe the line or box dimensions.
*LINE: Lhhhvvv
Where: L = “L” and specifies line drawing,
hhh = horizontal width of line,
vvv = vertical height of line.
**LINE: lhhhhvvvv
Where: l = “l” and specifies line drawing,
hhhh = horizontal width of line,
vvvv = vertical height of line.
***BOX: Bhhhvvvbbbsss
Where: B = “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.
****BOX: 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,
ssss = 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 corners, 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 <STX>m).
Record structure for a polygon (spaces added for readability):
1 X 11 ppp rrrr cccc P ppp bbbb rrrr cccc rrrr cccc … <CR>
Where:
1 Rotation (must be 1) 001 Fixed Value
X Graphic field ID 0001 Fixed Value
1 Multiplier (must be 1) rrrr Row of point 2
1 Multiplier (must be 1) cccc Column of point 2
ppp Fill pattern # rrrr Row of point 3
rrrr Row of point 1 cccc Column of point 3
cccc Column of point 1 … Additional points
P Polygon ID (Fixed Value) <CR> 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.
Circles
A circle is created by defining by its center point and radius. Circles can be filled with a variety of
different patterns (see Table 8-15). Row, column, and radius are interpreted as inches (100) or
millimeters (10) depending on printer mode.
Record structure for a circle (spaces have been added for readability):
1 X 11 fff rrrr cccc C ppp bbbb rrrr <CR>
Where:
1 Rotation (must be 1) cccc Column of the center point
X Graphic field C Circle ID (Fixed Value)
1 Multiplier (must be 1) 001 Fixed Value
1 Multiplier (must be 1) 0001 Fixed Value
fff Fill pattern number rrrr Radius of the circle
rrrr Row of the center point <CR> Termination character
Table 8-14: Circle Record Structure
Fill Patterns
Pattern Number Description Example
0 No Pattern
1 Solid Black
2 6% Black
3 12% Black
4 25% Black
5 38% Black
6 50% Black
7 Diamonds
8 Circles
11 Grid
1. Triangle
The record:
1 X 11 000 0010 0010 P 001 0001 0040 0025 0010 0040<CR>
Produces a triangle with no fill pattern:
(row 0040, column 0025)
3. Circle
The record:
1 X 11 000 0100 0100 C 001 0001 0025<CR>
Produces a circle centered at row 0100, column 0100 with a radius of 0025 and no fill pattern:
Note: These commands are only valid for “scalable” fonts, such as Internal Font 9, S00 and S01 or
downloaded TrueType scalable fonts. (Non-display models have limited standard font sets and
capabilities; see the notes below for applicability of commands and consult the appropriate operators
manual for available standard and optional font sets.)
The table below represents the current list of font attributes available to the user. Note that these
commands are delimited by the \<xxx> sequence (where xxx is from the list below).
Command Units Purpose Notes
FB +/- Turns on or off emboldment of the font minus ‘-’ disable, plus ‘+’ enable
FI +/- Turns on or off italicize of the font minus ‘-’ disable, plus ‘+’ enable
minus ‘-’ disable, plus ‘+’ enable
FU +/- Turns on or off underlining of string.
(Display-Equipped Models only)
Specify the vertical point size of the
FPn Points Display-Equipped models only
following text relative to the base line.
Specify the horizontal point size of the
FSn Points Display-Equipped models only
following text relative to the base line.
Specify the rotation of the base line, If a + or – precedes the numeric
FR[+/-]n Degrees relative to the original print direction of value, then the direction is relative
the record. to the current print direction.
For example, the first format attribute command can be illustrated as follows. The text below and the
resulting label (Figure 1) are examples of a current DPL format:
<STX>L
D11
1911S0102600040P018P018Old DPL World
1911S0102000040P018P018Old DPL World
1911S0101400040P018P018Old DPL World
1911S0100800040P018P018Old DPL World
1911S0100200040P018P018Old DPL World
E
Figure 1
Now, if the DPL format is modified as follows, the resulting label (Figure 2) is printed:
<STX>L
D11
FA+
FB+
1911S0102600040P018P018New DPL World
FU+I+
1911S0102000040P018P018New DPL World
FI-U+B-
1911S0101400040P018P018New DPL World
FU-B+
1911S0100800040P018P018New DPL World
FB+I+U+
1911S0100200040P018P018New DPL World
FB-U-I-
E Figure 2
Note that if all format commands after the first FB+ were deleted the entire label would have been
printed with bold scalable fonts. This is what is meant by a state change. Once invoked, that command
is in affect until turned off or the label format is terminated with the “E” “s” or the “X” command.
The second format attribute command is inserted into the text data stream and delimited by the angle
brackets “<>“ This structure takes the form of \<command>. An example of this command is as
follows:
<STX>L
D11
A2
FA+
1911S0105000020P018P018DPL allows \<FP36FS36>FONT\<FS10FP10> sizes
\<FS8FP12>in the string
1911S0103500100P018P018\<FR80>D\<FR-5>P\<FR-5>L\<FR-5> \<FR-5>l\<FR-5>e\<FR-
>t\<FR-5>s\<FR-5> \<FR-5>y\<FR-5>o\<FR-5>u\<FR-5> \<FR-5>w\<FR-5>r\<FR-
5>i\<FR-5>t\<FR-5>e\<FR-5> \<FR-5>i\<FR-5>n\<FR-5> \<FR-5>c\<FR-5>i\<FR-
5>r\<FR-5>c\<FR-5>l\<FR-5>e\<FR-5>s\<FR-5> \<FR-5>t\<FR-5>o\<FR-5>o\<FR-5>!
1911S0102400040P018P018\<FR+45>DPL allows \<FB+>Rotations\<FB-FR-90> in the
string
1911S0102000040P018P018DPL allows \<FB+>BOLD\<FB-> in the string
FU+
1911S0101400040P018P012DPL allows \<FI+>ITALICS\<FI-> in the string
FI+U-
1911S0101000040P018P012DPL allows \<FB+I+>COMBINATIONS\<FB-I-> in the
string
FB+I-
1911S0100600040P018P018DPL allows \<FB+>BOLD\<FB-> in the string
FU+I+
1911S0100200040P018P018DPL allows \<FB+>BOLD\<FB-> in the string
FB-U-I-
E
Figure 3
Note: Refer to back to Section 8 for more information regarding the DPL record format for a scalable font
text string.
Char Dec Hex Char Dec Hex Char Dec Hex Char Dec Hex
Ctrl @ NUL 0 00 32 20 @ 64 40 ` 96 60
Ctrl A SOH 1 01 ! 33 21 A 65 41 a 97 61
Ctrl B STX 2 02 “ 34 22 B 66 42 b 98 62
Ctrl C EXT 3 03 # 35 23 C 67 43 c 99 63
Ctrl D EOT 4 04 $ 36 24 D 68 44 d 100 64
Ctrl E ENQ 5 05 % 37 25 E 69 45 e 101 65
Ctrl F ACK 6 06 & 38 26 F 70 46 f 102 66
Ctrl G BEL 7 07 Ô 39 27 G 71 47 g 103 67
Ctrl H BS 8 08 ( 40 28 H 72 48 h 104 68
Ctrl I HT 9 09 ) 41 29 I 73 49 i 105 69
Ctrl J LF 10 0A * 42 2A J 74 4A j 106 6A
Ctrl K VT 11 0B + 43 2B K 75 4B k 107 6B
Ctrl L FF 12 0C , 44 2C L 76 4C l 108 6C
Ctrl M CR 13 0D - 45 2D M 77 4D m 109 6D
Ctrl N SO 14 0E . 46 2E N 78 4E n 110 6E
Ctrl O SI 15 0F / 47 2F O 79 4F o 111 6F
Ctrl P DLE 16 10 0 48 30 P 80 50 p 112 70
Ctrl Q DC1 17 11 1 49 31 Q 81 51 q 113 71
Ctrl R DC2 18 12 2 50 32 R 82 52 r 114 72
Ctrl S DC3 19 13 3 51 33 S 83 53 s 115 73
Ctrl T DC4 20 14 4 52 34 T 84 54 t 116 74
Ctrl U NAK 21 15 5 53 35 U 85 55 u 117 75
Ctrl V SYN 22 16 6 54 36 V 86 56 v 118 76
Ctrl W ETB 23 17 7 55 37 W 87 57 w 119 77
Ctrl X CAN 24 18 8 56 38 X 88 58 x 120 78
Ctrl Y EM 25 19 9 57 39 Y 89 59 y 121 79
Ctrl Z SUB 26 1A : 58 3A Z 90 5A z 122 7A
Ctrl [ ESC 27 1B ; 59 3B [ 91 5B { 123 7B
Ctrl \ FS 28 1C < 60 3C \ 92 5C | 124 7C
Ctrl ] GS 29 1D = 61 3D ] 93 5D } 125 7D
Ctrl ^ RS 30 1E > 62 3E ^ 94 5E ~ 126 7E
Ctrl _ US 31 1F ? 63 3F _ 95 5F 127 7F
Sample Programs
‘C’ Language Program
The following sample ‘C’ program is included for reference. Figure B-1 shows the output generated
by this program.
# include <stdio.h>
main ()
{
char pcs = “590”;
char desc = “10K OHM 1/4 WATT”;
^BL
H07
D11
19110080100002510K OHM 1/4 WATT<CR>
1a6210000000050590PCS<CR>
E<CR>
‘Item Variables
Dim Item1 As String
Dim PrintLabel As String
Dim OrderData As String
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.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
Top = 495
Width = 870
End
End
Attribute VB_Name = “Form1”
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
When the program is run, the combo box should be populated with the available fonts as shown below.
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.2#0”;
“comdlg32.ocx”
Begin VB.Form Form1
Caption = “Form1”
ClientHeight = 1290
ClientLeft = 165
ClientTop = 735
ClientWidth = 3750
LinkTopic = “Form1”
MaxButton = 0 ‘False
MinButton = 0 ‘False
ScaleHeight = 1290
ScaleWidth = 3750
StartUpPosition = 3 ‘Windows Default
Begin MSComDlg.CommonDialog CommonDialog1
Left = 1635
Top = 765
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton cmdClose
Cancel = -1 ‘True
Caption = “Close”
Height = 372
Left = 2400
TabIndex = 3
Top = 735
Width = 972
End
Begin VB.CommandButton cmdStoreImage
Caption = “Print”
Default = -1 ‘True
Height = 372
Left = 240
TabIndex = 2
Top = 735
Width = 972
End
Begin VB.TextBox txtFile
Height = 288
Left = 120
TabIndex = 1
Top = 360
Width = 3492
End
Begin VB.Label Label1
Caption = “File Name”
Height = 255
Left = 120
TabIndex = 0
Top = 135
Width = 1455
End
Begin VB.Menu File
Caption = “&File”
Begin VB.Menu open
Caption = “&Open”
End
Begin VB.Menu exit
Caption = “&Exit”
Shortcut = ^Q
End
End
End
Attribute VB_Name = “Form1”
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
‘**********************************
#If Win32 Then
Private Type DOC_INFO_1
pDocName As String
pOutputFile As String
pDatatype As String
End Type
‘**********************************
‘** Function Declarations:
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.
f1 = FreeFile
Open loadfile For Binary As f1
docinfo.pDocName = “MyDoc”
docinfo.pOutputFile = vbNullString
docinfo.pDatatype = vbNullString
jobid = StartDocPrinter(hPrinter, 1, docinfo)
Call StartPagePrinter(hPrinter)
‘ Close file
Close #1
MsgBox “File sent to print spooler.”, vbExclamation
End Sub
Private Sub cmdClose_Click()
Unload Me
End Sub
End Sub
Note: It may be necessary to remove and reinsert the common dialog control due to Windows® registry
issues.
Fonts 0 through 8 use the slash zero (Ø) 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 sizes are dependent upon the printhead resolution of the printer used; Tables C-2 to C-5 contain a
listing of the font sizes by resolution with dimensions given in dots.
In the sample format below, a 300 DPI printer will use 4-point smooth font to produce a printed label
with the words “four point font”. Sample format:
<STX>L<CR>
1911A0400100010four point font<CR>
E<CR>
Note: The Euro currency character ( ) has been added to Fonts 0 – 6. For the E-Class and M-4206 only, the
character is also present in Font 9.
1: Identifies a 145-character uppercase and lowercase alphanumeric font that includes desenders and
ascenders.
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-6.
Reset Codes
The most common transmitted error codes are:
Uppercase “R”
This code is sent every time the printer is turned ‘On’, signaling a hardware reset.
Uppercase “T”
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 keys.
Lowercase “v”
There is an input buffer overflow situation, caused when an overflow of data is sent to the printer.
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.
A0 „ À Â È Ê Ë Î Ï © ® ™ ‹ › Ú Û
B0 ‰ “ “ º Ç ç Ñ ñ ¡ ¿ ¤ £ ¥ § ƒ ¢
C0 â ê ô û á é ó ú à è ò ù ä ë ö ü
D0 Å î Ø Æ å í ø æ Ä ì Ö Ü É ï ß Ô
E0 Á Ã ã Í Ì Ó Ò Õ õ Š š Ú Ÿ ÿ
F0 Œ œ ¶ † ‡ — – ª º « • » …
A0 „ © ® ™
B0 ‰ “ “ º § ¢
C0
D0
E0
F0 ¶ † ‡ — – • …
Bar Linear
Code Symbology Length Checksum Valid ASCII Characters, decimal value representation Scanner
ID Supported
A / a Code 39 Varies No 32, 36, 37, 42, 43, 45-57, 65-90
B / b UPC-A 11 Yes 48-57 Numeric only. Option V used in the 6th & 7th position
C / c UPC-E 6 Yes 48-57 Numeric only
D / d Interleaved 2 of 5 (I2 of 5) Varies No 48-57 Numeric only
E / e Code 128 Varies M-103 32-127
F / f EAN-13 12 Yes 48-57 Numeric only. Option V used in 7th & 8th position
G / g EAN-8 7 Yes 48-57 Numeric only
H / h HBIC Varies M-43 32, 36-39, 42, 43, 45-57, 65-90
I / i Codabar Varies No 36, 43, 45-58, 65-68
J / j Interleaved 2 of 5 w/ a modulo 10 checksum Varies M-10 48-57 Numeric only
K / k Plessey Up to 14 M-10 48-57 Numeric only. Option + is last character for 2nd M-11 chksum
L / l Interleaved 2 of 5 w/ modulo 10 checksum & bearer bars 13 M-10 48-57 Numeric only
M / m 2 digit UPC addendum 2 Yes 48-57 Numeric only [1]
N / n 5 digit UPC addendum 5 Yes 48-57 Numeric only [1]
O / o Code 93 Varies No 35-38, 42-58, 65-90, 97-122
p Postnet Varies Yes 48-57 Numeric only
Q / q UCC/EAN 128 19 Yes 48-57 Numeric only
R / r UCC/EAN 128 K-Mart non-EDI 18 Yes 48-57 Numeric only
S / s UCC/EAN 128 Random Weight 34 + Yes 48-57 Numeric only
T / t Telepen Varies Yes Alphanumeric
U UPS MaxiCode 84 Yes Alphanumeric
Table F-1: Bar Code Characteristics
Bar Linear
Code Symbology Length Checksum Valid ASCII Characters, decimal value representation Scanner
ID Supported
u UPS MaxiCode w/ Byte Count Specified Yes Alphanumeric
v FIM 1 No A, B, C, D
z PDF417 Varies Yes All
Z PDF417 w/ Byte Count Specified Yes All
W1c DataMatrix Varies Yes All 8-bit values
W1C DataMatrix w/ Byte Count Specified Yes All 8-bit values
W1d QR Code – Auto format Varies Yes Alphanumeric
W1D QR Code – Manual format Varies Yes Single-byte or Kanji double-byte
W1f Aztec Varies Yes All 8-bit values
W1F Aztec w/ Byte Count Specified Yes All 8-bit values
W1G / g USD-8 (Code 11) Varies Yes 45, 48-57
W1I EAN 128 w/auto subset switching [2] Varies Yes 32-127
W1J Code 128 w/auto subset switching [2] Varies Yes 32-127
W1k RSS (six types) [2] Varies Yes Numeric / Alphanumeric (type dependant)
W1R UCC/EAN Code 128 K-MART NON EDI 18 Yes 48-57 Numeric only
W1t TCIF Linked Bar Code 3 of 9 (TLC39) Varies Yes Alphanumeric
W1z MicroPDF417 Varies Yes All 8-bit values
W1Z MicroPDF417 w/ Byte Count Specified Yes All 8-bit values
[1]
Readable with the Linear Scanner Option only when using ‘Barcode Count’ (see the I-Class Operator’s Manual for details).
[2]
Bar codes available only with display-equipped printer models.
Table F-1: Bar Code Characteristics (continued)
203 DPI Resolutions 300 DPI Resolutions 400 DPI Resolutions 600 DPI Resolutions
Font Height Ratio/ Height Ratio/ Height Ratio/ Height Ratio/
(inches) Module Size (inches) Module Size (inches) Module Size (inches) Module Size
U/u 1.00 N/A 1.00 N/A 1.00 N/A 1.00 N/A
v .5 1 .5 1 .5 2 .5 3
z N/A N/A N/A N/A N/A N/A N/A N/A
Z/z N/A N/A N/A N/A N/A N/A N/A N/A
W1C/W1c N/A N/A N/A N/A N/A N/A N/A N/A
W1D/W1d N/A N/A N/A N/A N/A N/A N/A N/A
W1F/W1f N/A N/A N/A N/A N/A N/A N/A N/A
W1I .40 2 .40 4 .40 4 .40 6
W1J .40 2 .40 4 .40 4 .40 6
W1k N/A 2 N/A 3 N/A 4 N/A 6
W1G/W1g .5 5:2 .5 7:3 .5 9:4 .5 14:6
W1R 1.40 2 1.40 4 1.40 4 1.40 6
W1T .40 6:2 .40 9:4 .40 12:4 .40 18:6
W1Z/W1z N/A N/A N/A N/A N/A N/A N/A N/A
Table F-2: Bar Code Default Data (continued)
Note: Some bar codes will be sensitive to Label Command ‘D’ (set dot width and height size), see Label Formatting Commands for details.
A: Code 3 of 9
Valid Characters: 0-9, A-Z, - . * $ / + % and the space character.
Variable Length.
Valid bar widths: 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:
<STX>L
D11<CR>
1A00000001501000123456789<CR>
121100000000100Barcode A<CR>
E
B: UPC-A
Valid Characters: 0-9
Length: 12 digits. If the user provides 11 digits, the printer will compute the checksum. If the user
provides the checksum, the printer will check that it matches the expected checksum. If it does not
match, the printer will print out all zeros and the expected checksum. See Appendix P.
Valid bar widths: 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-A bar code:
<STX>L
D11<CR>
1B000000015010001234567890<CR>
121100000000100Barcode B<CR>
E
C: UPC-E
Valid Characters: 0-9
Length: Seven digits. If the user provides six digits, the printer will compute the checksum. If the user
provides the checksum, the printer will check that it matches the expected checksum. If it does not
match, the printer will print out all zeros and the expected checksum.
Valid bar widths: 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:
<STX>L
D11<CR>
1C0000000150100012345<CR>
121100000000100Barcode C<CR>
E
D: Interleaved 2 of 5 (I 2 of 5)
Valid Characters: 0-9
Variable Length.
Valid bar widths: The expected ratio of wide to narrow bars can range from 2:1 to 3:1.
The following example prints an Interleaved 2 of 5 bar code with a wide to narrow bar ratio of 3:1:
<STX>L
D11<CR>
1D000000015010001234567890<CR>
121100000000100Barcode D<CR>
E
E: Code 128
Valid Characters: The entire 128 ASCII character set.
Variable Length
Valid bar widths: 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 the Code 128 subsets A, B, and C. The printer can be selected to start on any
code subset and switch to another within the data stream. The default code 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.
Note: It is recommended to use a B as the first character to prevent an A or C from changing the subset.
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.
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 Code 128 font, Code
128 Subset B will be selected by default.
Subset C: Includes the set of 100 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.
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 below).
For example, to encode FNC2 into a Code 128 Subset A bar code, send the ASCII “&” (DEC 38,
HEX 26) followed by the ASCII “B” (DEC 66, HEX 41).
Sample: ATEST&B123 Encoded: TEST<FNC2>123
F: EAN-13
Valid Characters: 0-9
Length: 13 digits. If the user provides 12 digits, the printer will compute the checksum. If the user
provides the checksum, the printer will check that it matches the expected checksum. If it does not
match, the printer will print all zeros and the expected checksum. See Appendix P.
Valid bar widths: 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:
<STX>L
D11<CR>
1F0000000150100012345678901<CR>
121100000000100Barcode F<CR>
E
G: EAN-8
Valid Characters: 0-9
Length: 8 digits. If the user provides 7 digits, the printer will compute the checksum. If the user
provides the checksum, the printer will check that it matches the expected checksum. If it does not
match, the printer will print all zeros and the expected checksum.
Valid bar widths: 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 code:
<STX>L
D11<CR>
1G00000001501000123456<CR>
121100000000100Barcode G<CR>
E
I: Codabar
Valid Characters: 0-9, A-D, -, ., $, :, /, + (comma is not valid).
Variable Length but requires at least three characters.
Valid bar widths: The expected ratio of wide to narrow bars can range from 2:1 to 3:1.
Valid Codabar symbols require start and stop characters (A–D). These characters should be placed in
the data field along with other 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:
<STX>L
D11<CR>
1I63040001501000A1234567890D<CR>
121100000000100Barcode I<CR> Barcode I
E
<STX>L
D11<CR>
1J000000015010001234567890<CR>
121100000000100Barcode J<CR>
E
K: Plessey
Valid Characters: 0-9
Length: 1 to 14 digits
Valid bar widths: The expected ratio of wide to narrow bars can range from 2:1 to 3:1.
If a + character is the last data character, an additional MSI checksum will be added to the bar code in
place of the + character.
The following example prints a Plessey bar code with a wide to narrow bar ratio of 3:1:
<STX>L
D11<CR>
1K000000015010001234567890<CR>
121100000000100Barcode K<CR>
E
<STX>L
D11<CR>
1M000000015010042<CR>
121100000000100Barcode M<CR>
E
<STX>L
D11<CR>
1N000000015010001234<CR>
121100000000100Barcode N<CR>
E
O: Code 93
Valid Characters: 0-9, A-Z, -.$/+% and the space character.
Variable Length.
Valid bar widths: 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).
The following example prints a Code 93 bar code:
<STX>L
D11<CR>
1O0000000150100Datamax42<CR>
121100000000100Barcode O<CR>
E
p: Postnet
Valid Characters: 0-9
Length: 5, 9 or 11 digits
Valid bar widths: The width and height multiplier values of 00 will produce a valid Postnet symbol.
Usage: The bar code height field is ignored since the symbol height is United States Postal Service
specific. This bar code is to display the zip code on a letter or package for the US Postal Service.
The following example prints a Postnet bar code:
<STX>L
D11<CR>
1p000000015010032569<CR>
121100000000100Barcode p<CR>
E
<STX>L
D11<CR>
1S000000015005001100736750292601193042032020018002110123456<CR>
121100000000100Barcode S<CR>
E
Barcode S
T: Telepen
Valid Characters: All 128 ASCII characters.
Variable Length
Valid bar widths: 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
D11<CR>
1T0000000150100ABCDEF<CR>
121100000000100Barcode T<CR>
E
Barcode T
<STX>L
D11<CR>
1u0000001200120#3[)>RS01GS96123456GS068GS001GS1Z12345675GSUPSNGS12345EGS0
89GSGS1/1GS10.1GSYGSGSGSUTRSEOT
121100000000100Barcode u<CR>
E
Where:
#3 Forces Mode 3 encoding
[)>RS01GS96 Message Header
123456 Maximum 9 alphanumeric ASCII, postal code Primary Message
068 Country Code
001 Class
G
S1Z1... Secondary Message
...TRSEOT
In the 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.
An example of the UPS 3.0 zip + 4 with Message data format and message header:
1u0000001200120[)>RS01GS96841706672GS840GS001GS1Z12345675GSUPSNGS12345EGS0
89GSGS1/1GS10.1GSYGSGSGSUTRSEOT
Where:
[)>RS01GS96 Message Header
841706672 Maximum 9 alphanumeric ASCII, postal code Primary Message
840 Country Code
001 Class
G
S1Z1... Secondary Message
...TRSEOT
An example of the UPS 3.0 international postal “V6C3E2” with Message data format and message
header:
1u0000001200120[)>RS01GS96V6C3E2GS068GS001GS1Z12345675GSUPSNGS12345EGS089G
G G G G G G R E
S S1/1 S10.1 SY S S SUT S OT
Where:
[)>RS01GS96 Message Header
V6C3E2 Maximum 6 alphanumeric ASCII, international zip code Primary Message
068 Country Code
001 Class
G
S1Z1... Secondary
Message
...TRSEOT
An example of the UPS 3.0 international zip “V6C3E2” without Message data format and message
header:
1u0000001200120V6C3E2GS068GS001GS1Z12345675GSUPSNGS12345EGS089GSGS1/1GS10.1
G G G G R E
SY S S SUT S OT
Where:
V6C3E2 Maximum 6 alphanumeric ASCII, international zip code Primary Message
068 Country Code
001 Class
G
S1Z1... Secondary Message
...TRSEOT
An example of the UPS 3.0 zip + 4 “32707-3270” without Message data format and message header:
1u0000001200120327073270GS068GS001GS1Z12345675GSUPSNGS12345EGS089GSGS1/1GS1
0.1GSYGSGSGSUTRSEOT
Where:
32707 5 digit ASCII, Zip code Primary Message
3270 4 digit ASCII, +4 Zip code (not required)
068 Country Code
001 Class
G
S1Z1... Secondary Message
...TRSEOT
<STX>L
D11<CR>
1U00000010001000051327895555840666this package<0x0D>is going to
Datamax<CR>
121100000000100Barcode U<CR>
E
v: FIM
Valid Characters: A, B, C, or D
Length: 1 character
Valid bar widths: The width and height multiplier works the same as for fonts on this bar code.
This bar code is used to display the Facing Identification Mark (FIM) that is carried 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 (typically for envelopes with a courtesy reply window).
<STX>L
D11<CR>
1v0000000150100A<CR>
121100000000100Barcode v<CR>
E
z: PDF-417
Valid Characters: All ASCII characters.
Variable Length – This two dimensional bar code holds large amounts of data in a small area, while
providing a high level of redundancy and error checking, if specified.
<STX>L
D11<CR>
1z0000000150100F1000000PDF417<CR>
121100000000100Barcode z<CR>
Barcode z
E
The example above prints a normal, security level one, PDF-417 bar code with a 1:2 aspect ratio and
best-fit rows and columns. The (bolded) bar code’s data stream
1z0000000150100F1000000PDF417<CR> decodes as follows:
W1c: DataMatrix
Variable Length
These square symbols can be any odd size from 9x9 to 49x49, which may be specified in fields jjj,
and kkk. If an ECC 000-140 symbol is specified with even numbers of rows or 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 format is shown here, expanded with
spaces.
Where:
Field Valid Inputs Meaning
a 1,2,3, and 4 Rotation
W W Fixed value, extended bar code set
b[b] c, 1c Selects DataMatrix the Bar code - the two differing values have
no other significance.
c 1 to 9 and A to O Module size horizontal multiplier
d 1 to 9 and A to O Module size vertical multiplier
eee 000 to 999 No Effect; Must be numeric
ffff 0000 to 9999 Label position, row
gggg 0000 to 9999 Label position, column
hhh 000, 050, 080, 100, A 3-digit convolutional error correction level.
140
If any number other than one of these options is entered then the
nearest lesser value from the valid entries is used.
Example: Selecting an ECC value of 099 will cause the actual
ECC value of 080 to be used.
i 0-6 1 digit format identification:
0 - Automatically choose the encodation scheme based on the
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 128 ASCII character set.
6 - Any 8-bit byte.
If a format identifier is selected which will not encode the input
character stream then the bar code symbol will not be printed.
It is recommended to use the auto-encodation format
identification since it will select the best possible encodation
scheme for the input stream.
jjj 9,11,13…49. ECC A 3 digit odd number (or 000) of rows requested. 000 causes
140 minimum is 15. rows 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.
kkk 9,11,13…49. ECC A 3 digit odd number (or 000) of columns requested. 000 causes
140 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.
ll…l 8-bit data, followed Data to be encoded.
by a termination
character.
Table G-2: DataMatrix ECC 000 – 140 Record Structure
Example:
<STX>L
D11<CR>
1W1c44000010001002000000000DATAMAX<CR>
121100000000100Barcode W1c<CR> Barcode W1c
E
<STX>L
D11<CR>
1W1C440000100010000292000000000Datamax<0x0D>prints best<CR>
121100000000100Barcode W1C<CR>
E
Generation Structure
The data input structure (hh…h) is as follows:
1. Model 2
2. Error Correction Code Level = ‘M’ (Standard Reliability Level)
3. Mask Selection = Automatic
4. Data Input Mode = Automatic [1]
Example:
<STX>L
(Two termination
D11<CR>
[3] characters
1W1d4400000100010This is the data portion<CR><CR>
required.)
121100000000100Barcode W1D<CR>
E
Where:
Field Valid Inputs Meaning
q 1, 2 QR Code Model number, optional. Model 2 is the default.
e H, Q, M, L Error Correction Level (Reed-Solomon) – Four levels
allowing recovery of the symbol codewords:
H = Ultra Reliability Level (30%)
Q = High Reliability Level (25%)
M = Standard Reliability Level (15%)
L = High Density Level (7%)
m 0 – 8, none Mask Number, optional:
None = Automatic Selection
0-7 = Mask 0 to Mask 7
8 = No Mask
I A, a, M, m Data Input Mode:
A = Automatic setting, ASCII [1]
a = Automatic, hex-ASCII [1]
M = Manual Setting, ASCII[2]
m = manual, hex-ASCII[2]
cdata N, A, B, K Character Mode:
immediately followed N = Numeric, N data
by data A = Alphanumeric, A data
B = Binary , Bnnnn data (where nnnn = data byte-
count, 4 decimal digits; byte-count /2 for hex-
ASCII
K = Kanji, K data
term <CR>, <CR><CR> [3] The data string is terminated with a termination character,
generally a 0x0d 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.
[1]
When Data Input Mode = Automatic – Kanji data cannot be used; Manual data input is required.
[2]
When using manual formatting commas are required between format fields and data types.
[3]
<CR> represents the line termination character as defined by the current control code set or after use of
Txx, line field terminator label format command.
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.
Data Append Mode String Format, Manual Formatting – Bar Code W1D
D aa tt pp I
Where:
Field Valid Inputs Meaning
D D Data Append Mode String Format indicator
aa 00, 99 QR Code Number in Append Series, 2 decimal digits
tt The total number of QR Codes in series, 2 decimal digits
pp Value of Parity, 2 digits, 8 LSBs of data parity
e H, Q, M, L As above
m 0 – 8, none As above
i A, a, M, m As above
cdata N, A, B, K As above
immediately
followed by data
term <CR>, <CR><CR> As above
Characteristics
Models:
Model 1 (original version), bar code versions 1 through 14
A. ECC Levels ‘H’, ‘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
A. ECC Levels ‘H’, ‘M’, ‘Q’, and ‘L’
B. Mask Selection Automatic or 0 through 8
C. Data Input Modes Automatic and Manual
D. Data Append Mode
Representation 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)
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
Example
<STX>L
D11<CR>
1W1D44000001000102HM,AThis is the data portion also
with binary,B0003<0xfe><0xca><0x83><0x0D>
121100000000100Barcode W1D<CR>
E
Barcode W1D
Where:
QR Code bar code, Cell Size = 0.1 inch square, positioned at X =. 1” and Y = .1”, ECC=H, Mask =
Automatic, Data Input Mode = Manual.
Other examples:
DPL field record, QR Code bar code, Cell Size = 0.04 inch square, positioned at X = .1” and Y =
.1”, ECC = H, Mask = 3, Data Input Mode = Manual:
1W1D4400000100010H3M,AThis is the data portion also with
binary,B0003<0xfe><0xca><0x83><0x0D>
DPL field record, QR Code bar code, Cell Size = 0.08 inch square, positioned at X = .1” and Y =
.1”, ECC = L, Mask = Automatic, Data Input Mode = Manual - Kanji:
1W1D88000001000102,LM,K<0x81><0x40><0x81><0x41><0x81><0x42><0x0
D>
DPL field record, QR Code bar code, Cell Size = 0.04 inch square, positioned at X = .1” and Y =
.1”, ECC = L, Mask = Automatic, Data Input Mode = Manual - Kanji (in Hex/ASCII format):
1W1D4400000100010L8m,K814081418142<0x0D>
DPL field record, QR Code bar code, 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>
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.
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 codeword 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 results 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 codeword 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 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 bar code 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 bar code readers. The valid values for escape sequences are of the form <ESC>n, where:
<ESC> – 1 byte with value 2710 = 1B16
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.
<ESC>0 – Is encoded as FLG(0), and interpreted as FNC1 or <GS> depending on its location in
the data stream. The printer does not validate <ESC>0 locations in the data stream.
When <ESC>0 is the leading data in the stream, it is interpreted as a FNC1 as used in
the Code 128 symbology, and specifically for UCC/EAN 128 applications. For
appropriately configured scanners this will be interpreted/transmitted as a ]C1
symbology identifier preamble. The printer does not validate UCC/EAN 128 data
syntax.
When <ESC>0 follows a single alphabetic or two numeric characters respectively,
then it also interpreted as a FNC1. For appropriately configured scanners this would
be interpreted/transmitted as a ]C2 symbology identifier preamble, and the alpha or
numeric characters preceding the FNC1 are Application Indicators assigned by AIM
International. The printer does not check AI validity.
When <ESC>0 is anywhere else in the data stream, a <GS> replaces it in the bar code
symbol, as with UCC/EAN 128 field separators.
Example 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.
<STX>L
D11<CR>
1W1f00000001501000000AZTEC<CR>
121100000000100Barcode W1f<CR>
E Barcode W1f
Example 2: The specified length example includes a byte count field for all bytes that follow until the
end of the bar code 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 bar code format record. A line of text is also printed.
<STX>L
D11<CR>
1W1F000000015010000170000AZTEC<0x0D>barcode
121100000000100Barcode W1F<CR>
E
Barcode W1F
USD-8 (Code 11) is a bar code that encodes the ten digits and the dash (-) character. An additional
character serves as the start and stop indicator. Each character has three bars and two spaces for a
total of five elements. Of these five elements, two are of medium width and three are narrow, except
for the “0”, “9”, and “-“ characters, which have only one wide element and four narrow elements.
The narrow bar size is specified in DPL by the narrow bar parameter, the medium is specified in DPL
by the wide bar parameter and the wide bar is fixed at 2 times the medium bar minus the narrow bar.
DPL calculates two checksum characters, C and K, and automatically places them prior to the stop
character. The following example prints a Code11 bar code:
<STX>L
D11
1W1G00000015001500123456789-<CR>
121100000000100Barcode W1G<CR>
E
Barcode W1G
This printer supports the Code 128 subsets A, B, and C. If the data begins with at least four numeric
characters the default start code is subset C. If there is a non-numeric in the first four characters then
the default start code is subset B. The next character after start is always FNC1. Subset switching
between B and C is performed based on rules as below:
1. If in subset C and there are an odd number of numeric digits, subset B will be set prior to the last
digit.
2. If four or more numeric digits appear consecutively while in subset B, the character code C will be
set prior to the digits.
3. When in subset C and a non-numeric occurs subset B will be inserted prior to the character.
Note that there is no auto-switching from or to Subset A. Standard switches are still used (see table
below).
Subset A: Includes all of the standard uppercase alphanumeric keyboard characters plus the control
and special characters.
Subset B: Includes all of the standard uppercase alphanumeric keyboard characters plus the
lowercase alphabetic and special characters.
Subset C: Includes the set of 100 digit pairs from 00 through 99 inclusive, as well as special
characters. EAN128 Subset C is used for double density encoding of numeric data.
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 an EAN128 Subset A bar code, send the ASCII & (DEC
38, HEX 26) followed by an ASCII B (DEC 66, HEX 41). Code FNC2 will be encoded.
ASCII 2 CHAR CODE A CODE B CODE C
96 &A FNC3 FNC3 -NA-
97 &B FNC2 FNC2 -NA-
98 &C SHIFT SHIFT -NA-
99 &D CODEC -NA- -NA-
100 &E CODEB FNC4 -NA-
101 &F FNC4 CODEA CODEA
102 &G FNC1 FNC1 FNC1
Table G-8: Special Character Handling
Control Codes: Control character encoding into Code 128 Subset A by sending these control codes:
` = NUL
a through z = 1 - 26
{ = ESC
| = FS
} = GS
~ = RS
ASCII 127 = US
<STX>L
D11<CR>
1W1I000000025002512345&G10Z2133021AK<CR>
121100000000100Barcode W1I<CR>
E
Barcode W1I
Variable length
Valid bar widths: 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 the Code 128 subsets A, B, and C. If the data begins with at least four numeric
characters the default start code is subset C. If there is a non-numeric in the first four characters or
there are less than four then the default start code is subset B. Subset switching between B and C is
performed based on the rules below:
1.If in subset C and there are an odd number of numeric digits, subset B will be set prior to the last
digit.
2.If four or more numeric digits appear consecutively while in subset B, the character code C will be
set prior to the digits. If there is an odd number of numerics already in B, the first numeric will be
placed in B with the others in C.
3.When in subset C and a non-numeric occurs subset B will be inserted prior to the character.
Note that there is no auto switching from, or to, subset A. Standard switches are still used. See table
below.
Subset A: Includes all of the standard uppercase alphanumeric keyboard characters plus the control
and special characters.
Subset B: Includes all of the standard uppercase alphanumeric keyboard characters plus the
lowercase alphabetic and special characters.
Subset C: Includes the set of 100 digit pairs from 00 through 99 inclusive, as well as special
characters. Code128 Subset C is used for double density encoding of numeric data.
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 Code128 Subset A bar code, send the ASCII & (DEC
38, HEX 26) followed by an ASCII B (DEC 66, HEX 41). Code FNC2 will be encoded.
Control Codes: Control character encoding into Code 128 Subset A by sending these control codes:
` = NUL
a through z = 1 - 26
{ = ESC
| = FS
} = GS
~ = RS
ASCII 127 = US
<STX>L
D11<CR>
1W1J000000025002512345&G10Z2133021AK<CR>
121100000000100Barcode W1J<CR>
E
Barcode W1J
Syntax for RSS-14, RSS-14 Truncated, RSS-14 Stacked, RSS-14 Stacked Omni-Directional and RSS
Limited (spaces shown for readability):
a W1 k c d eee ffff gggg h i j m n…n | p…p
Where:
Examples:
The following example prints an RSS-14 bar code.
<STX>L Barcode W1k
D11
1W1k0000001500150R1002001234567890
121100000000100Barcode W1k<CR>
E
The following example prints an RSS-14 bar code with 2-D data.
<STX>L
D11 Barcode W1k
1W1k0000001500150R1002001234567890|123456-99/99/99
121100000000100Barcode W1k<CR>
E
Syntax for the RSS Expanded bar code (spaces shown for readability):
a W1 k c d eee ffff gggg h i j m nn p…p | q…q
Where:
Field Valid Inputs Meaning
a 1,2,3, and 4 Rotation
W1 W1 Fixed value, extended bar code set
k k Selects RSS bar code
c 0 to 9 and A to O Wide bar ratio, default = 2
d 0 to 9 and A to O Narrow bar ratio, default = 2
eee 000 No effect
ffff 0000 to 9999 Label position, row
gggg 0000 to 9999 Label position, column
h E RSS Type: E= RSS Expanded
i 1-9 Pixel Multiplier
j 0 to (i-1) X pixels to undercut
m 0 to (i-1) Y pixels to undercut
nn 2-22, even only[2] Segments per row
p…p 0 to 9 Subset of ISO646, including alphanumerics
| | (optional) Vertical bar separates primary linear data and secondary 2-D data
q…q 2-D data (optional) Additional 2-D data [1]
[1]
The separator row height for two-dimensional composite is fixed at one times the pixel multiplier.
[2]
When using additional 2-D composite data, the sequence width must be at least 4.
Table G-6: RSS-14 Expanded Record Structure
Example:
The following example prints an RSS-14 Expanded bar code.
<STX>L
D11
1W1k0000001500150E100022001234567890
121100000000100Barcode W1k<CR>
E
Barcode W1k
This bar code produces the same symbology as bar code ID “R”, except that the human readable field
has been modified to print on the bottom of the bar code (see below).
<STX>L
D11<CR>
1W1R0000000150100012345678901234567<CR>
121100000000100Barcode W1R<CR>
E
34 567890 123 4567
Barcode W1R
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. The location of the MicroPDF417 symbol is based
on the location of ECI bar code. The symbol’s module width and height are fixed at the default. The
following example prints a TLC39 bar code:
<STX>L
D11
1Wt0000001500150123456;ABCD12345678901234
1911A0801300170A1B2C3DAAA
121100000000100Barcode W1t<CR>
E Barcode W1t
W1z: MicroPDF417
Valid Characters: All ASCII characters, depending on the selected options.
Variable Length
Syntax: a W z c d eee ffff gggg h i j k 0 m…m
Where:
Field Valid Inputs Meaning
a 1,2,3, and 4 Rotation
W1 W1 Fixed value, extended bar code set
z z Selects the MicroPDF417 bar code
c 0 to 9 and A to O Module size horizontal multiplier, 0 – default size
d 0 to 9 and A to O Module size vertical multiplier, 0 – default size
eee 000 No Effect
ffff 0000 to 9999 Label position, row
gggg 0000 to 9999 Label position, column
h 1 to 4 Number columns
i 0 to 9 and A Row / Error Correction index
j 0, 1 Byte Compaction Mode (1), best compression for binary data
k 0, 1 Macro Character Substitution Disable (1)
0 0 Fixed ASCII digit 0.
Reserved for future use.
m…m 8-bit data Data to be encoded
This is a 2 dimensional bar code capable of holding large amounts of data in a small area. It provides
a high level of redundancy and error checking. Please reference the following specifications for
details: International Symbol Specification – MicroPDF417, AIM International Technical
Specification, version 1.0 1998-06-18; International Symbol Specification Code 128, AIM
International Technical Specification, version 1.0 1999-11-4; UCC/EAN-128 Application Identifier
Standard, Uniform Code Council, Inc, January 1993, revised July 1995; Application Standard for
Shipping Container Codes, Uniform Code Council, 1996. The following example prints a
MicroPDF417 bar code, default module size (cd = 00), with 1 column, 24 rows, error correction of
33%, no byte compaction, macro character substitution enabled.
<STX>L
D11<CR>
1W1z000000015010014000PDF417<CR>
121100000000100Barcode W1z<CR>
E
Barcode W1z
The number of columns (h) and the row / error correction index (i) combine to form a
row/column/error correction selection index (hi) which determines other characteristics of the symbol
as shown in the following table.
Row/Column/Error Correction Selection Index (h, i) Implications
hi Columns Rows Maximum Symbol Symbol Maximum Maximum Maximum
Errors Width[2] Height[3] Binary Data Alphabetic Numeric
Corrected[1] Bytes[4] Characters[5] Characters[5]
10 1 11 4 40 24 3 6 8
11 1 14 4 40 30 7 12 17
12 1 17 4 40 36 10 18 26
13 1 20 5 40 42 13 22 32
14 1 24 5 40 50 18 30 44
15 1 28 5 40 58 22 38 55
20 2 8 5 57 18 8 14 20
21 2 11 6 57 24 14 24 35
22 2 14 6 57 30 21 36 52
23 2 17 7 57 36 27 46 67
24 2 20 8 57 42 33 56 82
25 2 23 10 57 48 38 67 93
26 2 26 12 57 54 43 72 105
30 3 6 9 84 14 6 10 14
31 3 8 11 84 18 10 18 26
32 3 10 13 84 22 15 26 38
33 3 12 15 84 26 20 34 49
34 3 15 18 84 32 27 46 67
35 3 20 23 84 42 39 66 96
36 3 26 29 84 54 54 90 132
37 3 32 35 84 66 68 114 167
38 3 38 41 84 78 82 138 202
39 3 44 47 84 90 97 162 237
40 4 4 5 101 10 8 14 20
41 4 6 9 101 14 13 22 32
42 4 8 11 101 18 20 34 49
43 4 10 13 101 22 27 46 67
44 4 12 15 101 26 34 58 85
45 4 15 18 101 32 45 76 111
46 4 20 23 101 42 63 106 155
47 4 26 29 101 54 85 142 208
48 4 32 35 101 66 106 178 261
49 4 38 41 101 78 128 214 313
4A 4 44 47 101 90 150 250 366
[1]
Can be any combination of 1∗erasures + 2∗substitutions (e.g. 13 maximum number of errors corrected might
include 7 erasures and 3 substitutions).
[2]
Includes 1 module width of quiet zone on either side.
[3]
Assumes the module height is 2∗module width, and includes one module width quiet zones on top and
bottom.
[4]
Assumes Binary Compaction.
[5]
Assumes Text Compaction.
Table G-7: MicroPDF417 Characteristics Index
Note: In the table above, row/column/error correction selection index (hi) values increasingly large do not
necessarily result in the ability to encode more data.
<STX>L
D11<CR>
1W1Z0000000150100001214000pdf<0x0D>417
121100000000100Barcode W1Z<CR>
E
Barcode W1Z
Example: 1911u4000100010A0215134<CR>
The example above will produce a printed string consisting of the two Kanji characters referenced by the
two HEX ASCII pairs A0, 21, and 51, 34, on appropriately equipped printers.
Example: 1911U4001000100P012P012<0x38><0x77><0x00>
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., 0x 00
00 0D. The Hex-ASCII representation is terminated with <CR>.
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 and U designates double byte. The lower case U counterpart signifies that
print data in the label format record is in a hex-ASCII format. Fonts that have 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 Snn as the font
designator, and vice versa, single-byte fonts cannot be accessed using Unn or unn.
Note: Downloading scalable fonts require 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.
CG Times Bold
Single Byte SA3 scalable
Italic
Gothic B Kanji Double Byte (Binary) U40 scalable
Note: In the following table, “√” indicates a full compliment of characters, “Part” indicates a partial compliment of
characters, and “X” indicates an absence of characters for the given code page.
The double-byte symbol set is selected using <STX>yUxx command. The single-byte symbol set is
selected using the same command, <STX>ySxx. Each affects an independent database selection and has
no impact on the other.
Printing with GPIO: When the GPIO functions are enabled, the printer will not print a label until the
“Start of Print” signal goes active.
Note: When a label is ready to print but awaiting a Start of Print signal, the prompting operation differs slightly
depending upon equipment:
The GPIO functions vary according to the printer model, as discussed below.
The connection to the GPIO signals can be accessed via the Option Port connector (an 8-pin Molex
Microfit 3, P/N 44300-800) on the front of the printer, or via the J6 connector (an AMP, P/N 640456-8)
on the Main PCB. The pin-outs for the respective connectors (as viewed when facing the printer) are as
follows:
8 6 4 2
1 2 3 4 5 6 7 8
7 5 3 1
Signal
6&8 Ground N/A Ground
Ground
1.6 Amp
7 +24 VDC Output Printer +24 VDC
(fused )
[1]
Given relative to the printer.
[2]
The operation of this multi-function port is configuration dependent. For GPIO operation, disable all optional functions not
used (i.e., Present Sensor and Cutter) and set GPIO to “YES” (or on display-equipped models set GPIO Device to
“APPLICATOR”). Use the Configuration Set command (<STX>Kc), or program the selections on non-display models via the
“Printer Setup Menu List” or on display-equipped models via the “Menu System”; see the Operator’s Manual for details.
8 Start of Print Signal Programmable Input When active, will begin print.
9 Signal Ground Ground N/A N/A
*Signal direction is given relative to the printer.
I-Class and W-Class GPIO Connector – as viewed from the rear of the
printer :
The A-Class Applicator Interface Card has two LEDs, an Auxiliary (Serial B) Port, and a GPIO Port.
The Auxiliary Port (J1) is an RS-232 interface. Serial data transfer settings (such as baud rate, word
length, and parity) can be made using <STX>KcSP commands. These settings must match the device that
you are connecting. Jumpers JMP 1 – JMP 4 should be in installed.
The GPIO Port allows convenient printer to applicator integration. Functions can be configured using the
menu system or via <STX>Kc commands. All configuration settings are saved in non-volatile memory.
Jumper settings are critical:
• Jumper settings allow the printer to power the applicator interface circuitry, or the applicator interface
circuitry can be powered externally.
• Jumper settings allow + 5 or +24 VDC output signal levels to be used.
The Applicator Start of Print Circuit will depend upon the applicator system’s requirements:
J2 - GPIO PORT
6 Reprint
1 Ground
5 Pause Toggle
6 Reprint
Ground
The table below details the GPIO Port functions, and configurable settings:
Failure to configure the GPIO Port’s jumpers for the device(s) you are connecting may result in
damage to the printer and/or the applicator.
WARNING
A-Class GPIO Port (J2) Pin Functions and Associated Jumper Selections
Pin Signal Signal Active Jumper Function /
# Name Direction Setting Placement Description
Ground Ground JMP 7 ‘On’ Printer chassis ground is used
1 Ground (Configurable)
Open Open JMP 7 ‘Off’ Ground return must be supplied
Printer +5 VDC is used
Output +5 VDC JMP 8 ‘On’
+5 VDC (Configurable) (.5 amp max.)
2
Open Open JMP 8 ‘Off’ +5 VDC must be supplied
[5] [1]
3 Start Of Print Input Programmable
[4]
4 Slew Label Input Low
5 Pause Toggle Input Low
N/A N/A
[3]
6 Reprint Input Low
7 +24 VDC (1.0 amp max.) Output +24 VDC
8 Ground Ground Ground
9 Ribbon Low Output Programmable [1]
JMP 9: See WARNING message,
10 Service Required [2] Output Low above.
Pins 1 & 2 =
11 End Of Print Output Programmable [1] +5 VDC When inactive, all output pins
12 Media Out Output Low – OR – will be pulled up to the voltage
Pins 2 & 3 = determined by this jumper
13 Ribbon Out Output Low setting.
+24 VDC
14 Data Ready (DRDY) Output Low
15 Spare Output N/A N/A N/A
[1]
For details see the A-Class Operator’s Manual.
[2]
Evoked by occurrences listed under ‘Fault Messages’ in the A-Class Operator’s Manual.
[3]
Reprints the last label exactly, with no increment or time stamp changes; use it for error conditions. Always keeping this signal
LOW will result in non-stop printing.
[4]
Advances media until the signal goes HIGH and, if not in continuous mode, the media will be positioned at the next available
media TOF.
[5]
If active with no current print job, “WAITING FOR DATA” is displayed. Specifying a quantity of 9999 while always keeping
this signal ‘ON’ will cause non-stop label printing, except in single label mode (see Imaging Mode, Section 4.2.5 of the A-
Class Operator’s Manual), which will cause the printer to stop between labels.
The Green and Yellow Indicators offer a visual sign of printer/applicator activity:
Print Resolutions, Module Identifiers, Maximum Field, Column, & Character Values
Note: In the tables below, the following standards are used:
X = Supported Command
ND = Non-Display
Printer Resolution (DPI) Row Adjust Fine Tune <STX>KcRF Parameter Range (+/– dots)
203 -100 – 100 dots
300 -150 – 150 dots
400 -200 – 200 dots
600 -300 – 300 dots
Table K-4: Row Adjust Range per Print Resolution
Printer Resolution (DPI) Column Adjust <STX>KcCA Parameter Range (+/– dots)
203 -100 – 100 dots
300 -150 – 150 dots
400 -200 – 200 dots
600 -300 – 300 dots
Table K-5: Column Adjust Range per Print Resolution
Speed Ranges
Speed Value:
Printer Speed Command*
Inches per Second Millimeters per Second
A 1.0 25
B 1.5 38
C 2.0 51
D 2.5 63
E 3.0 76
F 3.5 89
G 4.0 102
H 4.5 114
I 5.0 127
J 5.5 140
K 6.0 152
L 6.5 165
M 7.0 178
N 7.5 191
O 8.0 203
P 8.5 216
Q 9.0 227
R 9.5 241
S 10.0 254
T 10.5 267
U 11.0 279
V 11.5 292
W 12.0 305
X 13.0 330
Y 14.0 356
Z 15.0 381
a 16.0 406
b 17.0 432
c 18.0 457
d 19.0 483
e 20.0 508
*Applicable speed values are printer dependent. See Table L-2, below.
Commands by Function
Commands by Function
Function Command
Backup speed pa
Batch quantity request <SOH>E
Cancel <SOH>C
Character bit-mapped data <ESC>(snnnWdata
Character code <ESC>*cnnnE
Character dump mode <STX>P
Column offset amount Cnnnn
Configuration label and dot pattern print <STX>Z
Configuration Set (See Table 5-1 for individual listings) <STX>Kc
Continuous paper length <STX>cnnnn
Count by ^nn
Cut <STX>o
Cut by :nnnn
Cut by cnn
Decrement alphanumerically <fii
Decrement numerically - fii
DIP switch, host controlled settings <STX>Vn
Dot size height and width Dwh
Edge sensor enable <STX>e
Feed rate <STX>Sa
Feedback characters enable <STX>a
Field data line terminator Tnn
File delete from module <STX>xmfname
Firmware version request <STX>v
Font descriptor <ESC>)snnnW
Font ID number <ESC>*cnnnD
Form feed <STX>F
Set Present Distance <STX>Kfnnnn
Format attribute An
Graphics image download <STX>Iabfnamecr
Heat setting Hnn
Inches <STX>n
Increment alphanumerically >fii
Increment numerically +fii
Label format field replacement <STX>Unnstring
Label formatting start <STX>L
Label length maximum <STX>Mnnnn
Commands by Function
Function Command
Memory query <STX>KQ
Memory query (new format) <STX>Kq
Metric <STX>m
Metric m
Mirror M
Module clear <STX>qm
Module, compress <STX>zm
Module, directory request <STX>Wa
Module, set default <STX>Xm
Module, FLASH memory Test <STX>w
Module, RAM memory Test <STX>t
Modules, clear all <STX>Q
Pause for each label <STX>J
Pause toggle <SOH>B
Pause, controlled <STX>p
Place data in global register G
Print last label format <STX>G
Print speed Pa
Print time and date <STX>Tstring
Printhead dot pattern test label <STX>T
Quantity labels printed <STX>Ennnn
Quantity of labels Qnnnn
Recall global data and place in field <STX>Sa
Recall stored label rname
Reflective sensor select <STX>r
Replacement field tag U
Reset <SOH>#
Resettable counters reset <STX>Kr
Ribbon saver <STX>Rx
Row offset amount Rnnnn
RS-232 port test <STX>k
Scalable font download <STX>imtaabbb...bcrxxxxxxxxfff...f
Sensor values request <STX>Y
Feed speed Sa
Status ASCII string request <SOH>A
Status byte request <SOH>F
Store label in module & terminate formatting smname
Symbol set select <STX>ySaa
Symbol set select ySaa
Terminate formatting - print label format E
Terminate label formatting, do not print label X
Time and date request <STX>B
Time and date set <STX>AwMMddyearhhmmjjj
Update system database with current database <SOH>U
Zero (Ø) conversion to “0” z
<SOH> Constraints
<STX> Constraints
<STX> Constraints
<STX> Constraints
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 <STX>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; a terminator
follows the last of these records.
Dot-row record
•
•
•
•
Dot-row record
Terminator
Syntax: 80nndd...d<CR>
Duplicate records may be encoded using a repeat data record, following the data record that needs
duplicating. The repeat data record format is:
Syntax: 0000FFnn<CR>
^BqA(CR)
^BIAAFLOGO(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFC00000007FFC0003FFFFC001FC0001FC0003FFFFC0018000FFC001FF8000C0003FFFFE000000FFFFE0001FFFFF0000(CR)
8030FFC00000000FFC0003FFFFC001FC0001FC0003FFFFC0018000FFC001FF800040001FFFFE0000007FFFC0001FFFFF0000(CR)
8030FFC000000003FC0001FFFFC001FC0001FC0001FFFFC0018000FFC001FF800040001FFFFE0000003FFFC0001FFFFF0000(CR)
8030FFC000000000FC0001FFFFC001FE0001FE0001FFFFC00180007FC000FF800060001FFFFE0000003FFFC0003FFFFF0000(CR)
8030FFE0000000007E0001FFFFC001FE0001FE0001FFFFC00180007FC000FFC00060000FFFFE0000001FFFC0003FFFFF0000(CR)
8030FFE0000000003E0000FFFFC001FE0000FE0000FFFFC00180007FC0007FC00020000FFFFE0000001FFF80003FFFFF0000(CR)
8030FFE0000000001E0000FFFFC001FE0000FF0000FFFFC001C0007FC0007FC00030000FFFFE0010000FFF80003FFFFF0000(CR)
8030FFE0000000000F0000FFFFC001FE0000FF0000FFFFC001C0007FC0007FC00030000FFFFE00180007FF80007FFFFF0000(CR)
8030FFE0000000000700007FFFC001FF0000FF80007FFFC001C0007FC0003FC000380007FFFE00180007FF80007FFFFF0000(CR)
8030FFF0000000000380007FFFC001FF0000FF80007FFFC001C0003FC0003FE000380007FFFE001C0003FF80007FFFFF0000(CR)
8030FFF0000000000380007FFFC001FF0000FF80007FFFC001C0003FC0003FE000380007FFFE001E0003FF80007FFFFF0000(CR)
8030FFF0000000000180003FFFC001FF00007FC0003FFFC001C0003FC0001FE0001C0003FFFE001E0001FF0000FFFFFF0000(CR)
8030FFF00000000001C0003FFFC001FF00007FC0003FFFC001E0003FC0001FE0001C0003FFFE001F0000FF0000FFFFFF0000(CR)
8030FFF00007C00000C0003FFFC001FF00007FE0003FFFC001E0003FC0000FF0001E0003FFFE001F0000FF0000FFFFFF0000(CR)
8030FFF80007F80000E0001FFFC001FF80007FE0001FFFC001E0003FC0000FF0001E0001FFFE001F80007F0000FFFFFF0000(CR)
8030FFF80007FC0000E00000000001FF80007FE00000000001E0001FC0000FF0001E00000000001FC0007F0000FFFFFF0000(CR)
8030FFF80007FE0000600000000001FF80003FF00000000001E0001FC00007F0000F00000000001FC0003F0001FFFFFF0000(CR)
8030FFF80003FF0000700000000001FF80003FF00000000001F0001FC00007F0000F00000000001FE0001E0001FFFFFF0000(CR)
8030FFF80003FF0000700000000001FF80003FF00000000001F0001FC00007F8000F00000000001FE0001E0001FFFFFF0000(CR)
8030FFFC0001FFC0003C0000000001FFE0001FFE0000000001F8000FC00000FC0007E0000000001FFE00000003FFFFFF0000(CR)
8030FFFE0001FFC0001E0000000001FFE0001FFE0000000001F8000FC00000FC0007E0000000001FFF00000003FFFFFF0000(CR)
8030FFFE0001FFC0001E0000000001FFE0001FFE0000000001F8000FC00000FC0007F0000000001FFF00000007FFFFFF0000(CR)
8030FFFE0000FFC0001F0000000001FFE0000FFF0000000001F8000FC000007C0003F0000000001FFF80000007FFFFFF0000(CR)
8030FFFE0000FFC0001F0000000001FFE0000FFF0000000001FC0007C000007E0003F0000000001FFF80000007FFFFFF0000(CR)
8030FFFE0000FFE0001F0001FFC001FFE0000FFF8001FFC001FC0007C000003E0003F8000FFE001FFFC0000007FFFFFF0000(CR)
8030FFFE0000FFE0000F8001FFC001FFF0000FFF8000FFC001FC0007C000003E0003F8000FFE001FFFE000000FFFFFFF0000(CR)
8030FFFF0000FFE0000F8000FFC001FFF0000FFF8000FFC001FC0007C000003E0003F8000FFE001FFFE000000FFFFFFF0000(CR)
8030FFFF0000FFE0000F8000FFC001FFF00007FFC000FFC001FC0007C000001F0001FC000FFE001FFFF000000FFFFFFF0000(CR)
8030FFFF00007FE0000FC000FFC001FFF00007FFC0007FC001FE0007C002001F0001FC0007FE001FFFF000000FFFFFFF0000(CR)
8030FFFF00007FF0000FC0007FC001FFF00007FFE0007FC001FE0003C002001F0001FE0007FE001FFFF800000FFFFFFF0000(CR)
8030FFFF00007FF0000FE0007FC001FFF80007FFE0007FC001FE0003C003000F0001FE0007FE001FFFFC00001FFFFFFF0000(CR)
8030FFFF80007FF00007E0007FC001FFF80007FFE0003FC001FE0003C003000F0001FE0003FE001FFFFC00001FFFFFFF0000(CR)
8030FFFF80007FF00007E0003FC001FFF80003FFF0003FC001FE0003C00300078001FF0003FE001FFFFE00001FFFFFFF0000(CR)
8030FFFF80003FF00007F0003FC001FFF80003FFF0003FC001FE0003C00380078000FF0003FE001FFFFE00001FFFFFFF0000(CR)
8030FFFF80003FF80007F0003FC001FFF80003FFF0001FC001FF0003C00380078000FF8001FE001FFFFE00001FFFFFFF0000(CR)
8030FFFF80003FF80007F0001FC001FFF80003FFF8001FC001FF0001C003C0038000FF8001FE001FFFFE00001FFFFFFF0000(CR)
8030FFFFFFC0000000007FFC000001F80000000000FC000001FFF0000003FFE0000007FFC000001FFFC0003F80007FFF0000(CR)
8030FFFFFFE000000000FFFC000001F80000000000FE000001FFF8000003FFE0000007FFE000001FFFC0003FC0003FFF0000(CR)
8030FFFFFFF000000000FFFE000001F80000000000FE000001FFF8000003FFF0000007FFE000001FFFC0003FC0003FFF0000(CR)
8030FFFFFFFC00000000FFFE000001FC0000000000FE000001FFF8000003FFF0000007FFE000001FFFC0003FE0001FFF0000(CR)
8030FFFFFFFE00000000FFFE000001FC00000000007F000001FFF8000003FFF0000007FFF000001FFFC0003FE0001FFF0000(CR)
8030FFFFFFFF00000001FFFF000001FC00000000007F000001FFF8000003FFF8000007FFF000001FFF80003FF0000FFF0000(CR)
8030FFFFFFFFC0000001FFFF000001FC00000000007F000001FFF8000003FFF8000003FFF800001FFF80007FF0000FFF0000(CR)
8030FFFFFFFFE0000003FFFF800001FC00000000007F800001FFFC000003FFF8000003FFF800001FFF80007FF80007FF0000(CR)
8030FFFFFFFFF0000007FFFF800001FC00000000007F800001FFFC000003FFFC000003FFF800001FFF80007FF80007FF0000(CR)
8030FFFFFFFFF800000FFFFF800001FE00000000003FC00001FFFC000003FFFC000003FFFC00001FFF00007FFC0003FF0000(CR)
8030FFFFFFFFFE00001FFFFFC00001FE00000000003FC00001FFFC000003FFFE000003FFFC00001FFF00007FFC0003FF0000(CR)
8030FFFFFFFFFF00007FFFFFC00001FE00000000003FC00001FFFC000003FFFE000003FFFE00001FFF00007FFE0001FF0000(CR)
8030FFFFFFFFFF8003FFFFFFC00001FE00000000003FE00001FFFC000003FFFF000003FFFE00001FFF00007FFE0001FF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
8030FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000(CR)
FFFF(CR)
^BL(CR)
1Y1100000000000LOGO(CR)
E(CR)
Figure O-1: Sample Datamax 7-bit ASCII File Image
Examples:
1B110000200020012345V01199
Prints the UPC-A bar code with the variable price checksum in the sixth position.
1B1100002000200123456V0150
Prints the UPC-A bar code with the variable price checksum in the seventh position.
1F1100002000200123456V01199
Prints the EAN-13 bar code with the variable price checksum in the seventh position.
1F11000020002001234567V0150
Prints the EAN-13 bar code with the variable price checksum in the eighth position.
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 (see Generating Label Formats and Appendix H for details).
SA0 - CG TIMES
SA1 - CG TIMES ITALIC
SA2 - CG TIMES BOLD
SA3 - CG TIMES BOLD ITALIC
Note: The notation “<xx>” in this DPL file should be interpreted by the reader as representing the hexadecimal
value of the character sent to the printer.
ILPC-KANJI Option
The Kanji Option is a double byte scalable font supporting Kanji Gothic B (or Gothic E on E-Class and
non-display M-Class printers). 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).
Note: Not all fonts contain an entire compliment of character codes for a given character map. Gothic E is
available only on E-Class and non-display M-Class printers.
Sample Kanji Gothic B DPL file (binary addressing) and the resulting label:
<02>L<CR>
D11<CR>
ySPM<CR>
1911S0003100010P020P015Scalable Kanji Gothic B Available<CR>
1B110000020017001234567890<CR>
yUJS<CR>
1X1100001900010b0392011000020002<CR>
112200002800030JIS CHARACTER’S IN ALL 4 ROTATION’S<CR>
112200002600030Rotation 1<CR>
1911U4002650150P012P012<4D><3F><21><21><21><21><4D><4F><21><21><21><21><4D><5F><21><21>
<21><21><4D><6F><00><00><CR>
112200002400030Rotation 2<CR>
2911U4002600150P012P012<4D><3F><00><00><CR>
2911U4002600205P012P012<4D><4F><00><00><CR>
2911U4002600250P012P012<4D><5F><00><00><CR>
2911U4002600300P012P012<4D><6F><00><00><CR>
112200002200030Rotation 3<CR>
3911U4002330315P012P012<4D><6F><21><21><21><21><4D><5F><21><21><21><21><4D><4F><21><21>
<21><21><4D><3F><00><00><CR>
112200002000030Rotation 4<CR>
4911U4001950165P012P012<4D><3F><00><00><CR>
4911U4001950215P012P012<4D><4F><00><00><CR>
4911U4001950265P012P012<4D><5F><00><00><CR>
4911U4001950315P012P012<4D><6F><00><00><CR>
1X1100001100010b0392007500020002<CR>
112200001650030SCALING JIS CHARACTER’S<CR>
1911U4001200020P010P020<21><6F><00><00><CR>
1911U4001200050P020P020<21><6F><00><00><CR>
1911U4001200080P030P020<21><6F><00><00><CR>
1911U4001200110P040P020<21><6F><00><00><CR>
1911U4001200145P040P030<21><6F><00><00><CR>
1911U4001200190P040P040<21><6F><00><00><CR>
1911U4001200250P040P050<21><6F><00><00><CR>
1911U4001200320P040P060<21><6F><00><00><CR>
112200000050010NORMAL INVERSE<CR>
112200000050245 NORMAL MIRROR<CR>
1911U4000250010P040P040<21><6F><00><00><CR>
1911U4000250245P040P040<4B><30><00><00><CR>
A5<CR>
1911U4000250090P040P040<21><6F><00><00><CR>
A1<CR>
M<CR>
1911U4000250390P040P040<4B><30><00><00><CR>
M<CR>
E<CR>
Note: The notation “<xx>” in this DPL file should be interpreted by the reader as representing the hexadecimal
value of the byte sent to the printer.
Sample Kanji Gothic E DPL file (Hex-ASCII addressing) and resulting label:
<02>L<CR>
D11<CR>
ySPM<CR>
1911S0003100010P020P015Scalable Kanji Gothic E Available<CR>
1B110000020017001234567890<CR>
yUJS<CR>
1X1100001900010b0392011000020002<CR>
112200002800030JIS CHARACTER’S IN ALL 4 ROTATION’S<CR>
112200002600030Rotation 1<CR>
1911uK102650150P012P0124D3F212121214D4F212121214D5F212121214D6F<CR>
112200002400030Rotation 2<CR>
2911uK102600150P012P0124D3F<CR>
2911uK102600205P012P0124D4F<CR>
2911uK102600250P012P0124D5F<CR>
2911uK102600300P012P0124D6F<CR>
112200002200030Rotation 3<CR>
3911uK102330315P012P0124D6F212121214D5F212121214D4F212121214D3F<CR>
112200002000030Rotation 4<CR>
4911uK101950165P012P0124D3F<CR>
4911uK101950215P012P0124D4F<CR>
4911uK101950265P012P0124D5F<CR>
4911uK101950315P012P0124D6F<CR>
1X1100001100010b0392007500020002<CR>
112200001650030SCALING JIS CHARACTER’S<CR>
1911uK101200020P010P020216F<CR>
1911uK101200050P020P020216F<CR>
1911uK101200080P030P020216F<CR>
1911uK101200110P040P020216F<CR>
1911uK101200145P040P030216F<CR>
1911uK101200190P040P040216F<CR>
1911uK101200250P040P050216F<CR>
1911uK101200320P040P060216F<CR>
112200000050010NORMAL INVERSE<CR>
112200000050245 NORMAL MIRROR<CR>
1911uK100250010P040P040216F<CR>
1911uK100250245P040P0404B30<CR>
A5<CR>
1911uK100250090P040P040216F<CR>
A1<CR>
M<CR>
1911uK100250390P040P0404B30<CR>
M<CR>
E<CR>
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: With the ILPC Chinese option, 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 internal
module size available or of a size compatible with an external (plug in) module where applicable. 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 (<STX>yUB5 or
yUB5, respectively).
2. Setting the ‘b’ field = ‘9’ 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.
Sample Simplified GB Chinese DPL file (binary addressing) and resulting label:
<02>L<CR>
D11<CR>
ySPM<CR>
1911S0003100010P020P015Scalable Chinese Available in GB Character Set<CR>
1B110000020017001234567890<CR>
yUGB<CR>
1X1100001900010b0392011000020002<CR>
112200002800030GB CHARACTER’S IN ALL 4 ROTATION’S<CR>
112200002600030Rotation 1<CR>
1911UC002650150P012P012<BD><D0>A1><A1><A1><A1><BD><D1><A1><A1><A1><A1><BD><D2><A1><A1>
<A1><A1><BD><D3><00><00><CR>
112200002400030Rotation 2<CR>
2911UC002600150P012P012<BD><D0><00><00><CR>
2911UC002600205P012P012<BD><D1><00><00><CR>
2911UC002600250P012P012<BD><D2><00><00><CR>
2911UC002600300P012P012<BD><D3><00><00><CR>
112200002200030Rotation 3<CR>
3911UC002330315P012P012<BD><D3><A1><A1><A1><A1><BD><D2><A1><A1><A1><A1><BD><D1><A1><A1>
<A1><A1><BD><D0><00><00><CR>
112200002000030Rotation 4<CR>
4911UC001950165P012P012<BD><D0><00><00><CR>
4911UC001950215P012P012<BD><D1><00><00><CR>
4911UC001950265P012P012<BD><D2><00><00><CR>
4911UC001950315P012P012<BD><D3><00><00><CR>
1X1100001100010b0392007500020002<CR>
112200001650030SCALING GB CHARACTER’S<CR>
1911UC001200020P010P020<BA><D0><00><00><CR>
1911UC001200050P020P020<BA><D0><00><00><CR>
1911UC001200080P030P020<BA><D0><00><00><CR>
1911UC001200110P040P020<BA><D0><00><00><CR>
1911UC001200145P040P030<BA><D0><00><00><CR>
1911UC001200190P040P040<BA><D0><00><00><CR>
1911UC001200250P040P050<BA><D0><00><00><CR>
1911UC001200320P040P060<BA><D0><00><00><CR>
112200000050010NORMAL INVERSE<CR>
112200000050245 NORMAL MIRROR<CR>
1911UC000250010P040P040<BD><E0><00><00><CR>
1911UC000250245P040P040<BD><E1><00><00><CR>
A5<CR>
1911UC000250090P040P040<BD><E0><00><00><CR>
A1<CR>
M<CR>
1911UC000250390P040P040<BD><E1><00><00><CR>
M<CR>
E<CR>
Note: The notation “<xx>” in this DPL file should be interpreted by the reader as representing the hexadecimal
value of the byte sent to the printer.
ILPC-KOREAN Option
The Korean Option is a double-byte scalable font supporting Korean Hangul. 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 - KOREAN
eee Scalable Binary Hex ASCII Code
Font Name
(Font Code) Font Type Addressing Addressing Pages
UH0 Scalable Resident Korean Hangul √ UC
uh0 Scalable Resident Korean Hangul √ UC
u50 - Scalable Non-Resident User defined √
u5z… (download)
u90 - u9z
U50 - Scalable Non-Resident User defined √
U5z... (download)
U90 - U9z
Note: Not all fonts contain an entire compliment of character codes for a given character map.
Sample Korean Hangul DPL file (binary addressing) and the resulting label:
<02>L<CR>
D11<CR>
ySPM<CR>
1911S0003100010P020P015Scalable Korean Available in UC Character Set<CR>
yUUC<CR>
1B110000020017001234567890<CR>
1X1100001900010b0392011000020002<CR>
112200002800030HANGUL CHARACTER’S IN ALL 4 ROTATIONS<CR>
112200002600030Rotation 1<CR>
1911UH002620150P012P012<AC><00><00><00><CR>
1911UH002620205P012P012<AC><65><00><00><CR>
1911UH002620250P012P012<AC><69><00><00><CR>
1911UH002620300P012P012<AC><DF><00><00><CR>
112200002400030Rotation 2<CR>
2911UH002550150P012P012<AC><00><00><00><CR>
2911UH002550205P012P012<AC><65><00><00><CR>
2911UH002550250P012P012<AC><69><00><00><CR>
2911UH002550300P012P012<AC><DF><00><00><CR>
112200002200030Rotation 3<CR>
3911UH002330165P012P012<AC><00><00><00><CR>
3911UH002330220P012P012<AC><65><00><00><CR>
3911UH002330265P012P012<AC><69><00><00><CR>
3911UH002330315P012P012<AC><DF><00><00><CR>
112200002000030Rotation 4<CR>
4911UH001950165P012P012<AC><00><00><00><CR>
4911UH001950215P012P012<AC><65><00><00><CR>
4911UH001950265P012P012<AC><69><00><00><CR>
4911UH001950315P012P012<AC><DF><00><00><CR>
1X1100001100010b0392007500020002<CR>
112200001650030SCALING HANGUL CHARACTERS<CR>
1911UH001200020P010P020<AC><AC><00><00><CR>
1911UH001200050P020P020<AC><AC><00><00><CR>
1911UH001200080P030P020<AC><AC><00><00><CR>
1911UH001200110P040P020<AC><AC><00><00><CR>
1911UH001200145P040P030<AC><AC><00><00><CR>
1911UH001200190P040P040<AC><AC><00><00><CR>
1911UH001200250P040P050<AC><AC><00><00><CR>
1911UH001200320P040P060<AC><AC><00><00><CR>
112200000200010NORMAL INVERSE<CR>
112200000200245 NORMAL MIRROR<CR>
1911UH000450010P040P040<AC><4D><00><00><CR>
1911UH000450245P040P040<AC><15><00><00><CR>
A5<CR>
1911UH000450090P040P040<AC><4D><00><00><CR>
A1<CR>
M<CR>
1911UH000450390P040P040<AC><15><00><00><CR>
M<CR>
E<CR>
Note: The notation “<xx>” in this DPL file should be interpreted by the reader as representing the hexadecimal
value of the byte sent to the printer.
Where:
CMD = Fixed string “DPL”
MDL = Model (valid MDLs are A4212, A4310, A4408, A4606, A6212, A6310, E4203, E4204, E4304,
Ex2, M4206, M4208, M4306, I4206, I4208, I4308, I4210, I4212, I4406, I4604, W6308,
W6208, and W8306)
DES = Description (subject to change with the application [firmware] revision and printer model)
Line Mode
Line Mode allows the printer to respond to raw data from a device that may not be able to send a
complete DPL file. In Line Mode, raw data is directed into replaceable fields in formats, or templates,
stored in the printer.
The printer can be placed in Line Mode via the front panel, as explained in the printer’s Operating
Manual, or by using the <STX>KcEM command (see Extended System-Level Command Functions),
where:
Note: The printer will reset following a change of mode. While in Line Mode, the printer will also respond to DPL
commands; however, special download types (such as firmware updates) should only be sent when the
printer is in DPL mode.
Raw data sent to the printer must be terminated by a carriage return [0x0D].
The host timeout setting (see <STX>KcHT) will determine the maximum waiting period between
data sent. If the timeout value is reached, the label will print using the data received before
timeout occurred.
A form feed [0x0C] may be sent to terminate processing and print the data that has been
received.
Note: E-Class and M-4206 printers also allow the Feed Key to be pressed to terminate the waiting
period and print the data.
Issuing the <STX>Ennnn command (where nnnn represents the print count), allows quantities
of the same label to be printed.
The printer must have a template program loaded. A template is a standard DPL file that ends in a
store format command, instead of the print command (E). The template name must be either
DMXFRM or DMXFRMxx. Using DMXFRMxx, allows multiple templates to be available.
The following sample uses DMXFRM as the template name and stores it to the default module. (The default
module is printer model dependent.)
<STX>L
PG
SG
D11
15110000160001099999999999999999999999999999999999
U
151100001200010FIXED FIELD #1
15110000080001099999999999999999999999999999999999
U
151100000400010FIXED FIELD #2
15110000000001099999999999999999999999999999999999
U
Q0001
sCDMXFRM
To print a label, the attached device now only has to send the data. Sample data in this example is as
follows:
The sample data will print the following label (layout and font are approximations):
FIXED FIELD #1
TEST DATA BBBBBBBBBBBBBBBBBBBBBBBBB
FIXED FIELD #2
TEST DATA CCCCCCCCCCCCCCCCCCCCCCCCC
If multiple labels are needed, data for the labels can be sent at the same time. Sample data for two labels:
The sample data will print the following two labels (layout and font are approximations):
Label 1:
FIXED FIELD #1
TEST DATA BBBBBBBBBBBBBBBBBBBBBBBBB
FIXED FIELD #2
TEST DATA CCCCCCCCCCCCCCCCCCCCCCCCC
Label 2:
FIXED FIELD #1
TEST DATA EEEEEEEEEEEEEEEEEEEEEEEEE
FIXED FIELD #2
TEST DATA FFFFFFFFFFFFFFFFFFFFFFFFF
If a template in the form of DMXFRMxx is used, the data must be preceded by the value of xx. Below is a
sample template for DMXFRMxx:
<STX>L
PG
SG
D11
15110000160001099999999999999999999999999999999999
U
151100001200010FIXED FIELD NUMBER ONE
15110000080001099999999999999999999999999999999999
U
151100000400010FIXED FIELD NUMBER TWO
15110000000001099999999999999999999999999999999999
U
Q0001
sCDMXFRMA1
The RFID programming data can be entered in one of two formats: ASCII, or Hexadecimal. Data in
the ASCII format is entered as conventionally, while data in the hexadecimal format is entered as the
hexadecimal-pairs equivalent of the ASCII character(s). For example, to program the word “TEST” in
the ASCII format, the data is entered as TEST; alternately, in the hexadecimal format the word is
entered as 54455354. The other important consideration is the data format byte count. Compared to
the ASCII format, hexadecimal formats use twice the number of bytes. Returning to the example
above, in the ASCII format “TEST” has a byte count of four, while the hexadecimal format
equivalent has a byte count of eight.
To send information about the results of tag printing back to the host, refer to the <STX>KcOF
command.
Direct Mode
Direct Mode allows the user (host) to directly control the reading and writing of RFID tags. This mode
contains both a generic Read / Write Interface and a high level HF / UHF Tag Interface. In Direct Mode,
each RFID tag is individually processed with status and data responses.
Label Formatting Mode utilizes the current printer configuration to process all reading, writing, and
exception processing for each tag printed. (For exception processing and fault handling, see the
<STX>KcFH command.) The specification for RFID programming is contained in the data fields of the
DPL label format, which instructs the printer to write and read data. Label Formatting Mode supports auto
increment and decrement commands (+/-). The RFID Label Formatting commands are detailed below.
Note: Only one RFID operation per label is allowed.
Wx / W1x: RFID
Syntax for RFID (spaces shown for readability):
a bbb c d eee ffff gggg jj…j
Where:
Field Valid Inputs Meaning
Operation to perform, where:
1 = Read (report to host)
a 1, 2, and 3
2 = Write
3 = Write / Verify
bbb Wnx RFID Hexadecimal Operation, where no ‘n’ is an implied 1.
c 0 Not Used
d 0 Not Used
Lock after write, where:
x = 0 – Use printer setup to determine if lock is performed.
eee xyy x = 1 – Lock after write.
yy = Lock Code, representing a 2-character hex value (UHF
only).
ffff 0000 – 9998 Starting block number to begin writing (HF only).
gggg 0000 Not Used
Valid hexadecimal
pairs per character Data to write to the tag.
jj…j
followed by a Note: UHF must be 16 or 24.
termination character.
The following example encodes an RFID chip, starting at block 001, with “Datamax writes RFID
best”:
<STX>L
D11<CR>
2W1x0000000010000446174616D61782077726974657320524649442062657374<CR>
E
Syntax for RFID with Byte Count Specifier (spaces shown for readability):
a bbb c d eee ffff gggg hhhh jj…j
Where:
Field Valid Inputs Meaning
Operation to perform, where:
1 = Read (report to host)
a 1, 2, and 3
2 = Write
3 = Write / Verify
bbb Wnx RFID Hexadecimal Operation, where no ‘n’ is an implied 1.
c 0 Not Used
d 0 Not Used
Lock after write, where:
x = 0 – Use printer setup to determine if lock is performed.
eee xyy x = 1 – Lock after write.
yy = Lock Code, representing a 2-character hex value (UHF
only).
ffff 0000 – 9998 Starting block number to begin writing (HF only).
gggg 0000 Not Used
Number of bytes to follow (to include all bytes that follow until
Four-digit decimal the end of the data).
hhhh
data byte count.
Note: UHF should be 8 or 12.
The following example encodes an RFID chip, starting at block 001, with “Datamax <CR> writes
RFID best.” It includes a Byte Count Specifier (the portion in bold), where 0024 equals a four-digit
decimal data byte count and includes all bytes that follow until the end of the data. Field termination
is set by the byte count.
<STX>L
D11<CR>
2W1X00000000100000024Datamax<CR>
writes RFID best<CR>
E
backing material The silicon-coated paper carrier material to which labels with adhesive backing are
affixed. Also referred to as “liner”.
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.
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.
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.”
DPL (Datamax Programming Language) programming commands used specifically for control of
and label production in Datamax printers.
feed speed The rate at which the media moves under the printhead in non-printed areas or when the
FEED Key is pressed.
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.
gap A space between die-cut or notched labels used to sense the top-of-form.
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 sensor An electronic device equipped with photosensors to detect media and the top-of-form on
die-cut, notched or reflective media.
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 located beyond the printhead, where the labels exits the printer.
print speed The rate at which the media moves under the printhead during the printing process.
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.
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 “foil”.
slew speed The speed at which the media moves under the printhead in non-printed areas and between
labels using the GPIO function.
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.