Programmer`s Manual
&
Programmer’s Manual
Corporate Headquarters
4501 Parkway Commerce Blvd.
Orlando, Fl 32808
Phone: 407-578-8007
Fax: 407-578-8377
Asia-Pacific
19 Loyang Way
#01-01 CILC Building
Singapore 508724
Phone: +65 542-2611
Fax: +65 542-3611
Datamax International
Herbert House
12 Elizabeth Way, Pinnacles
Harlow, Essex CM19 5FE UK
Phone: +44 1279 772200
Fax: +44 1279 424448
CG Times, based upon Times New Roman under license from the Monotype Corporation
CG Triumvirate is a trademark of the AGFA Corporation
Macintosh is a trademark of the Apple Corporation.
PCL-4 and HP Laser JetII are trademarks of the Hewlett Packard Corporation
Windows is a trademark of the Microsoft Corporation
Information in this manual is subject to change without notice and does not represent a commitment on
the part of Datamax Corporation. No part of this manual may be reproduced or transmitted in any form or
by any means, for any purpose other than the purchaser’s personal use, without the expressed written
permission of Datamax Corporation.
© 2001 by Datamax Corporation
Part Number: 88-2247-01
Revision C
Contents
1.0 Introduction.............................................................................................................. 1
Scope of this Manual ............................................................................................ 1
2.0 Control Codes ......................................................................................................... 3
Attention Getter Functions .................................................................................... 3
3.0 Status & Control Command Functions .................................................................... 5
SOH #
Reset .................................................................................................... 5
SOH A
Send ASCII Status String ..................................................................... 6
SOH B
Toggle Pause ....................................................................................... 6
SOH C
Stop/Cancel .......................................................................................... 7
SOH E
Send Batch Quantity............................................................................. 7
SOH F
Send Status Byte .................................................................................. 8
SOH U
Update System Database with Current Database ................................ 8
4.0 System-Level Command Functions......................................................................... 9
STX A
Set Time and Date................................................................................ 9
STX a
Enable Feedback Characters ............................................................. 10
STX B
Get Printer Time and Date Information............................................... 10
STX c
Set Continuous Paper Length............................................................. 11
STX E
Set Quantity For Stored Label ............................................................ 11
STX e
Select Edge Sensor ............................................................................ 11
STX F
Form Feed .......................................................................................... 11
STX f
Set Form Stop Position (Backfeed Command)................................... 12
STX G
Print Last Label Format ...................................................................... 12
i
STX I
Input Image Data ................................................................................ 13
STX i
Downloading Scalable Fonts .............................................................. 14
STX J
Sets Pause for Each Label ................................................................. 14
STX K
Extended-System Commands ............................................................ 14
STX k
Test RS-232 Port ................................................................................ 15
STX L
Enter Label-Formatting Command ..................................................... 15
STX M
Set Maximum Label Length ................................................................ 15
STX m
Set Printer To Metric........................................................................... 15
STX n
Set Printer to Imperial ......................................................................... 16
STX O
Set Start of Print Position ................................................................... 16
STX o
Cycle Cutter ........................................................................................ 16
STX P
Character Dump Mode ....................................................................... 16
STX p
Controlled Pause ................................................................................ 17
STX Q
Clear All Modules................................................................................ 17
STX q
Clear Module ...................................................................................... 17
STX R
Ribbon Saver On/Off .......................................................................... 18
STX r
Select Reflective Sensor..................................................................... 18
STX S
Set Feed Rate .................................................................................... 18
STX T
Printhead Dot Pattern Test Label ....................................................... 18
STX t
Test RAM Memory Module ................................................................. 19
STX U
Label Format Field Replacement........................................................ 19
STX V
Software Settings................................................................................ 20
STX v
Print Firmware Version Information .................................................... 20
ii
STX W
Request Memory Module Information................................................. 21
STX w
Test Flash Memory Module ................................................................ 21
STX X
Set Default Module ............................................................................. 22
STX x
Delete File from Module...................................................................... 22
STX Y
Output Sensor Values ........................................................................ 23
STX y
Select Font Symbol Set ...................................................................... 23
STX Z
Print Internal Information .................................................................... 24
STX z
Pack Module ....................................................................................... 24
5.0 Extended-System Command Functions ................................................................ 25
STX KC Get Configuration ............................................................................... 26
STX Kc
Configuration Set ................................................................................ 27
STX Kd
Set File as Factory Default ................................................................. 29
STX KE Character Encoding ............................................................................ 30
STX KF Select Factory Defaults....................................................................... 31
STX Kf
Set Present Distance .......................................................................... 32
STX Kp
Module Protection............................................................................... 32
STX KQ Query Memory Configuration.............................................................. 33
STX Kq
Query Memory Configuration (new format)......................................... 34
STX Kr
Resettable Counter Reset .................................................................. 35
STX KV Verifier Enable/Disable ....................................................................... 35
STX Kx
Delete Configuration File .................................................................... 35
6.0 Label-Formatting Command Functions ................................................................. 37
:
Set Cut By Amount ............................................................................. 37
iii
A
Set Format Attribute ........................................................................... 38
B
Barcode Magnification ........................................................................ 39
C
Set Column Offset Amount................................................................. 39
c
Set Cut By Amount ............................................................................. 40
D
Set Dot Size Width and Height ........................................................... 40
E
Terminate Label Formatting Mode and Print Label ............................ 41
e
Recall Printer Configuration................................................................ 41
F
Advance Font Attributes ..................................................................... 41
G
Place Data in Global Register............................................................. 42
H
Enter Heat Setting .............................................................................. 42
M
Select Mirror Mode ............................................................................. 43
m
Set Metric Mode.................................................................................. 43
n
Set Inch Mode .................................................................................... 43
P
Set Print Speed .................................................................................. 44
p
Set Label Backup Speed .................................................................... 44
Q
Set Quantity Of Labels To Print .......................................................... 45
R
Set Row Offset Amount ...................................................................... 45
r
Recall Stored Label Format ................................................................ 46
S
Set Slew Rate ..................................................................................... 47
s
Store Label Format In Module ............................................................ 47
T
Set Field Data Line Terminator........................................................... 48
U
Make Previous Field A String Replace Field....................................... 49
X
Terminate Label-Formatting Mode ..................................................... 49
iv
y
Select Font Symbol Set ...................................................................... 50
z
Zero (Ø) Conversion to “0”.................................................................. 50
+ (>)
Make Last Field Entered Increment Numeric (Alphanumeric) ............ 51
- (<)
Make Last Field Entered Decrement Numeric (Alphanumeric)........... 52
^
Set Count by Amount ......................................................................... 53
Special Label-Formatting Commands ................................................................ 53
STX S
Recall Global Data And Place In Field ..................................... 54
STX T
Print Time and Date ................................................................. 55
7.0 Font-Loading Command Functions ....................................................................... 57
*c###D
Assign Font ID Number ...................................................................... 57
)s###W
Font Descriptor ................................................................................... 57
*c###E
Character Code .................................................................................. 58
(s#W
Character Download Data .................................................................. 58
8.0 Format Record Functions ...................................................................................... 59
Generating Label Formats .................................................................................. 59
Generating Records............................................................................................ 60
The Structure of a Record .................................................................................. 61
Record Structure Types...................................................................................... 64
Internal Bit-Mapped Fonts .................................................................................. 65
Smooth Font, Font Modules, and Downloaded Bit-Mapped Fonts ..................... 65
Scalable Fonts .................................................................................................... 66
Barcodes............................................................................................................. 66
Images ................................................................................................................ 67
v
Graphics ............................................................................................................. 67
Lines and Boxes ................................................................................................. 68
Polygons ............................................................................................................. 69
Circles................................................................................................................. 69
Fill Patterns for Polygons and Circles ................................................................. 70
Graphics Examples............................................................................................. 71
Advanced Format Attributes ............................................................................... 72
Appendix A
ASCII Control Chart ............................................................................................ 75
Appendix B
Sample Programs ............................................................................................... 77
Appendix C
Available Fonts – Sizes, References, and Samples ........................................... 87
Appendix D
Reset Codes ....................................................................................................... 93
Appendix E
Single Byte Symbol Sets .................................................................................... 95
Appendix F
Barcode Summary Data ................................................................................... 105
Barcode Default Widths and Heights................................................................ 106
Appendix G
Barcode Details ................................................................................................ 107
Appendix H
Font Mapping - Single and Double Byte Characters......................................... 135
vi
Appendix I
Symbol Sets, Character Maps and Symbol Set Selection ................................ 137
Double-Byte Symbols, Chinese, Kanji and Korean........................................... 139
Appendix J
GPIO Port Connections, Functions and Specifications..................................... 141
Appendix K
Print Resolutions, Module Identifiers, Field, Column & Character Values ........ 143
Appendix L
Printer Speed Ranges ...................................................................................... 145
Appendix M
Commands by Function.................................................................................... 147
Appendix N
I & W Class DPL Constraint Cross-Reference ................................................. 149
Appendix O
Image Loading .................................................................................................. 151
Appendix P
UPC-A and EAN-13: Variable Price/Weight Barcodes ..................................... 153
Appendix Q
International Language Print Capability (ILPC) Programming Examples ......... 155
Appendix R
Plug and Play IDs ............................................................................................. 163
Appendix S
Barcode Symbology Information Sources......................................................... 165
vii
viii
1.0
Introduction
Scope of this Manual
This manual is intended for programmers who wish to create their own label production software.
Operators without programming experience may prefer to use a label-creation software package.
This manual, arranged alphabetically by command, explains in detail the Datamax Programming
Language (DPL) and its related uses in the writing, loading and storing of programs for the control and
production of label formats using Datamax I-Class and W-Class printers. The appendices contain details
that cannot be ignored. Use of any command will require checking the appendices for possible
exclusionary conditions.
; Notes: (1) The commands in this manual apply to printer Application (firmware) Version 6.06 or
greater (see <STX>KC for more information).
(2) This manual refers to IBM-PC based keyboard command characters for access to the
ASCII character set. Systems based on different formats, (e.g., Apple’s Macintosh),
should use the appropriate keyboard command to access the desired ASCII character.
Appendix A contains the entire ASCII character set.
(3) <CR> is used to identify the line termination character. Other strings placed between < > in
this document represent the character of the same ASCII name.
(4) Programming information for other Datamax printers can be found in the DPL
Programmer’s Manual (part number 88-2051-01). For backward compatibility purposes, the
I & W Class Series of printers will ignore commands no longer processed. Appendix N lists
these commands.
(5) References to ‘menu settings’ refer to the printer’s menu driven display system; please
consult to the appropriate Operator’s Manual for details.
The four main command types used to create labels and control the printer are:
1. Status & Control Commands:
Performs status queries and printer control commands.
2. System-Level Commands:
Controls printer hardware, allows scalable font and image
downloading, and includes Extended-System Commands.
3. Label-Formatting Commands: Controls the position of text and images on the media. The
label format termination commands can selectively store, print
and end the formatting process.
4. Font-Loading Commands:
I & W Class Programmer’s Manual
Downloads font data in PCL-4 compatible bit-maps.
1
Introduction
2
I & W Class Programmer’s Manual
2.0 Control Codes
Attention Getter Functions
The printer requires a special “attention getter” character in order to receive a command sequence. This
informs the printer that it is about to receive a command and the type of command it will be. Status and
Control Commands, System-Level Commands, and Font-Loading Commands have their own unique
attention getter, followed by a command character that directs printer action.
ASCII Character
SOH
STX
ESC
Decimal Value
1
2
27
HEX Value
01
02
1B
Command Type
Status and Control
System-Level
Font-Loading
Table 2-1: Control Codes
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. An
alternate set is shown below. This set is enabled via the printer’s menu.
Control Character
SOH
STX
CR
ESC
“Count By”[1]
1
Standard
0x01
0x02
0x0D
0x1B
0x5E
Alternate
0x5E
0x7E
0x0D
0x1B
0x40
Alternate 2
0x5E
0x7E
0x7C
0x1B
0x40
Alternate 3
0x5E
0x23
0x0D
0x1B
0x40
Command Type
Status and Control
System-Level
Line Termination
Font-Loading
Label Formatting
See Label-Formatting Commands, ^ set count by amount.
Table 2-2: Alternate Control Codes
; 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.
I & W Class Programmer’s Manual
3
Control Codes
4
I & W Class Programmer’s Manual
3.0 Status & Control Commands <SOH>
Status & Control Command Functions
When the printer receives a Status and Control Command, its current operation will be momentarily
interrupted to respond to the command. Status and Control Commands may be issued before or after
System-Level Commands; however, they cannot be issued among (a) Label-Formatting Commands, (b)
during font downloading, or (c) during image downloading. Status and Control Commands consist of:
1. Attention Getter, 0x01 or 0x5E, see Control Codes.
2. Command Character
3. Parameters (if any).
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 the internal RAM memory. See
Appendix K.
Syntax:
<SOH>#
Sample:
<SOH>#
Printer Response:
The printer will reset.
<XON> T
(The T may come before the <XON>)
I & W Class Programmer’s Manual
5
Status & Control Commands
SOH A
Send ASCII Status String
This command allows the host computer to check the current printer status. The printer returns a
string of eight characters to the host, followed by a carriage return, see table below. Each character is
either a ‘Y’ or ‘N’ indicating that the associated condition is true (Y) or false (N). Byte 1 is the first
character transmitted by the printer. See <SOH>F.
Syntax:
<SOH>A
Sample:
<SOH>A
Printer Response:
abcdefgh<CR>
Where:
Byte
1
2
3
4
5
6
7
8
a
b
c
d
e
f
g
h
Character Y/N
=
Y/N
=
Y/N
=
Y/N
=
Y/N
=
Y/N
=
Y/N
=
Y/N
=
N
Condition
Y =
Interpreter busy (Imaging)
Y =
Paper out or fault
Y =
Ribbon out or fault
Y =
Printing batch
Y =
Busy printing
Y =
Printer paused
Y =
Label presented
Always No
Table 3-1: ASCII Status Bytes
SOH B
Toggle Pause
This command toggles the printer’s paused state on and off. (This is the same function achieved
when pressing the PAUSE button on the printer.)
Syntax:
<SOH>B
Sample:
<SOH>B
Printer Response:
This command will illuminate the pause/stop indicator, suspend printing
and wait until one of the following happens:
¾ The <SOH>B command is sent to the printer.
¾ The <STX>p command is sent to the printer.
¾ The PAUSE button is pressed.
Upon which it will turn the pause/stop indicator off and resume operation
from the point of interruption.
6
I & W Class Programmer’s Manual
Status & Control Commands
SOH C
Stop/Cancel
This command performs the same function as pressing the STOP/CANCEL button on the printer’s
front panel. This function clears the current label format from the print buffer, pauses the printer, and
illuminates the pause/stop indicator.
Syntax:
<SOH>C
Sample:
<SOH>C
Printer Response:
The pause condition is terminated as described under <SOH>B.
SOH E
Send Batch Quantity
This command causes the printer to send back a 4-digit number indicating the quantity of labels left
to print in the current batch, followed by a carriage return. Communications latency may cause this
value to be higher than actual on some printers.
Syntax:
<SOH>E
Sample:
<SOH>E
Printer Response:
nnnn<CR>
Where:
nnnn
I & W Class Programmer's Manual
- Is four decimal digits, 0-9999.
7
Status & Control Commands
SOH F
Send Status Byte
This command instructs the printer to send a single status byte where each bit (1 or 0) represents one
of the printer’s status flags, followed by a carriage return, see table below. If an option is unavailable
for the printer, the single bit will always be 0. A satisfied condition equals 1. See <SOH>A.
Syntax:
<SOH>F
Sample:
<SOH>F
Printer Response:
X<CR>
Where:
Bit
8
7
6
5
4
3
2
1
Value
0
1 or 0
1 or 0
1 or 0
1 or 0
1 or 0
1 or 0
1 or 0
Condition
Always zero
Label presented
Printer paused
Busy printing
Printing batch
Ribbon out or Fault
Paper out or Fault
Command interpreter busy (Imaging)
Table 3-2: Status Byte
; Note:
SOH U
One is the least significant bit (LSB).
Update System Database with Current Database
This command will copy the current User database into the system database. There are various DPL
commands that modify the configuration of the printer. See the <STX>K…command for specifics on
how these commands function. The user should send the <SOH>U command after these
configuration commands so that these commands can take affect. This command will cause the
printer to reset. See the <SOH># command above for details on what events occur during a reset.
8
Syntax:
<SOH>U
Sample:
<SOH>U
Printer Response:
The printer will reset.
<XON>T
(The T may come before the <XON>).
I & W Class Programmer’s Manual
4.0
System-Level Commands <STX>
System-Level Command Functions
The most commonly used commands are the System-Level Commands. Performed in the sequence received,
these are used to load and store graphic information, in addition to printer control. System-Level Commands
are used to override default parameter values (fixed and selectable) and may be used before or after Status
and Control Commands, but cannot be issued among Label-Formatting Commands. Selectable parameter
values may be assigned via menu selections. Printer menu-selectable parameters are provided in the
Operator’s Manual.
System-Level Commands consist of:
1. Attention Getter, 0x02 or 0x7E, see Control Codes.
2. Command Character
3. Parameters (if any).
STX A
Set Time and Date
This command sets the time and date. The initial setting of the date will be stored in the printer’s
internal memory. This date can be verified by printing a configuration label.
Syntax:
<STX>AwmmddyyyyhhMMjjj
Sample:
<STX>A6070319990855000
Printed Response:
SAT JUL 3, 1999, 8:55AM, 185 (185th day of the year).
Where:
w
mm
dd
yyyy
hh
MM
jjj
1 digit for day of week; 1 = Monday
2 digits for month
2 digits for day
4 digits for year
2 digits for hour in 24 hour format
2 digits for minutes
3 digits for Julian date / constant (see notes below)
; Notes: (1) Time can also be set via the menu.
(2) Printers without the Time/Date Option lose the set time/date when power is removed.
(3) Sending the printer a non-zero Julian date will freeze the Julian date.
(4) Response format is variable, see Special Label-Formatting Command<STX>T.
I & W Class Programmer’s Manual
9
System-Level Commands
STX a
Enable Feedback Characters
This command enables the feedback ASCII HEX characters 07, 1E, and 1F to be returned from the
printer following specific events. For printers without menu driven operator panels, the default value is
‘Off’.
Syntax:
<STX>a
Sample:
<STX>a
Printer response is event dependent:
Where:
Event
Invalid character
Label printed
End of batch
Printer Transmits
(BEL) 0x07
(RS) 0x1E
(US) 0x1F
Table 4-1: Printer Return Characters
STX B
Get Printer Time and Date Information
This command retrieves the time and date information from the printer and transmits the response to a
host device. See <STX>A for details and restrictions.
Syntax:
<STX>B
Sample:
<STX>B
Printer Response Syntax: wmmddyyyyhhMMjjj <CR>
Where:
w
mm
dd
yyyy
hh
MM
jjj
1 digit for day of week; 1 = Monday
2 digits for month
2 digits for day
4 digits for year
2 digits for hour in 24 hour format
2 digits for minutes
3 digits for Julian date / constant*
*See <STX>A
Printer Response Sample: 6070319990855185 <CR>
10
I & W Class Programmer’s Manual
System-Level Commands
STX c
Set Continuous Paper Length
This command is used to define the page (label) size when printing on continuous media. It disables the
media sensor top-of-form function but continues to monitor paper-out conditions. See <STX>M.
Syntax:
<STX>cnnnn
Where:
nnnn
Sample:
<STX>c0100
-
Is in inches/100 or millimeters/10 (see <STX>m), the length of
the paper feed for each label format. It must be set to zero for
edge or reflective top-of-form operation.
This sample sets a page length of 100, which equals 1.00 inch (assuming Imperial Mode is selected).
STX E
Set Quantity For Stored Label
This command sets the number of labels to print for the label format currently stored in the print buffer.
(The printer automatically stores the most recent label format in the buffer until the printer is reset or
turned ‘Off’.) To print, this command is used in conjunction with the <STX>G command.
Syntax:
<STX>Ennnn
Where:
nnnn
Sample:
<STX>E0025
<STX>G
Printer Response:
25 labels of the current format in memory will be printed.
-
A four-digit quantity, including leading zeros.
; Note: This command may be issued prior to a label format without a specified quantity (Qnnn).
STX e
Select Edge Sensor
This command enables “see-through” sensing for top-of-form detection of die-cut and notched media.
The printer’s transmissive media sensor will detect a minimum gap of 0.1 inches (2.54mm) between
labels. Label stock must be at least 0.5 inches (12.7mm) between each top-of-form (start of print point
on the next label).
Syntax:
<STX>e
; Notes: (1) This command is ignored when <STX>c has been issued with a non-zero value for nnnn.
(2) See the <STX>r command for reflective sensing.
STX F
Form Feed
This commands the printer to form feed one label.
Syntax:
<STX>F
I & W Class Programmer's Manual
11
System-Level Commands
STX f
Set Form Stop Position (Backfeed Command)
This command sets the stop position of the printed label relative to the selected SOP Emulation,
allowing the label to stop at a point past the start-of-print position. When the next label format is sent,
the printer automatically withdraws (reverses) the media to the start-of-print position. If quantities of
more than one label are requested, the printer will operate without backfeeding. Backfeed will then only
occur when printing has stopped for a few seconds. If the SOP Emulation is set to ‘Disabled’, this
command is ignored (SOP Emulation may be enabled and selected using the printer’s Menu System).
Syntax:
<STX>Onnnn
Where:
nnnn
-
Sample:
<STX>f210
Is a four-digit offset value in inches/100 or mm/10. The “zero”
setting is default.
The above sample will print 1.00 past of the start of print distance when the
SOP Emulation is selected to 110 (Prodigy Plus).
STX G
Print Last Label Format
This command prints a previously formatted label and restarts a canceled batch job after the last
processed label. This is used when there is a label format in the print buffer. The <STX>E command is
used to enter the quantity.
Syntax:
12
<STX>G
I & W Class Programmer’s Manual
System-Level Commands
STX I
Input Image Data
This command must precede image data downloading from a host computer to the printer. The data that
immediately follows the command string will be image data. See Appendix O for more information. To
print the image, see Generating Label Formats.
Syntax:
<STX>Iabfnn…n<CR>data
Where:
a
-
Memory Module Bank Select, A-D (see Appendix K)
b
-
Data value range (optional), A or omit (see Table 4-3).
b Value
A
omitted
Image Data Value Range
ASCII Characters 0-9, A-F, (7 bit)
00-FF, (8 bit)
Table 4-3: Image Data Values
f
-
f Designator
F
B
b
I
i
P
p
Image format (see Table 4-4).
Format
7-bit Datamax image load file
.BMP 8-bit format (image will be flipped), black & white
.BMP 8-bit format (save image as received), black & white
.IMG 8-bit format (image will be flipped), black & white
.IMG 8-bit format (save image as received), black & white
.PCX 8-bit format (image will be flipped), black & white
.PCX 8-bit format (save image as received), black & white
Table 4-4: Image Data Formats
Sample:
nn…n
-
Up to 16 characters used as an image name;
<CR>
-
0x0d terminates the name.
data
-
Image data
<STX>IDpTest <CR>
data...data<CR>
The sample sets 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.
I & W Class Programmer's Manual
13
System-Level Commands
STX i
Downloading Scalable Fonts
The command structure for downloading both IntelliFont (.CDI) and TrueType (.TTF) scalable fonts
follows, (font files may be single or double byte character systems).
Syntax:
<STX>imtnnName<CR>xxxxxxxxdata...
Where:
m
-
Module ID to save this font to (‘A’, ‘B’, ‘C’, ‘D’)
t
-
Type of scalable font being downloaded:
¾ ‘I’ - IntelliFont
¾ ‘T’ - TrueType
nn
-
Two-digit font reference ID. Valid range is 50-99, 9A-9Z, 9a-9z
(base 62 numbers).
Name
-
The title, up to 16 characters, for this font.
<CR>
-
0x0d terminates the name.
xx…x
-
Eight-digit size of the font data, number of bytes, hexadecimal,
padded with leading zeros.
data
-
The scalable font data.
Sample:
<STX>iDT52Tree Frog<CR>000087C2data...
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.
STX J
Sets Pause for Each Label
This command causes the printer to pause after printing each label and is intended for use with the
optional Peel and Present Mechanism or with a Tear Bar when no Present Sensor is installed. After
removing the printed label, the PAUSE button must be pushed in order to print the next label. (The
printer must be reset to clear the <STX >J command.)
Syntax:
STX K
<STX>J
Extended-System Commands
This expands the System-Level Commands. See the Extended-System Commands for more information.
14
I & W Class Programmer’s Manual
System-Level Commands
STX k
Test RS-232 Port
This command instructs the printer to transmit the character Y from the printer’s RS-232 port. (Failure
to receive Y could indicate an interfacing problem.)
Syntax:
<STX>k
Sample:
<STX>k
Printer Response:
Y
STX L
Enter Label-Formatting Command
This command switches the printer to the Label-Formatting command input mode. Once in this mode,
the printer expects to receive Record Structures and Label-Formatting commands. Status and Control,
System-Level, and Font-Loading commands will be ignored until the label formatting mode is
terminated with E, s, or X, (see Label-Formatting Commands for additional information.)
Syntax:
STX M
<STX>L
Set Maximum Label Length
This command instructs the printer to travel this distance in search of top-of-form (label edge, notch,
black mark, etc.) before declaring a paper out fault. The fault condition can occur if this value is set too
close to the physical length of the label (within 0.1inch/2.54mm). Therefore, it is good practice to set
this value at 2.5 to 3 times the actual label length used. The minimum value should be at least 5”
(127mm).
Syntax:
<STX>Mnnnn
Where:
nnnn
Default:
12 inches/304.8mm
Sample:
<STX>M0500
-
A 4-digit length, 0000-9999, in/100 or mm/10. Maximum
setting is 9999 (99.99 inches or 2540mm).
The sample sets a maximum travel distance of 5 inches (unless printer is in metric mode, see <STX>m).
STX m
Set Printer To Metric
This command sets the printer to interpret measurements as metric values (e.g., <STX>c0100 will equal
10.0mm). See <STX>n.
Syntax:
<STX>m
Default:
Imperial (Inches)
I & W Class Programmer's Manual
15
System-Level Commands
STX n
Set Printer to Imperial (Inches)
This command sets the printer to interpret measurements as Imperial values (e.g., <STX>c0100 will
equal 1.00 inch). See <STX>m.
Syntax:
<STX>n
Default:
Imperial (Inches)
STX O
Set Start of Print (SOP) Position
This command sets the point where printing starts relative to the selected SOP Emulation (SOP
Emulation may be enabled and selected using the printer’s Menu System). The position specified by this
command emulates a selected legacy printer’s distance, as measured between the Media Sensor and the
Printhead burn line. This value is independent of the <STX>f command. If the SOP Emulation is set to
‘Disabled’, this command is ignored.
; Note:
Syntax:
The Menu System – PRINT CONTROL / CUSTOM ADJUSTMENTS / ROW ADJUST
parameter is intended to fine-tune the start of print position.
<STX>Onnnn
Where:
nnnn
-
Sample:
<STX>O0210
Is a four-digit offset value in inches/100 or mm/10. The “zero”
setting is default.
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.
STX o
Cycle Cutter
This command will immediately cycle the cutter blade on the option Cutter Mechanism. The Cutter
must be installed, enabled and the interlocks closed for operation.
Syntax:
STX P
<STX>o
Character (HEX) Dump Mode
This command instructs the printer to enter the Character Hex Dump Mode (ASCII Dump / “monitor
mode”). All data sent to the printer following this command will be printed in the raw ASCII format.
Labels must be at least four inches (102mm) long and as wide as the maximum print width. This
command has the same effect as turning the printer ‘On’ while pressing the FEED button; in this case
however, a Configuration and Test label will be printed. To return to normal operation, the printer must
be manually reset.
Syntax:
16
<STX>P
I & W Class Programmer’s Manual
System-Level Commands
STX p
Controlled Pause
The controlled pause command will cause the printer to pause only after all previously received
commands are executed. This is often useful between label batches. (This command will not clear the
pause condition, see <SOH>B).
Syntax:
STX Q
<STX>p
Clear All Modules
This command instructs the printer to clear all of the Flash, RAM, and Internal Modules (see the
Operator’s Manual of the corresponding printer for applicable module options).
Syntax:
STX q
<STX>Q
Clear Module
This command clears the selected memory module (Flash or RAM). If a module is corrupted during
normal operations, it must be cleared. A corrupt module is identified when the printer responds with a
‘No Modules Available’ message to a <STX>W (request memory module information command).
Syntax:
<STX>qa
Where:
a
Sample:
<STX>qA
-
Memory module bank select, A-D
The sample clears memory module A.
; 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. However, before concluding that a module is defective, cycle the
printer’s power and test the module.
(2) Turn ‘Off’ the Write Protect Switch on Flash Modules before using this command.
I & W Class Programmer's Manual
17
System-Level Commands
STX R
Ribbon Saver On/Off
This is the only command used for the optional Ribbon Saver. This does not instruct the Ribbon Saver
when to engage, rather it turns the operation ‘On’ or ‘Off’. The option will operate automatically, lifting
when the minimum amount of label white space is exceeded. The operation is continuous when enabled.
The printer must be set to thermal transfer (ribbon) printing mode.
; Note: This command is ignored on units not equipped with the ribbon saver option.
Syntax:
<STX>Rx
Where:
x
Sample:
<STX>RN
-
Y - Enabled (Default = Menu selection.)
N - Disabled
The sample will turn the ribbon saver off.
STX r
Select Reflective Sensor
This command selects the reflective media sensor for top-of-form detection of reflective stock (e.g., fanfolded tags with carbon-based black marks printed along the underside of the media). The end of the
black mark determines label TOF. Labels must be at least 0.5” (13mm) between each TOF mark. (The
<STX>e command switches from reflective back to edge sensing).
Syntax:
<STX>r
Default setting:
Edge sensing
STX S
Set Feed Rate
This command determines the feed rate of the media when the printer’s FEED button is pressed.
Syntax:
<STX> Sn
Where:
n
STX T
-
Is a letter value from A to S (see Appendix L).
Printhead Dot Pattern Test Label
This command instructs the printer to print a dot pattern test label. To view all dots, the labels must be
at least four inches (102mm) long and as wide as the maximum print width.
Syntax:
18
<STX>T
I & W Class Programmer’s Manual
System-Level Commands
STX t
Test RAM Memory Module
This command tests all RAM modules; however, the printer must be in feedback mode for the command
to function. The printer returns a one-line message stating whether the module is good or bad, (no
message is returned if a module is unavailable). Feedback mode can be enabled via the menu (see the
corresponding Operator’s Manual for additional information).
Syntax:
<STX>t
Printer Response:
Module A: xxxxK
Module B: xxxxK
Module D: xxxxK
Ram Tested results<CR>
Ram Tested results<CR>
Ram Tested results<CR>
Where:
xxxx
Module size in Kbytes.
Results:
Module test results: ‘Good’ or ‘Bad’.
STX U
-
Label Format Field Replacement
This command places new label data into format fields. Format fields are used to build a label. The new
data string must equal the original string length and contain valid data. To easily keep track of fields,
place all of the fields to be updated with the command at the beginning of the label format. A maximum
of 99 format fields can be updated. Fields are numbered consecutively 01 to 99, in the order received.
Syntax:
<STX>Unnss..s<CR>
Where:
nn
-
Is the format field number, 2 digits.
ss..s
-
Is the new string data followed by a <CR>
Sample:
<STX>L
161100001000100data field 1<CR>
161100001100110data field 2<CR>
161100001200120data field 3<CR>
Q0001
E
<STX>U01New data F1<CR>
<STX>U02New data F2<CR>
<STX>E0002
<STX>G
The sample results in three printed labels. The first label 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).
I & W Class Programmer's Manual
19
System-Level Commands
STX V
Software Settings
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. Choosing the appropriate
values allow the option(s) to be turned ‘On’ or ‘Off’. Each has a corresponding bit whose value is 1
when enabled. The bit value tables indicate the command value for the desired bit, see below.
Syntax:
<STX>Vn
Where:
n
Sample:
<STX>V5
-
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.
The sample corresponds to setting Bits 0 and 2. When applied, this sets the printer to the following:
“Label Present ‘On’; Cutter Enabled.”
Bit Assignment
0
1
2
3
Options
Cutter
N/A
Label Present
N/A
Table 4-5: Bit Assignment Table
Use the bit assignment table above to determine the command value n in the binary table below.
Example: a command value of 1 will set bit 0.
Value
n
0
1
2
3
4
5
6
7
3
0
0
0
0
0
0
0
0
Command Values for Bits Assigned
Bit
Value
2
1
0
n
3
0
0
0
8
1
0
0
1
9
1
0
1
0
A
1
0
1
1
B
1
1
0
0
C
1
1
0
1
D
1
1
1
0
E
1
1
1
1
F
1
Bit
2
0
0
0
0
1
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
Table 4-6: Value Assignments
STX v
Print Firmware Version Information
This command causes the printer to respond by sending a version string. The version may be different
from printer to printer (this data is the same as that printed on the configuration label).
20
Syntax:
<STX>v
Printer Response:
VER: 4308 – 06.06 07/09/2001<CR>
I & W Class Programmer’s Manual
System-Level Commands
STX W
Request Memory Module Information
This command requests a directory listing for memory module(s). Although a module can store font,
graphics and format data together, it can display only one type of information at a time. If the module
contains all three types of data, it will be necessary to check the directory three times, using each of the
control parameters, F, G, and L, to determine the contents.
Syntax:
<STX>Wa
Where:
a
Sample:
<STX>WG
Printer Response*:
MODULE: D<CR>
LOGO<CR>
CAM<CR>
AVAILABLE BYTES IN MODULE: 00049083<CR>
-
F = Font data
G = Graphic data
L = Format data
*The response shows Module D contains two graphic image files, LOGO and CAM, with 49083 bytes
remaining free.
STX w
Test Flash Memory Module
This command performs a test sequence on flash memory modules; however, the time for each test will
vary (from 20 seconds up to two minutes), depending on the size of the module. The module must have
the write protect switch ‘Off’ for testing; all stored data will be destroyed. The printer responds with
‘good’ or ‘bad’ message results for each module tested. (No modules present will result in no printer
response.)
Syntax:
<STX>wa
Printer response format: Module a: xxxxK Flash test results.
Where:
a
-
Module = A or B
xxxx
-
Module size in Kilobytes
results
-
Test results: ‘Good’ or ‘Bad’
I & W Class Programmer's Manual
21
System-Level Commands
STX X
Set Default Module
This command is used when downloading information to a module memory. It is designed to allow the
user to select between modules. If ‘C’ is entered to select a memory bank, the data will go to the bank
set by this command (Set Default Module). If the printer uses only one bank, this command is not
required.
; Note:
This is typically used prior to loading of PCL-4 bit-mapped fonts (see Font-Loading
Commands).
Syntax:
<STX>Xa
Where:
a
Sample:
<STX>XB
-
A, B, C, D; memory module designator (See Appendix K)
The sample sets the printer’s default module to memory module B.
The default module is one of the following:
1. The first alpha designator of existing modules, if items 2 or 3 have not occurred.
2. The most recent module to be inserted while the power is on.
3. The module selected by this command.
STX x
Delete File from Module
This command removes a specific file from the specified module. The file name is removed from the
module directory and thus the file cannot be accessed. The actual storage space occupied by the file is
not released. The pack command can be issued to reclaim all deleted file storage space, (see <STX>z).
22
Syntax:
<STX>xmtnn…n<CR>
Where:
m
-
The module identification character, A – D (see Appendix K).
t
-
The file type identification code:
‘G’ = Graphic (Image) file type
‘L’ = Label Format file type
‘F’ = Bit-Mapped file type
‘S’ = Smooth Scalable Font file type
nn…n
-
The file name to delete, up to 16 characters for graphic (image)
or label format files, three digits for bit-mapped font files, and
two digits for smooth scalable font files.
I & W Class Programmer’s Manual
System-Level Commands
STX Y
Output Sensor Values
This command causes the printer to respond with the sensor value status. The printer must be in
feedback mode (menu setting). When <STX>Y is received, the printer will respond with the internal AD sensor values, see table below. To repeat the display of values, send the printer a ‘SPACE’ (20
hexadecimal). Send <ESC> to terminate the function.
Syntax:
<STX>Y
Sample:
<STX>Y
Printer Response:
THR-131; TRAN-141; RIBM-069; 24V-145; PS-007; HD-147; RANK128<CR>
Where:
Abbreviation
THR
TRAN (or REFL)
RIBM
24V
PS
HD
RANK
Sensor Output
Printhead Thermistor
Transmissive or Reflective Media Sensor
Ribbon Motion Detector
24 Volt DC Power Supply output
Present Sensor
Printhead Position Sensor (Head Down)
Printhead Ranking Resistance
Table 4-7: Printer Sensor Outputs
STX y
Select Font Symbol Set
This command selects the scalable font symbol set. The selected symbol set remains active until another
symbol set is selected. See Appendices E, I, and H for details. Option dependant. Not all symbol sets
can be used with all fonts.
Syntax:
<STX>ySxx
Where:
S
-
Byte-size designation; see Appendix H:
S = Single byte symbol sets.
U = Double byte symbol sets.
xx
-
Symbol set selection.
Sample:
<STX>ySPM
The sample selects the PC-850 multilingual set.
I & W Class Programmer's Manual
23
System-Level Commands
STX Z
Print Internal Information
This command prints the configuration. To capture all printed information, use labels as wide as the
print width and at least 4 inches (102mm) long.
Syntax:
STX z
<STX>Z
Pack Module
This command causes the printer to reclaim all storage space associated with all deleted files on the
specified module. A Flash Module cannot be packed.
24
Syntax:
<STX>zm
Where:
M
-
The module identification character, A-D. (See Appendix K,
<STX>X, and <STX>x for additional information.)
I & W Class Programmer’s Manual
5.0 Extended-System Commands <STX>K
Extended-System Command Functions
Extended-System Commands expand certain System-Level Commands, providing extra printer control.
Extended-System Commands are issued in the same context as System-Level Commands.
Command
Get Configuration
Set Configuration
Set File as Factory Defaults
Character Encoding
Select Factory Defaults
Set Present Distance
Query Memory Configuration
Query Memory Configuration (new format)
Module Protection
Reset Internal Counters
Verifier Enable/Disable
Delete Configuration File
Command Character
C
c
d
E
F
f
Q
q
P
r
V
x
Table 5-1: Command Characters
I & W Class Programmer’s Manual
25
Extended-System Commands
STX KC
Get Configuration
This command returns the configuration of the printer. The form of the returned data is similar to that
of a printed Configuration Label. This command should be Parsed by KEYWORDS, not by
Character POSITIONS. Each line is terminated by a CR (0x0d) & LF (0x0a). Datamax will
make every effort to keep Keyword consistent.
Syntax:
<STX>KC
Sample:
<STX>KC
The printer responds back with:
CONFIGURATION
TUE 02:01PM
01AUG2001
PRINTER KEY:
4308-TB10-010327494
APPLICATION
VERSION:
83-2284-06E
06.06 07/09/2001
BOOT LOADER:
83-2269-03D 03.04
10/30/2000
SYSTEM
INFORMATION
PRINT BUFFER
SIZE:
280 in.
FLASH SIZE:
4 MB
RAM TEST:
PASS
OPTIONAL
LANGUAGES:
FRANCAIS
ITALIANO
DEUTSCH
ESPAÑOL
CONFIGURATION
FILE:
NONE
MEDIA SETTINGS
MEDIA TYPE
THERMAL TRANSFER
SENSOR TYPE
GAP
LABEL LENGTH
04.00 in.
MAXIMUM LABEL
LENGTH
•30.00 in.
PAPER OUT
DISTANCE
00.25 in.
LABEL WIDTH
4.16 in.
SENSOR
CALIBRATION
PAPER SENSOR
LEVEL
144
GAP SENSOR LEVEL
30
EMPTY SENSOR
LEVEL
26
0
SENSOR GAIN
10
PRINT CONTROL
HEAT
10
PRINT SPEED
6.0in/sec
FEED SPEED
6.0in/sec
REVERSE SPEED
4.0in/sec
ROW OFFSET
00.00 in.
COLUMN OFFSET
00.00 in.
PRESENT DISTANCE
0.00 in.
CUSTOM
ADJUSTMENTS:
DARKNESS
32
ROW ADJUST
64 DOTS
COLUMN ADJUST
0 DOTS
PRESENT ADJUST
64 DOTS
PRINTER OPTIONS
MODULES
A: NOT INSTALLED
B: NOT INSTALLED
D: FORMATTED
F: NOT INSTALLED
G: FORMATTED
X: FORMATTED
Y: 83-2296-01C
Z: NOT INSTALLED
PRESENT SENSOR
NOT INSTALLED
CUTTER
NOT INSTALLED
GPIO PORT:
NOT INSTALLED
SYSTEM SETTINGS
FACTORY SETTING
FILE
NONE
INTERNAL MODULE
1024 KB
DEFAULT MODULE
D
SCALEABLE FONT
CACHE
312 KB
SINGLE BYTE
SYMBOLS
PC-850
MULTILINGUAL
DOUBLE BYTE
SYMBOLS
UNICODE
ABSOLUTE COUNTER
3782 in.
27MAR2001
RESETTABLE
COUNTER
205 in.
27MAR2001
FORMAT ATTRIBUTES
XOR
IMAGING MODE
MULTIPLE LABEL
PAUSE MODE
DISABLED
SELECT SECURITY
DISABLED
PEEL MODE
DISABLED
UNITS OF MEASURE
IMPERIAL
SOP EMULATION
DISABLED
BACK AFTER PRINT
DISABLED
MENU LANGUAGE
ENGLISH
COMMUNICATIONS
SERIAL PORT A:
BAUD RATE
9600 BPS
PROTOCOL
BOTH
PARITY
NONE
DATA BITS
8
STOP BITS
1
SERIAL PORT B:
NOT INSTALLED
PARALLEL PORT A:
PORT DIRECTION
UNI-DIRECTIONAL
PORT STATUS
DISABLED
PARALLEL PORT B:
PORT DIRECTION
BI-DIRECTIONAL
PORT STATUS
DISABLED
NIC ADAPTER:
DMXNET INACTIVE
HOST SETTINGS:
HOST TIMEOUT
10 SEC
CONTROL CODES
STANDARD CODES
FEEDBACK
CHARACTERS
DISABLED
ESC SEQUENCES
ENABLED
HEAT COMMAND
ENABLED
SPEED COMMANDS
ENABLED
DIAGNOSTICS
HEX DUMP MODE
DISABLED
PRINT TEST
RATE(min)
0
SENSOR READINGS
THR TRAN RIBM 24V
132 141 159
178
PS HD RANK
000 254 000
RIBBON SENSOR
LIMITS
RIBBON ADC LOW
105
RIBBON ADC HIGH
182
END OF LIST
I & W Class Programmer’s Manual
Extended-System Commands
STX Kc
Configuration Set
This command specifies the Power-up Configuration parameter values for the printer. It is equivalent
to using other system commands followed by the <SOH>U. The printer will reset upon completion of
a command stream containing parameter value changes; no commands should be sent to the printer
until this reset is complete. This command is intended for easily configuring a custom setup, not
for dynamic configuration changes. The following are highlights of this command:
•
•
•
•
•
•
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 sent are stored in non-volatile memory for Power-up Configuration.
All values remain in effect until new values are received or until factory defaults are restored.
Should system commands be sent that override the Power-up Configuration value(s), the Powerup Configuration value(s) will be restored the next time the printer is powered ‘On’ or reset.
The parameters are the same as those found in the printer’s Menu System. The respective
functions are documented in the appropriate Operator’s or Maintenance Manual.
; Note: Illegal or out of range parameter values may have unpredictable results.
Syntax:
<STX>Kcaa1val1[;aaIvalI][;aanvaln]<CR>
Where:
aa1, aaI, aan
-
are two letter parameter names
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.
Parameter Name
Parameter
Pneumonic
Value Range
Units / Interpretation
BA
BS or bS
Y, N
2 Byte alpha
character
Y, N
C–Z
Column Adjust
Control Codes
CA
CC
0 – 128
S, 1, 2, 3
Cutter Equip
Continuous Label Length
Column Offset
DPI Emulation
Darkness
Default Module
Delay Rate (quick test prints)
Double Byte Symbol Set
CE
CL
CO
DE
DK
DM
DR
DS
Y, N
0 – 9999
0 – 9999
200, 203
1 – 64
D, G
0 - 120
2 Byte alpha
character
Enabled, Disabled
AA – ZZ,
printer resident
Enabled, Disabled
Model specific ranges; see
Appendix L.
Dots
Standard, Alternate,
Alternate-2, Alternate-3
Enabled, Disabled
1/100 in.
1/100 in.
Dots per inch
NA
Module Letter
Seconds
AA - ZZ, printer resident
Allegro Emulation
ASCII Symbol Set
Backup (after print)
Reverse Speed (backfeed)
I & W Class Programmer’s Manual
AE
AS
Menu
Location
System Settings
System Settings
System Settings
Print Control
Print Control
Communications
Printer Options
Media Settings
Print Control
System Settings
Print Control
System Settings
Diagnostics
System Settings
27
Extended-System Commands
Parameter
Pneumonic
Value Range
Units / Interpretation
End Character
End Of Print
EN
EP
D
1, 2, 3, 4
Start of Print
ESC Sequence
Sensor Level Empty
Format Attributes
Feedback Mode Enable
GPIO Enable
EQ
ES
EV
FA
FM
GE
3, 4
Y, N
0 - 255
X, O, T
Y, N
A, V, N
Gap / Mark Value
Heat
Host Timeout
Imaging Mode
Internal Module
GM
HE
HT
IL
IM
0 - 255
0 - 30
1 - 60
M, S
100 - 8192
List Terminator
1=Low Pulse, 2=High Pulse,
3=Low Level, 4=High Level
3=Low Level, 4=High Level
Enabled, Disabled
NA
XOR, Opaque, Transparent
Enabled, Disabled
Applicator Enabled,
Verifier Enabled, Disabled
NA
NA
Seconds
Multiple, Single label
Kbytes
Language Select
Label Width
Maximum Label Length
Media Type
Present Adjust
Present Distance
Peel Mode
Printer Level
Pause Mode
Paper Out Distance
Parallel Direction
Prodigy Plus Emulation
Print Speed
LS
LW
ML
MT
PA
PD
PE
PL
PM
PO
PP
PR
pS
String
75 - head width
0 - 9999
D, T
0 - 128
0 - 400
Y, N
000000 - FFFFFF
Y, N
0 - 9999
xDz
Y, N
A-Z
Present Sensor Enable
Sensor Level Paper
Password
Row Adjust
Ribbonsaver Enable
Ribbon Low
Row Offset
Scalable Cache
SOP Emulation
PS
PV
PW
RA
RE
RL
RO
SC
SE
Y, N
0 - 255
0 - 9999
0 - 128
Y, N
0 - 9999
0 - 9999
100 - 8192
L, A, P, D
SF
SG
SP
SS or sS
String
0 - 32
xyz
A-Z
ST
TP
UM
UT
VE
G, C, R
Y, N
M, I
“ON”
Y, N
Parameter Name
Save As Filename
Sensor Level Gain
Serial Port
Feed Speed (slew)
Sensor Type
TOF Precedence
Unit of Measure
User Terminator
Verifier Equip
NA
1/100 inch
1/100 inch
Direct, Thermal Transfer
Dots
1/100 inch
Enabled, Disabled
Hex Codes
Enabled, Disabled
1/100 inch
See Table 5-3, below
Enabled, Disabled
Model specific ranges; see
Appendix L.
Enabled, Disabled
NA
NA
Dots
Enabled, Disabled
NA
1/100 in.
Kbytes
L= Plus, A = Allegro,
P = Prodigy, D = Disable
Up to 18 characters
NA
See Table 5-3, below
Model specific ranges; see
Appendix L.
Gap, Continuous, Reflective
Enabled, Disabled
Metric, Imperial
Set terminator
Enabled, Disabled
Menu
Location
Printer Options
Printer Options
Printer Options
Communications
Media Settings
System Settings
Communications
Printer Options
Media Settings
Print Control
Communications
System Settings
System Settings
System Settings
Media Settings
Media Settings
Media Settings
Print Control
Print Control
System Settings
System Settings
System Settings
Media Settings
Communications
System Settings
Print Control
Printer Options
Media Settings
System Settings
Print Control
Printer Options
NA
Print Control
System Settings
System Settings
NA
Media Settings
Communications
Print Control
Media Settings
NA
System Settings
NA
Printer Options
Table 5-2: Configuration Set Commands
28
I & W Class Programmer’s Manual
Extended-System Commands
Parameter
Name
Parallel Direction
Parameter
Value
Pneumonic
PP
xDz
Range /
Interpretation
x - A port ID
B port ID
z - U unidirection
B bidirection
Serial Port
SP
xyz
xyzz
Example
x - A port ID
B port ID
y - P protocol (handshaking)
z - type:
B - both
S - software
H - hardware
N - none
y - p parity
z - type:
N - none
O - odd
E - even
y - D data length
z - value:
8 - bits
7 - bits
y - S stop bits
z - value:
1 - bit
2 - bits
y - B baud rate
zz - value: 12 - 1200
24 - 2400
48 - 4800
96 - 9600
19 - 19200
28 - 28800
38 - 38400
Example: <STX>KcPPADB<CR>
(The example configures Parallel Port A for
bidirectional communication.)
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.)
Table 5-3: Configuration Set Commands for Communications
STX Kd
Set File as Factory Default
This command selects the specified file name as the “factory default” for the printer’s configuration.
After execution, subsequent “Select Factory Default” commands will configure the printer to the
file’s configuration. Currently there are three ways to “Select Factory Defaults”: 1) by the <STX>KF
command; 2) power-up the printer while pressing the PAUSE and CANCEL keys; or, 3) via the
printer’s menu system entry System Settings / Set Factory Defaults.
; Note: Powering ‘On’ the printer while pressing the PAUSE, FEED and CANCEL keys will reset
the configuration to the Datamax defaults.
Syntax:
<STX>KdName<CR>
Where:
Name
- The name, up to 16 characters, of the configuration file.
<CR>
- 0x0d terminates the name.
Sample:
<STX>KdPlant1
This command selects the configuration file “Plant1” as the default factory configuration.
I & W Class Programmer’s Manual
29
Extended-System Commands
STX KE
Character Encoding
This command specifies a character in the DPL datastream to be substituted with a delimited twocharacter ASCII hexadecimal numeric equivalent.
Syntax:
<STX>KEex
Where:
e
-
Y – character encoding enabled
N – character encoding disabled
x
-
Delimiter: One ASCII character
Sample:
<STX>KEY\
The sample enables character encoding and the character delimiter is ‘\’
Any character in the DPL datastream may be substituted with a delimited two-character ASCII
hexadecimal numeric equivalent. The command allows the delimiting character to be selected, and
the encoding to be enabled or disabled. When character encoding is enabled, the printer will decode
any ASCII hexadecimal numeric pairs following the delimiter as single byte values. This command is
used where control characters cannot be transmitted or where control characters within data may
prematurely terminate a label format record. Although the delimiter may be changed at any time
(except within a label format definition) there cannot be more than one defined delimiter, and
character encoding must be disabled with <STX>KN prior to re-enabling, regardless of any change
in the delimiter.
Data Encoding Syntax
The data encoding 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.
Syntax:
xaa[bbcc…nn]x
Where:
; Notes:
x
-
One byte, 0 to ff16, delimiter, leading and trailing
aa
-
2 bytes, ASCII, hexadecimal encoded, range each character 0-9, A-F
bb
-
2 bytes, ASCII, hexadecimal encoded, range each character 0-9, A-F (optional)
cc
-
2 bytes, ASCII, hexadecimal encoded, range each character 0-9, A-F (optional)
nn
-
2 bytes, ASCII, hexadecimal encoded, range each byte - 0-9,
A-F (optional)
(1) A delimiter pair with no ASCII hexadecimal pairs between (for example, \\) will be
interpreted as one byte whose value is that of the delimiting character, allowing the
assigned delimiter to be interpreted as itself rather than as the delimiter.
(2) A delimited string containing a non-valid hexadecimal character (for example, FX) will
be treated as an illegal string and, therefore, not correctly decoded.
(3) A delimited string that contains an odd number of bytes will be treated as an illegal
string and, therefore, not correctly decoded.
30
I & W Class Programmer’s Manual
Extended-System Commands
Data 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
Sample Datastream
AB\\CE
\ABCDEF\
1A\1A\1A
Interpretation
5 bytes AB\CE with values 4116, 4216, 5C16, 4316, 4416
3 bytes with values AB16, CD16, and EF16
5 bytes 1A<SUB>1A with values 3116, 4116, 1A16, 3116, 4116.
<SUB> represents a single byte ASCII control character with value 1A16
Character Encoding may be used independent of enabling the Alternate Control Character set.
Alternate Control Characters are enabled via menu selection or the <STX>KD command.
Alternate Control Codes with Alternate Line Terminator
Configuring the printer to operate in Alternate Control Code mode requires the following
substitutions be made in what otherwise is a normal datastream. Standard Control Characters are
substituted with Alternate Control Characters. For example:
Standard Control Characters
Alternate Control Characters
Value:
Printed
Name
Value:
Printed
hexadecimal, decimal Character
hexadecimal, decimal Character
<STX>
0x02, 2
None
Tilde
0x7E, 126
~
<SOH>
0x01, 1
None
Circumflex
0x5E, 94
^
accent
Circumflex
0x5E, 94
^
Commercial
0x40, 64
@
accent
At
Name
Line Terminator Substitution
This Alternate Control Code mode of operation has been modified to provide for substitution of the
line terminator as well as the control characters listed above. The line terminator <CR> (0x0D) is
replaced by | (0x7C). The printer’s menu or the <STX>KD command can be used to make this
selection. The following is a sample datastream for a printer configured for Alternate Control Codes
with an Alternate Line Terminator:
~L|1911A10001000101234560|X|~UT01ABCDE|~G|
STX KF
Select Factory Defaults
This command restores the printer’s configuration to the “factory default” settings. These factory
default values may be either the Datamax default settings or the configuration file previously
specified in the <STX>Kd command.
Syntax:
<STX>KF
Sample:
<STX>KF
I & W Class Programmer’s Manual
31
Extended-System Commands
STX Kf
Set Present Distance
This command specifies an additional amount to advance the label after printing.
Syntax:
<STX>Kfnnnn
Where:
nnnn
Sample:
<STX>Kf0100
-
Is a four-digit present distance in inches/100 or mm/10.
The sample represents a one-inch label advance unless the printer is in metric mode (see <STX>m).
STX Kp
Module Protection
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 the appropriate Operator’s or Maintenance Manual for a
listing of the memory modules.
There are two types of modules: RAM (volatile) and Flash (non-volatile).
y
RAM - When protected, if the power is cycled or if the printer is reset, the module state resets
back to unprotected.
y
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
Where:
m
-
Module ID – Range A to Z.
Where:
f
-
Flag specifying Enable or Disable protection.
0 – disable protection
1 – enable protection
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.
32
I & W Class Programmer’s Manual
Extended-System Commands
STX KQ
Query Memory Configuration
This command causes the printer to transmit its internal DRAM memory configuration to the host
device. The transmitted data provides information regarding the total amount of installed internal
DRAM, the amount available for configuration and the amount currently assigned to specific
functions or entities.
Syntax:
<STX>KQ
Sample:
<STX>KQ
Printer Response:
Product:
Installed RAM:
Label Width:
Print Buffer Size:
Allocation RAM:
Internal Files:
Font Cache:
I4204 – 01.01 05/21/1999
8 MB
4.09 IN
272 IN
6389 KB
512 KB
232 KB
Where:
Data
Installed RAM
Label Width
Print Buffer Size
Allocation RAM
Internal Files
Font Cache
Description
Total amount of RAM.
Size in inches/millimeters of the printhead.
Total number of inches/millimeters of Print Dot Buffers available. (This is
not the maximum size of a label, which is limited to 99.99 inches.)
Amount of RAM that can be configured for the Internal Files, Font Cache
and the remainder going to the Print Buffer Size.
Size of the Internal Module used to store downloaded fonts, graphics and
label formats.
Size of the Font Buffer used to temporarily store characters. Increasing
this buffer will increase performance if labels have a large variety of font
sizes and characters.
Table 5-4: Memory Allocation Descriptions
I & W Class Programmer’s Manual
33
Extended-System Commands
STX Kq
Query Memory Configuration (new format)
This command causes the printer to transmit its internal DRAM memory configuration to the host
device. The transmitted data provides information regarding the total amount of internal DRAM
installed, the amount available for configuration, and the amount currently assigned to specific
functions or entities.
Syntax:
<STX>Kq
Printer response format: Memory Configuration<CR>
Product: aaaacdd.ee mm/dd/yy<CR>
Installed RAM: iiiiMB<CR>
Label Width: vvvvoo<CR>
Print Buffer Size: :xxxxoo<CR>
Allocation RAM: ssssKB<CR>
Internal Files LLLLKB<CR>
Font Cache wwww:KB<CR>
Where:
<CR>
- ASCII Carriage Return (0x0D) record delimiter.
aaaacdd.ee - ASCII string sequence that represents the firmware version
mm/dd/yy
number string.
34
iiii
- The number of Megabytes of installed internal DRAM
memory.
vvvv
- The length of the Label Width.
xxxx
- The length of the Print Buffer.
ssss
- The number of Kilobytes of internal memory assigned to the
label Print Buffer
LLLL
- The number of Kilobytes assigned to the internal memory
module.
wwww
- The number of Kilobytes assigned to the Scalable Cache.
oo
- Current label dimension unit’s designation. “IN” for inches
and “MM” for millimeters.
I & W Class Programmer’s Manual
Extended-System Commands
STX Kr
Resettable Counter Reset
This command resets the internal counters. Follow this command with an <SOH>U command to
retain the reset or the counters will revert to the previous values after cycling power.
Syntax:
STX KV
<STX>Kr
Verifier Enable/Disable
This command allows the verifier (option, if installed), to be enabled and disabled.
Syntax:
<STX>KVa
Where:
a
STX Kx
-
Y = verifier enable
N = verifier disable
Delete Configuration File
This command deletes the specified configuration file.
Syntax:
<STX>KxmName<CR>
Where:
m
-
Valid Module ID – Range A to Z.
Name
-
The name, up to 16 characters, of the configuration file.
<CR>
-
0x0d terminates the name.
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).
I & W Class Programmer’s Manual
35
Extended-System Commands
36
I & W Class Programmer’s Manual
6.0 Label-Formatting Commands
Label-Formatting Command Functions
An <STX>L command switches the printer from the System-Level to the Label-Formatting Command
processor. All commands following the <STX>L are interpreted as label formatting commands. LabelFormatting Commands can be used to override default parameter values. Selectable parameter value
defaults may be assigned via the menu selection on printers so equipped. Printer menu-selectable
parameters are shown in the Operator’s Manual. Label formats that contain no commands overriding
printer default values will assume the defaults.
:
Set Cut By Amount
This command allows a predetermined number of labels to be printed before a cut is initiated. This
feature is useful when it is necessary to print an uncut strip of labels. Between 1 and 9999 labels may
be printed before a cut is made. The amount must be smaller than the quantity of labels printed.
Syntax:
:nnnn
Where:
nnnn
Sample:
<STX>L<CR>
:0005
141100001000100SAMPLE LABEL<CR>
Q0021
E
-
Is a four digit decimal number indicating the number of
labels to be printed before a cut is made.
The sample instructs the printer to make cuts after labels 5, 10, and 20 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 (1) has been entered via the menu on equipped models.
; Note: The cutter must be enabled and the interlocks closed for operation.
I & W Class Programmer’s Manual
37
Label-Formatting Commands
A
Set Format Attribute
This command specifies the type of format operation and remains in effect until another format
command is specified or another label format has begun (<STX>L). Each label format defaults to
attribute 2 (Transparent Mode).
Syntax:
An
Where:
n
-
Is attribute mode 1, 2, 3 or 5. (See table below).
n
1
Attribute
Description
XOR Mode In this mode, the region where text strings, images
or barcodes intersect will not be printed. (An odd
number of overlapping objects will print.)
2 Transparent This is the default mode; the intersecting regions of
Mode
text strings, images, and barcodes will print,
allowing the user to print fields on top of one
another.
3
Opaque
Interacting text is obliterated by the text formatted
Mode
last. Each character cell is treated as opaque. This
mode is effective only in rotation 1. See Record
Structure Types.
5 Inverse Mode This mode allows inverse (white on black) printing;
(e.g., a proportionally sized border and background
are printed similar to photographic negative). If text
or image fields overlap in this mode, the effect will
be similar to the XOR mode.
Table 6-1: Format Attributes
Sample:
Example
<STX>L
A3
141100001000100DATAMAX<CR>
141100001100110DATAMAX<CR>
E
The sample sets the printer to opaque mode and produces one label.
38
I & W Class Programmer’s Manual
Label-Formatting Commands
B
Barcode Magnification
This command provides a mechanism to specify barcodes greater than 36 dots (0-9,A-Z in the field
record). The value is reset to 1 at the start of every label and stays active for the entire label or set to a
new value.
Syntax:
Bnn
Where:
nn
Sample:
<STX>L<CR>
D11
B01
1a9305000100030ABCD<CR>
B03
1a3105000700030ABCD<CR>
Q0001
E
-
Is a two digit decimal number indicating the magnification
value.
The sample instructs the printer two barcodes each 9 dots by 3 dots.
C
Set Column Offset Amount
This command allows horizontal adjustment of the point where printing begins. This feature is useful
when a single format must be printed on several different types of labels that contain pre-printed
information. (If the pre-print does not appear in the same place on every label, the new data may
overlap the pre-printed data.) The ‘C’ command instructs the printer to print label formats nnnn units
to the right of the position that the format specifies.
Syntax:
Cnnnn
Where:
nnnn
Sample:
<STX>L
C0050
141100001000100DATAMAX<CR>
-
Is a four-digit number for the column offset, inches/100 or
mm/10. The printer default is 0 for offset.
The sample shifts all format data 0.5 inches to the right, unless the printer is in metric mode, (see
Label-Formatting Command ‘m’).
I & W Class Programmer’s Manual
39
Label-Formatting Commands
c
Set Cut By Amount
This command is the same as the ‘:’ command except only a two-digit value can be entered. This
command allows a predetermined number of labels to be printed before a cut is made. 1 to 99 labels
may be printed before a cut is made.
Syntax:
cnn
Where:
nn
Sample
<STX>L<CR>
c07<CR>
141100001000100SAMPLE LABEL<CR>
Q0021<CR>
E
-
Is a two-digit number indicating the number of labels to be
printed before a cut is made. The printer default is one.
The sample instructs the printer to make cuts after labels 7, 14, and 21 have been printed. See LabelFormatting Command ‘:’.
; Note: The cutter must be enabled and the cutter cover in place before the cutter will operate.
D
Set Dot Size Width and Height
This command is used to change the size of a printed dot, hence the print resolution – dots per inch
(DPI) of the printhead. By changing the height of a dot, the maximum length of a label can be
increased or decreased. The table below lists the step sizes available.
Syntax:
Dwh
Where:
w
-
Is Dot Width multiplier 1 or 2.
h
-
Is Dot Height multiplier 1, 2, or 3.
Printhead Resolution (DPI)
203
300
406
600
Nominal Dot (element) Size
Inches
Millimeters
.0043 X .0052
.11 X .13
.0027 X .0043
.07 X .11
.0013 X .0018
.05 X .07
.0008 X .0015
.03 X .06
Table 6-2: Printhead Dot Sizes
; Note: D11 is the default value for all printers.
40
I & W Class Programmer’s Manual
Label-Formatting Commands
E
Terminate Label Formatting Mode and Print Label
When the printer is processing Label-Formatting Commands and receives an ‘E’ command, it will
immediately print a label based upon the data received at that point. Even if no printable data has
been received, the printer will generate and feed a label (other termination commands are ‘X’ and
‘s’). Commands sent to the printer after a “terminate label” command must be Status and Control,
System-Level or Font Download type.
Syntax:
E
Sample:
<STX>L<CR>
121100000000000Testing<CR>
E<CR>
The sample will print one label.
e
Recall Printer Configuration
This command recalls a previously stored printer configuration. It is highly recommended that only
one Recall Printer Configuration command be used per label, and that it be used at the beginning of
the label; otherwise, unpredictable results will occur. (Printer Configurations may be stored using the
Extended System Commands or the printer’s menu system.)
Syntax:
eName<CR>
Where:
Name
-
The name, up to 16 characters, of the configuration file.
<CR>
-
0x0d terminates the name.
Sample:
<STX>L<CR>
ePlant1<CR>
1A2210001000000Testing<CR>
E<CR>
The sample recalls the stored printer configuration, Plant1.
F
Advance Font Attributes
These commends extend the text presentation capabilities for Scalable Fonts. The format attribute
allows a set of label format records to select Bolding, Italicizing and Underlining. Additional
commands allow the specification of line rotation and font changes within a label field.
Reference Section 8.0 Generating Label Formats / Advance Font Attributes for details.
I & W Class Programmer’s Manual
41
Label-Formatting Commands
G
Place Data in Global Register
The ‘G’ command saves the print data of a print format record in a global register (temporary storage).
This data may be retrieved and copied to another record in the same label format using the special
Label-Formatting Command, <STX>S. Global registers are named in the order received, beginning
with register A, ending at register P, and incrementing with each instance of the G command use.
Syntax:
G
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.
H
Enter Heat Setting
This command changes the “on time” of elements of the printhead. The default setting is 10 (except in
the case of printers with a menu, where the default setting can be changed through the keypad). An
increase or decrease in this value results in a change of heat applied by the printhead to the media,
lightening or darkening the print contrast accordingly. This is helpful when using different media
types, each requiring a different amount of heat to properly image the media. The host device can send
this command value to correct the heat setting per the application.
Syntax:
Hnn
Where:
nn
-
Is a two-digit heat value (00-30)
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.
42
I & W Class Programmer’s Manual
Label-Formatting Commands
M
Select Mirror Mode
This command instructs the printer to “mirror” all subsequent print field records. This command
toggles the mirroring mode. Mirrored fields are transposed visually, as if the object is viewed in a
mirror.
Syntax:
M
Sample:
<STX>L
161100003200010 NOT MIRRORED<CR>
M<CR>
161100003000400 MIRRORED<CR>
E
Printed Result:
m
Set Metric Mode
This command sets the printer to measure in metric. When this command is sent, all measurements
will be interpreted as metric values, (e.g., a column offset of 0010 will be interpreted as 1.0mm). All
printers default to Imperial (inch) mode. Menu selectable.
Syntax:
m
Sample:
<STX>L<CR>
m
141100001000100SAMPLE LABEL<CR>
E
The sample will result in the text “SAMPLE LABEL” printed at starting location coordinates
10.0mm, 10.0mm.
n
Set Inch Mode (Imperial)
This command sets the printer to measure in inches. When this command is sent, all measurements
will change to inches. All printers default to Imperial units. Menu selectable.
Syntax:
n
Sample:
<STX>L<CR>
n
141100001000100SAMPLE LABEL<CR>
E
The sample will result in the text, “SAMPLE LABEL”, printed at starting location coordinates 1.00
inch, 1.00 inch.
I & W Class Programmer’s Manual
43
Label-Formatting Commands
P
Set Print Speed
This command sets a print speed for a label or batch of labels. See Appendix L for valid print speed
ranges.
Syntax:
Pa
Where:
a
Sample:
<STX>L
PC
141100001000100LABEL1<CR>
E
<STX>L
141100001000100LABEL2>CR>
E
-
Is a single character (C to P) representing a speed.
The sample prints two labels, the first at a speed of 3.0 inches per second (76 mm per second) and the
second at the printer default.
p
Set Label Backup Speed
This command is used for the “Peel and Present” and “Cut Label Operations”. It allows the user to
specify the rate at which the printer will reverse the label direction to align the next start of print
position. The rate set by this command remains in effect until another backup speed command is
received, see Appendix L for valid ranges. The speed is modified via the menu or when the printer is
reset.
Syntax:
pa
Where:
a
Sample:
<STX>L
pF
-
Is a single character (C to I) setting a particular backup speed.
The sample sets the printer to a backup speed of 3.5 IPS.
44
I & W Class Programmer’s Manual
Label-Formatting Commands
Q
Set Quantity Of Labels To Print
This command sets the number of the label copies to be printed. All printers default to 1.
Syntax:
Qnnnn
Where:
nnnn
Sample:
<STX>L
121100000000000Testing<CR>
Q0020<CR>
E<CR>
-
Is a four-digit value setting for the number of labels to be
printed.
The sample will print a batch of 20 identical labels.
R
Set Row Offset Amount
This command allows vertical adjustment of the point where printing begins. This is useful when a
single format is printed on several different types of labels that contain pre-printed information.
However, if the pre-printing does not appear in the same place on every label, data may overprint the
pre-printed areas. The ‘R’ command instructs the printer to print label formats nnnn increments
above the position the format specifies. Valid input values are numbers between 0000 and 9999,
(refer to the C, Set Column Offset Amount Command.)
Syntax:
Rnnnn
Where:
nnnn
Sample:
<STX>L
R0037<CR>
141100001000100SAMPLE LABEL<CR>
E
-
Is a four-digit
millimeters/10.
offset
0000-9999,
inches/100
or
The sample sets the printer’s offset row amount to 37 hundredths of an inch, (unless the printer is in
metric mode).
I & W Class Programmer’s Manual
45
Label-Formatting Commands
r
Recall Stored Label Format
This command is used to retrieve entire label formats that have been stored on a memory module.
Syntax:
rnn...n
Where:
nn…n
-
Is a label name, up to 16 characters in length.
The samples below show how to recall label formats. (To view a list of available label formats, use
the memory module directory, <STX>W command.)
String Sent to Printer:
46
Printer Interpretation:
Sample 1: <STX>L<CR>
rTEST<CR>
Q0002<CR>
E<CR>
Begin label format
Retrieve format named TEST
Quantity requested = 2
Terminate formatting and print
Sample 2: <STX>L<CR>
rTEST<CR>
X<CR>
<STX>G<CR>
Begin label format
Retrieve format named test
Terminate formatting
Print
Sample 3: <STX>L<CR>
D11<CR>
PO<CR>
SO<CR>
rTEST<CR>
E<CR>
Begin label format
Dot size = 1x1
Print speed 0
Slew speed 0
Retrieve format named test
Terminate formatting and print
I & W Class Programmer’s Manual
Label-Formatting Commands
S
Set Slew Rate
This command sets the rate for the printer to feed non-printed areas of the label through the printer.
The slew rate remains unchanged unless another slew rate command is sent, the printer is reset or a
new rate is set via the menu. See Appendix L for values.
Syntax:
Sa
Where:
a
Sample:
<STX>L
SE
141100001000100LABEL1<CR>
E
<STX>L
1411000010001000LABEL2<CR>
E
-
Is a one character value (C to S) which sets a maximum
speed for label feeding.
The sample sets the slew rate to 3.0 IPS (76mms) and prints two labels. The slew rate for the second
label is the same as the first.
s
Store Label Format In Module
This command stores a label format in a specified module. Supplying memory module name A, B, or
D will store the label to that module. (Using C will cause the label format to be stored in whichever
module has been set as the default module, refer to the Set Default Module Command, <STX>X.)
The store label-format command will terminate the Label-Formatting Command.
Syntax:
sann...n
Where:
a
-
Is the module designator, A-D, representing a single
character module name (Appendix K).
nn…n
-
Represents the label name (a maximum of 16 characters).
Sample:
<STX>L<CR>
D11<CR>
191100501000000123456789012<CR>
1911005020000001234567<CR>
191100500000000Sample<CR>
1X1100000000000B250250002002<CR>
Q0001<CR>
sATEST<CR>
The sample stores a label called ‘Test’ in memory module A. To recall the label format from the
module use the Label-Formatting Command ‘r’.
I & W Class Programmer’s Manual
47
Label-Formatting Commands
T
Set Field Data Line Terminator
This command is valid only for the next format record, after which the terminator defaults to a
carriage return. This allows the user to embed special binary control codes (e.g., carriage returns) into
the data to be printed. It is intended to be used with record types (e.g., PDF417), that will accept
binary data.
Syntax:
Tnn
Where:
nn
Sample:
<STX>L<CR>
T00<CR>
191100200000000TEST<NULL>
141100001000100TERMIATOR<CR>
Q0001<CR>
E<CR>
-
Is an ASCII two-character representation of a HEX code to be
used for the end of data terminator.
The sample sets the terminator code to use a NULL terminator (ASCII NULL, DEC 0, HEX 00) for
the end of data line. The terminator is immediately restored to a carriage return <CR> as seen in the
format record containing the text ‘TERMINATOR’.
48
I & W Class Programmer’s Manual
Label-Formatting Commands
U
Make Previous Field A String Replace Field
This command does not require the use of an updated field (register loading); the command only
controls the way the bit-mapped data is formatted. The data used when it is created must be valid for
the font type being used. If the command is used, only the changing data will be reformatted; if this
command is not used the entire label will be formatted. The U command is used in conjunction with
the <STX>U command to reformat only portions of a label, resulting in faster label generation.
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 replacement (or update) fields. The second label is
generated with System-Level field-replacement commands and prints the last label.
; Note:
X
The data string length of any register is set by the length of the string when it was created
and the new string must be the same length as the old string. The data being used when it
is created must be valid for the font type being used.
Terminate Label-Formatting Mode
When the printer is in Label-Formatting mode and receives this command, it will immediately switch
to the System-Level Command mode and generate a label format based on whatever data it has
already received. However, unlike the ‘E’ command, it will not print a label. (Other termination
commands are the ‘E’ and ‘s’ Label-Formatting Commands.)
Syntax:
X
Sample:
<STX>L<CR>
141100001000100SAMPLE<CR>
X<CR>
The sample will result in label formatting, but no label will be printed. The System-Level Command
<STX>G will cause the label to print.
I & W Class Programmer’s Manual
49
Label-Formatting Commands
y
Select Font Symbol Set
Same as a System-Level Command <STX>y. Symbol sets are used only with scalable fonts (see
Generating Label Formats; also see <STX>y, <STX>I and Appendices E, I and H).
Syntax:
ySxx
Where:
S
-
Byte-size designation; see Appendix H:
S = Single byte symbol sets.
U = Double byte symbol sets.
xx
-
Symbol set selection.
Sample:
ySSW<CR>
:
The sample selects the Swedish symbol set for use with all succeeding format records that use
scalable fonts.
z
Zero (Ø) Conversion to “0”
This command removes the slashes from zeros in fonts 0 to 8, and barcodes. The command is effective
only for the label format in which it appears, and applies to all format records containing fonts 0
through 8 or barcodes A through Z. (None of the smooth fonts [font 9] have a slash zero.) The
command has no effect on scalable fonts.
50
Syntax:
z
Sample:
<STX>L
z
121100000000000Test0000<CR>
E
I & W Class Programmer’s Manual
Label-Formatting Commands
+ (>)
Make Last Field Entered Increment Numeric (Alphanumeric)
The printer is capable of automatically incrementing fields on each label of a batch. This command is
useful to print labels numbered in sequence. The data in the field will increment by the value after
the + sign, each time a label is printed. The + character may be replaced by a > character to make the
field increment alphabetically rather than numerically. This command is effective only on the label
format record it follows. It is intended for use with the label batch quantity Q or the System-Level
Commands for quantities and reprint, <STX>E and <STX>G.
Syntax:
*pii
Where:
*
-
Is + for numeric increment, or > for alphanumeric
increment.
p
-
Is the fill character for the left-hand character of the field.
ii
-
Is the amount by which to increment the field.
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 by one for the next two labels.
I & W Class Programmer’s Manual
51
Label-Formatting Commands
- (<)
Make Last Field Entered Decrement Numeric (Alphanumeric)
The printer is capable of counting down fields on labels in a batch. This command is useful when
printing labels need to be numbered in reverse sequence. The data in the field will decrement by the
value after the minus sign with every label printed. The minus character may be replaced by a <
character in order to make the field decrement alphabetically rather than numerically. This command
has effect on only the label format record that it follows. It is intended for use in conjunction with the
label batch quantity Q, or the System-Level Commands for quantity and reprint, <STX>E and
<STX>G.
Syntax:
*pii
Where:
*
-
Is - for numeric decrement, or < for alphanumeric decrement.
p
-
Is the fill character for the left-hand character of the field.
ii
-
Is the amount by which to decrement the field.
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 by one for the next two labels.
52
I & W Class Programmer’s Manual
Label-Formatting Commands
^
Set Count by Amount
An application using incrementing or decrementing fields (+, -, >, <) will occasionally require that
more than one label be printed with the same values before the field data is updated. This situation is
handled with the ^nn command. All printers default to 1.
Syntax:
^nn
Where:
^
-
nn
-
May be 0x55 or 0x40, see Control Codes.
Is a two-digit value that specifies the number of labels to be
generated before the incrementing or decrementing fields on
the label.
<STX>L<CR>
13220000000000012345<CR>
-01<CR>
^02<CR>
Q0006<CR>
E<CR>
Sample:
The sample prints two labels with the same field value before decrementing the field. Six labels are
printed.
; Notes: (1) This command can only be issued once per label format.
(2) When alternate Control Codes are enabled, the ‘^’ character must be replaced by the
‘@’ character (hexadecimal 0x40). See Control Codes.
Special Label-Formatting Commands
There are two special commands used, the <STX>S (recall global data) and the <STX>T (print date and
time) commands. Unlike the other Label-Formatting Commands, these special commands are entered
directly into the data field of label format records. These should not be confused with System-Level
Commands, although the same control character is used. When alternate Control Codes are enabled, the
<STX> becomes ‘~’ (hexadecimal 0x7E). See Control Codes.
Command
<STX>S
<STX>T
Description
Recall global data and place in field
Print time and date
Table 6-3: Special Label-Formatting Commands
I & W Class Programmer’s Manual
53
Label-Formatting Commands
STX S
Recall Global Data And Place In Field
Once a global register has been defined, its contents can be used as data in other fields. When the
printer receives the command <STX>Sn in a format record data field, it will place data from the
specified global register into the data field, (see Label-Formatting Command G). Global registers
contain the data in the first A through P format record data fields.
Syntax:
<STX>Sn
Where:
n
Sample:
<STX>L<CR>
121100000000000DMX<CR>
G<CR>
1A2210001000000<STX>SA<CR>
E<CR>
-
Specifies the global register containing the data to copy into
the data field, A − P.
In the sample above, the label-formatting command ‘G’ (line 3) places the string “DMX” into the
next available global register (in this case register A). The <STX>SA (line 4) is effectively replaced
by the data from global register A.
54
I & W Class Programmer’s Manual
Label-Formatting Commands
STX T
Print Time and Date
Time and date string data is selected by choosing the string character A through Z and a through h to
retrieve data from the printer’s internal clock. The date string characters are not printed, instead the
printed label will show the corresponding print values, given in the table below.
New features (not available on all printers): The <STX>T may now be preceded by data to be
printed/encoded and/or the string may now be terminated by a <STX> command followed by data
terminated by a <CR>.
; Note:
When using substitution you must ensure the converted string produces valid characters
for the selected barcode/font.
Syntax:
<STX>Tstring<CR>
Where:
string
String
Characters
A
BCD
EF
GH...O
PQ
RSTU
-
String is any set of characters A through Z or a through h, see
the table below.
Print Values
String Markers
Day of the week; (1 = Mon.)
Day of week name
Month number
Month name
Day
Year
VW
XY
Za
gh
bc
def
Print Values
Hour in 24 hour format
Hour in 12 hour format
Minutes
seconds
AM or PM
Julian date
Table 6-4: Time and Date String Characters
Sample Listing: (Assuming the current printer date is December 21, 1998.)
Sample 1:
<STX>L<CR>
121100001000100<STX>TBCD GHI PQ, TU<CR>
E<CR>
The printed label will show: SUN DEC 21, 98
Sample 2:
<STX>L<CR>
191100100100010<STX>TEF/PQ<CR>
E<CR>
The printed label will show: 12/21
Sample 3:
<STX>L<CR>
191100100100010ABC <STX>TEF/PQ<STX> DEF<CR>
E<CR>
The printed label will show: ABC 12/21 DEF (This example illustrates a method of embedding the
time string. The time string must be terminated by an <STX>).
I & W Class Programmer’s Manual
55
Label-Formatting Commands
56
I & W Class Programmer’s Manual
7.0 Font-Loading Commands <ESC>
Font-Loading Command Functions
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. Font-Loading
Commands are listed in Table 7-1. All Font-Loading Commands begin with <ESC>. <ESC> represents
the 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.
Command
*c###D
)s#Wnn...n
*c#E
(s#W
Description
Assign Font ID Number
Font Descriptor
Character Code
Character Download Data
Table 7-1: Font-Loading Commands
*c###D
Assign Font ID Number
This command is the first command required for downloading a font to either RAM or Flash Memory
modules. Esc represents the ASCII control character 27.
Syntax:
<ESC>*c###D
Where:
###
)s###W
-
Is the font ID numbers 100-999, (000-099) are reserved for
resident fonts.
Font Descriptor
This command (typically first data in a font file) contains all of the information about the font
contained in the file. Different font generation software will create different length header
information, but the initial 64 bytes will remain consistent with the PCL-4 (HP LaserJet II) format.
Syntax:
<ESC>)s###Wddd...d
Where:
###
-
Is the number of bytes of font descriptor data from 1 to 3
ASCII decimal digits.
dd...d
-
Is the descriptor.
I & W Class Programmer’s Manual
57
Font-Loading Commands
*c###E
Character Code
This code is the ASCII decimal value corresponding to the next downloaded character.
Syntax:
<ESC>*c###E
Where:
###
-
Is the ASCII value of the character, three digits maximum, 0
to 999.
(s#W Character Download Data
This command contains all of the information for one downloaded character.
58
Syntax:
<ESC>(s###Wnn...n
Where:
###
-
Is the number of bytes of bit-mapped data, three digits
maximum, from 1 to 32767.
nn...n
-
Is the bit-mapped data.
I & W Class Programmer’s Manual
8.0 Format Record Functions
Generating Label Formats
This section explains how to use the fields in a print format record. Table 8-1 is an example of a label
format as seen by the printer. Figure 8-1 is the label generated from that format. The printer receives the
data sequentially, left to right, top to bottom.
String Sent to Printer
<STX>L<CR>
D11<CR>
121100000050005HOME POSITION<CR>
191100602000200ROTATION 1<CR>
291100602000200ROTATION 2<CR>
391100602000200ROTATION 3<CR>
491100602000200ROTATION 4<CR>
1A3104003000260123456<CR>
4a6210002500140123456<CR>
1X1100000000000B400400003003<CR>
1X1100002000000L400001<CR>
1X1100000000200L001400<CR>
121100004100010The Printer is here<CR>
Q0002<CR>
E<CR>
Printer Interpretation
Begin label format
Set dot size
Format text
Format text
Format text
Format text
Format text
Format barcode with text
Format barcode
Format box
Format line
Format line
Format text
Number of labels
End formatting, begin print
Table 8-1: Sample Label Format
; Note:
This example assumes that the printer was in ‘inch’ mode (see <STX>m and <STX>n), when
generating the label on the following page.
I & W Class Programmer’s Manual
59
Generating Label Formats
Printhead Location
Media
Movement
Home Position
Figure 8-1: Rotation Examples
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 labels. 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 different types of records may use this information in
different ways. The six record types are:
1. Internal Bit-Mapped Font
2. Smooth Font (Simulated)
3. Scalable Font
4. Barcode
5. Images
6. Graphics
60
I & W Class Programmer’s Manual
Generating Label Formats
The Structure of a Record
The basic structure of the record is described below. For details regarding the various interpretations
of the six types see Record Structure Types.
The third line of the label format example in Table 8-1 consists of the following:
121100000050005HOME POSITION<CR>
This string comprises a complete record, shown below, divided into its three basic component parts.
Header
121100000050005
Data String
HOME POSITION
Termination Character
<CR>
Table 8-2: Record Structure Components
The record conforms to the following fixed field format (spaces added for visual clarity). Identifying
lower case letters have been placed below field values for reference in the following sections:
1 2 1 1
a b c d
000
eee
0005
ffff
Location
Within
Internal BitRecord
Mapped Font
a
Rotation
b
Font ID
c
Width Multiplier
d
Height Multiplier
eee
000
ffff
Row Position
gggg
Column Position
hhhh
iiii
jj...j
N/A
N/A
Data String
0005
gggg
HOME POSITION
[hhhh iiii] jj…j
Record Type
Smooth
Scalable
Barcode
Font
Font
Rotation
Rotation
Rotation
9
9
Barcode
Width
Width
Wide Bar
Multiplier
Multiplier
Height
Height
Narrow Bar
Multiplier
Multiplier
Font Size/ID ID
Barcode
Height
Row
Row
Row
Position
Position
Position
Column
Column
Column
Position
Position
Position
N/A
Font Height N/A
N/A
Font Width N/A
Data String Data String Data String
<CR>
Termination character
Images
Graphics
Rotation
Y
Width
Multiplier
Height
Multiplier
000
1
X
1
Row
Position
Column
Position
N/A
N/A
Image name
Row
Position
Column
Position
N/A
N/A
Graphic
Specifiers
1
000
Table 8-3: Record Type Structure
In Table 8-3, the record structure is shown for each of the record types. The left-most column shows
the locations of all characters in the record, and corresponds to the example above the table. Each
record structure interprets the characters of the record in its own way, though some of the
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 BitMapped Font, Smooth Font, Scalable Font, and Image record types, it has other interpretations for
Barcode and Graphics record types.
I & W Class Programmer’s Manual
61
Generating Label Formats
The Header Fields
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 (home position 0,0) of the object is the pivot point.
b:
Fonts, Barcodes, Graphics and Images
The second field (b) determines how the rest of the fields are interpreted, as shown in the table
below. Values 0 through 9 select human-readable fonts. 0 through 8 will select standard Datamax
fonts, value 9 selects the CG Triumvirate smooth scalable font (internal), scalable fonts, or a
cartridge (module) font (external). When 9 is used to select a cartridge font or 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 barcodes. Values A through T (uppercase) will print barcodes with
human-readable interpretations. Values a through z (lowercase), will print barcodes only.
Value W requires two additional characters to specify the Barcode/Font ID.
A font field value X selects a drawing object (line, box, circle or polygon), and field value Y is
used to print an image stored in a module.
Font Field Value (b)
0-9
A-T
a-z
Wxx
X
Y
Interpretation
Font
Barcode with human readable text.
Barcode without human readable text.
Barcode/Font Expansion
Line, box, polygon, circle
Image
Table 8-4: Font Field Interpretations
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 barcodes, this character specifies the wide bar width or
ratio. Values 1 through 9 and A through O will give a wide bar width of from 0.0033” (0.085mm)
to 0.792” (2.011mm) at a resolution dependent upon the printer model. See Appendix F for default
values.
62
I & W Class Programmer’s Manual
Generating Label Formats
d:
Height Multiplier
The height multiplier has the same range and function as the width multiplier, but vertical. When
used in the context of barcodes, this field is the ratio denominator, or the small bar (module)
width. Values 1 through 9 and A through O will give a narrow bar width of one dot (dot size =
1/printhead resolution) to 24 dots. The narrow bar width resolution and range are dependent upon
the printhead resolution, see table below. A “dot multiplier” command can also be used to change
the printed dot size (see Label-Formatting Command D and Appendix F for default values).
Printhead Resolution
Dots Per Inch
203
300
406
600
Dots Per Millimeter
8.0
11.8
16.0
23.6
Table 8-5: Printhead Resolution
eee:
Barcode Height (Font Size/Selection)
This field has interpretations dependent upon the value of the font b field, as shown below.
b
Font Field Value
0-8
9
A-T
a-z
Wxx
X,Y
eee
Field Range
000
000-999, A04-A72, S00-S9z,
U00-U9z, u00-u9z
000-999
000-999
000-999
000
eee
Field Interpretation
Not used –Internal bitmapped font
Font height; Font selection
Barcode height (with human readable)
Barcode height
Barcode height (with human readable)
Not used
Table 8-6: Barcode Height Field Interpretations
ffff:
Row Position
The lower left corner of a label is considered the “home position”, see Figure 8-1. The row
position field is a vertical coordinate that determines how far above the home position the data is
to be printed. Field data is interpreted in hundredths of an inch or tenths of millimeters.
gggg: Column Position
This field is a horizontal coordinate that determines how far to the right of “home position” the
data will be printed. The range of the gggg field is dependent upon the printer used. See Appendix
G for a listing of the maximum values.
I & W Class Programmer’s Manual
63
Generating Label Formats
hhhh: Optional Scalable Font Height
The height of a scalable font can be specified in two ways, points or dots. To specify the height in
points the first character of the field is a ‘P’ followed by the number of points, 004 to 999 points.
To specify the size in dots, all four characters must be numeric. This field must be specified for
scalable fonts. See note below.
iiii:
Optional Scalable Font Width
The width of a scalable font can be specified in two ways, points or dots. To specify the width in
points, the first character of the field is 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).
jj…j: Data Field
The final field contains the data that will actually be printed on the label. A string of data can be
up to 255 characters in length, (except when using the PDF 417 barcode, which may be up to 3000
characters long) ending with a carriage return. Characters placed in the data field will be printed as
long as they fall within the physical range of the printhead. Consult Appendix K for a listing by
printer.
Record Structure Types
Each of the six record types has its own field structure and is described in the following section. The
record types allow quick reference to the field types and their valid data inputs for the field. There are
similar, but unique, record structures for each: internal, bit-mapped fonts, internal smooth fonts, font
modules, downloaded bit-mapped fonts, scalable fonts, barcodes, images, and graphics. The field
location identifiers in the tables that follow are the same as those in Table 8-3.
64
I & W Class Programmer’s Manual
Generating Label Formats
1. Internal Bit-Mapped Fonts
This record type is used for internal bitmapped fonts (see 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.
Field
a
b
c
d
eee
ffff
gggg
jj…j
Valid Inputs
1, 2, 3 and 4
0 to 8, see Appendix C.
1 to 9 and A to O
1 to 9 and A to O
000
0000 to 9999
0000 to 9999 Dependent upon printer. See Appendix K.
Valid ASCII character string up to 255 characters followed by a
termination character.
Meaning
Rotation
Font
Width Multiplier
Height Multiplier
N/A
Row
Column
Data
Table 8-7: Internal Bit-mapped Font Record Structure
2. Smooth Font, Font Modules, and Downloaded Bit-Mapped Fonts
This record type is used for internal smooth fonts (CG Triumvirate – see Table C-4), an external
font module (cartridge), or a bit-mapped font downloaded to a memory module (see 7.0 FontLoading Commands <ESC>).
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 RAM, Flash, or ROM Font Modules. These include downloaded bit-mapped fonts, and
cartridge fonts. See Table 8-6. Use eee values of 096 – 099 for Kanji fonts, if equipped. The
character mapping for these fonts is shown in Appendix A or a subset thereof.
Field
a
b
c
d
eee
ffff
gggg
jj…j
Valid Inputs
1, 2, 3 and 4
9
1 to 9 and A to O
1 to 9 and A to O
000 to 999 (000 to 099 Reserved), A04 to A72, x04 – x72*
0000 to 9999
0000 to 9999 Dependent upon printer. See Appendix K.
Valid ASCII character string up to 255 characters followed by a
termination character.
Meaning
Rotation
Fixed Value
Width Multiplier
Height Multiplier
Font/size
Row
Column
Data
* Where x is an upper case letter, see Appendix H.
Table 8-8: Smooth Font Record Structure
I & W Class Programmer’s Manual
65
Generating Label Formats
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.
Field
a
b
c
d
eee
ffff
gggg
hhhh
iiii
jj…j
Valid Inputs
Meaning
1, 2, 3 and 4
9
1 to 9 and A to O
1 to 9 and A to O
S00 to Szz, U00-Uzz, u00-uzz
0000 to 9999
Dependent upon printer. See Appendix K.
P004-P999, 0016-4163*
P004-P999, 0014-4163*
Valid ASCII character string up to 255 characters
followed by a termination character.
Rotation
Fixed Value
Width Multiplier
Height Multiplier
Font data type
Row
Column
Character height; points, dots
Character width; points, dots
Data
* Character size specifications are printhead resolution dependent as indicated in the following table.
Table 8-9: Scalable Font Record Structure
Printhead
Resolution (DPI)
203
300
400
600
Character size (dots)
Width
16-2817
14-4163
22-5550
33-8325
Height
16-2817
16-4163
22-5550
33-8325
Table 8-10: Scalable Character Size Ranges
; Note:
A scalable font cache must be allocated to print. Minimum cache size is 15. The
double byte fonts require five units of additional cache.
4. Barcodes
Valid inputs for the barcode field b are letters. Uppercase letters will print a human-readable text
below the barcode. Lowercase letters will print the barcode only. For example, entering a ‘p’ in the
b field selects the Postnet barcode. Because the Postnet font does not provide human-readable data,
the uppercase P is not valid. Other barcodes without a human-readable counterpart include u
(MaxiCode) and z (PDF417); see Appendix F.
For module-based barcodes, field d is the narrow bar width in dots (barcode module size). For
consistent results in all rotations for barcodes of this type, field d and field c must have the same
value. For ratio-based barcodes 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 barcode information and
66
I & W Class Programmer’s Manual
Generating Label Formats
variations in record format field usage. The eee height field represents the barcode (symbol)
height. The valid range translates to bar heights ranging from .01 inch (.254 mm) to 9.99 inches
(253.7 mm). Barcodes that require additional parameters specified use the jj…j data field as the
location for these parameters. See the specific barcode for details in Appendix G.
Field
a
b [bb]
c
d
eee
ffff
gggg
jj…j
Valid Inputs
1, 2, 3 and 4
A to Z and a to z (except P, u, v, z), or Wna where n is 1 to 9 and
a is A to S and a to s. No n is an implied 1.
1 to 9 and A to O
1 to 9 and A to O
001 to 999
0000 to 9999
See Appendix K.
Valid ASCII character string up to 255 characters followed by a
termination character.
Meaning
Rotation
Barcode
Wide Bar
Narrow Bar
Symbol height
Row
Column
Data
Table 8-11: Barcode Record Structure
Placing a 0 (zero) in both c and d will cause the printer to use the default barcode ratio or module
size. Placing a 000 (zero) in the symbol height field causes the printer to use the default barcode
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
a
b
c
d
eee
ffff
gggg
jj…j
Valid Inputs
1
Y
1 to 9 and A to O
1 to 9 and A to O
000
0000 to 9999
See Appendix K.
ASCII string, up
character.
Meaning
Fixed Value
Image
Width Multiplier
Height Multiplier
Fixed Value
Row
Column
to 16 characters followed by a termination Image name
Table 8-12: 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.
I & W Class Programmer’s Manual
67
Generating Label Formats
Lines and Boxes
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). All measurements are interpreted
as inches/100 or millimeters/10, depending on the printer’s mode, (see <STX>m). The data field
jj…j is used to describe the line or box dimensions.
Segment
a
b
c
d
eee
ffff
gggg
jj..j
Valid Inputs
1
X
1
1
000
0000 to 9999
0000-9999, see Appendix K.
Lhhhvvv
- Line Drawing
lhhhhvvvv
- Line Drawing
Bhhhvvvbbbsss
- Box Drawing
bhhhhvvvvbbbbssss - Box Drawing
Meaning
Fixed value
Line box
Fixed value
Fixed value
Fixed value
Row
Column
Line *
Line **
Box ***
Box ****
Table 8-13: Line and Box Parameters
* LINES:
Where:
Lhhhvvv
L
= “L” and specifies line drawing,
hhh = horizontal width of line,
vvv = vertical height of line.
** LINES:
Where:
lhhhhvvvv
l
= “l” and specifies line drawing,
hhhh = horizontal width of line,
vvvv = vertical height of line.
*** BOXES:
Where:
Bhhhvvvbbbsss
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.
**** BOXES:
Where:
bhhhhvvvvbbbbssss
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: While boxes are hollow, lines are sometimes better understood as filled-in boxes.
68
I & W Class Programmer’s Manual
Generating Label Formats
Polygons
Polygons are created by defining the positions of the corners. Specify 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 visual clarity):
1 X 11 ppp rrrr cccc P ppp bbbb rrrr cccc rrrr cccc ... <CR>
Where:
1
X
1
1
ppp
rrrr
cccc
P
; Note:
Rotation (must be 1)
Graphic field ID
Multiplier (must be 1)
Multiplier (must be 1)
Fill pattern #
Row of point 1
Column of point 1
Polygon ID (Fixed Value)
001
0001
rrrr
cccc
rrrr
cccc
......
<CR>
Fixed Value
Fixed Value
Row of point 2
Column of point 2
Row of point 3
Column of point 3
Additional points
Termination character
Table 8-14: Polygon Record Structure
The points must be specified in the order to be drawn. The last point specified is
automatically connected to the first point, thereby closing 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 may be filled with a variety
of different patterns. Row, column, and radius are interpreted as inches/100 or millimeters/10
depending on printer mode.
Record structure for a circle (spaces added for visual clarity):
1 X 11 fff rrrr cccc C ppp bbbb rrrr <CR>
Where:
1
X
1
1
fff
rrrr
Rotation (must be 1)
Graphic field
Multiplier (must be 1)
Multiplier (must be 1)
Fill pattern #
Row of the center point
cccc
C
001
0001
rrrr
<CR>
Column of the center point
Circle ID (Fixed Value)
Fixed Value
Fixed Value
Radius of the circle
Termination character
Table 8-15: Circle Record Structure
I & W Class Programmer’s Manual
69
Generating Label Formats
Fill Patterns for Polygons and Circles:
0
no pattern
1
solid black
2
6% black
3
12% black
4
25% black
5
38% black
6
50% black
7
little diamonds
8
little circles
9
right diagonal lines
10
left diagonal lines
11
small grid
Figure 8-2: Fill Patterns
70
I & W Class Programmer’s Manual
Generating Label Formats
Graphics Examples (spaces shown in the record are for visual clarity only):
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)
(row 0010, column 0010)
(row 0010, column 0040)
2. Rectangle with Fill
The record:
1 X 11 004 0010 0010 P 001 0001 0050 0010 0050 0200 0010 0200 <CR>
Produces a rectangle filled with pattern 4 (25% black):
(row 0010, column 0010)
(row 0050, column 0200)
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:
4. Circle with Fill
The record:
1 X 11 009 0100 0100 C 001 0001 0025 <CR>
Produces a circle centered at row 0100, column 0100 with a radius of 0025 and filled with
pattern 9 (right diagonal lines):
I & W Class Programmer’s Manual
71
Generating Label Formats
Advanced Format Attributes
Two different advanced formatting attributes extend the text presentation capabilities. The first format
attribute allows a set of label format records to make a state change that modifies the font attributes of
any following DPL text records. The second format attribute provides a means of inserting text and
font formatting commands directly into the DPL data stream via a command delimiter structure.
; Note:
These commands are only valid for “scalable” font, such as Internal Font 9, S00 and S01.
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
FB
+/FI
+/FU
+/FPn
Points
FSn
FR[+/-]n
Purpose
Turns on or off emboldment of the font
Turns on or off italicize of the font
Turns on or off underling of string.
Specify the vertical point size of the following
text relative to the base line.
Points Specify the horizontal point size of the following
text relative to the base line.
Degrees Specify the rotation of the base line, relative to
the original print direction of the record.
Notes
If a + or – precedes the
numeric value, then the
direction is relative to the
current print direction.
Table 8-16: Advanced Format Attributes
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
72
I & W Class Programmer’s Manual
Generating Label Formats
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+B1911S0101400040P018P018New DPL World
FU-B+
1911S0100800040P018P018New DPL World
FB+I+U+
1911S0100200040P018P018New DPL World
FB-U-IE
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\<FR5>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\<FR5>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\<FR5>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+U1911S0101000040P018P012DPL allows \<FB+I+>COMBINATIONS\<FB-I-> in the string
FB+I1911S0100600040P018P018DPL allows \<FB+>BOLD\<FB-> in the string
FU+I+
1911S0100200040P018P018DPL allows \<FB+>BOLD\<FB-> in the string
FB-U-IE
I & W Class Programmer’s Manual
73
Generating Label Formats
Figure 3 is an example of the output from this DPL command
stream. The user has the ability to change the point and set size of
the font within the DPL command record. In addition, the angle of
the baseline may be specified relative to the current orientation of
the record. (For example, the command \<FR+45> will rotate the
baseline forty five degrees in the positive direction from the
default print direction.)
Figure 3
; Note:
74
Refer to the Section 8 for more information regarding the DPL record format for a scalable
font text string.
I & W Class Programmer’s Manual
Appendix A
ASCII Control Chart
Ctrl @
Ctrl A
Ctrl B
Ctrl C
Ctrl D
Ctrl E
Ctrl F
Ctrl G
Ctrl H
Ctrl I
Ctrl J
Ctrl K
Ctrl L
Ctrl M
Ctrl N
Ctrl O
Ctrl P
Ctrl Q
Ctrl R
Ctrl S
Ctrl T
Ctrl U
Ctrl V
Ctrl W
Ctrl X
Ctrl Y
Ctrl Z
Ctrl [
Ctrl \
Ctrl ]
Ctrl ^
Ctrl _
Char
NUL
SOH
STX
EXT
EOT
ENQ
ACK
BEL
BS
HT
LF
VT
FF
CR
SO
SI
DLE
DC1
DC2
DC3
DC4
NAK
SYN
ETB
CAN
EM
SUB
ESC
FS
GS
RS
US
Dec
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Hex
00
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
10
11
12
13
14
15
16
17
18
19
1A
1B
1C
1D
1E
1F
I & W Class Programmer’s Manual
Char
!
“
#
$
%
&
Ô
(
)
*
+
,
.
/
0
1
2
3
4
5
6
7
8
9
:
;
<
=
>
?
Dec
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Hex
20
21
22
23
24
25
26
27
28
29
2A
2B
2C
2D
2E
2F
30
31
32
33
34
35
36
37
38
39
3A
3B
3C
3D
3E
3F
Char
@
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
[
\
]
^
_
Dec
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Hex
40
41
42
43
44
45
46
47
48
49
4A
4B
4C
4D
4E
4F
50
51
52
53
54
55
56
57
58
59
5A
5B
5C
5D
5E
5F
Char
`
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
{
|
}
~
Dec
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Hex
60
61
62
63
64
65
66
67
68
69
6A
6B
6C
6D
6E
6F
70
71
72
73
74
75
76
77
78
79
7A
7B
7C
7D
7E
7F
75
Appendix A
ASCII Control Chart (continued)
Char
Dec
Hex
Char
Dec
Hex
Char
Dec
Hex
Char
Dec
Hex
Ç
128
80
á
160
A0
192
C0
Ó
224
E0
ü
129
81
í
161
A1
193
C1
ß
225
E1
é
130
82
ó
162
A2
194
C2
Ô
226
E2
â
131
83
ú
163
A3
195
C3
Ò
227
E3
ä
132
84
ñ
164
A4
196
C4
õ
228
E4
à
133
85
Ñ
165
A5
197
C5
Õ
229
E5
å
134
86
ª
166
A6
ã
198
C6
µ
230
E6
ç
135
87
°
167
A7
Ã
199
C7
þ
231
E7
ê
136
88
¿
168
A8
200
C8
Þ
232
E8
ë
137
89
®
E9
è
138
8A
ï
139
8B
1/2
î
140
8C
ì
141
8D
Ä
142
8E
Å
143
8F
É
144
90
æ
145
91
Æ
146
92
ô
147
93
³
ö
148
94
´
ò
149
95
Á
181
B5
û
150
96
Â
182
B6
Í
ù
151
97
À
183
B7
ÿ
152
98
©
184
B8
Ö
153
99
¹
185
B9
Ü
154
9A
186
BA
ø
155
9B
187
BB
£
156
9C
188
BC
Ø
157
9D
¢
189
BD
x
158
9E
¥
190
BE
ƒ
159
9F
191
BF
; Notes:
169
A9
201
C9
Ú
233
170
AA
202
CA
Û
234
EA
171
AB
203
CB
Ù
235
EB
1/4
172
AC
204
CC
ý
236
EC
¡
173
AD
205
CD
Ý
237
ED
174
AE
206
CE
238
EE
¯
²
»
175
AF
207
CF
239
EF
176
B0
ð
208
D0
240
F0
177
B1
Ð
209
D1
178
B2
Ê
210
D2
179
B3
Ë
211
D3
180
B4
È
212
D4
213
D5
245
F5
214
D6
÷
246
F6
Î
215
D7
¸
247
F7
Ï
216
D8
º
248
F8
217
D9
¨
249
F9
218
DA
·
250
FA
219
DB
251
FB
220
DC
252
FC
221
DD
253
FD
222
DE
254
FE
223
DF
255
FF
Ì
±
3/4
241
F1
242
F2
243
F3
244
F4
(1) For hardware handshake XON/XOFF commands:
XON = Ctrl Q (DC1)
XOFF = Ctrl S (DC3)
(2) The Euro
character has been added to the table above at 255 (FF) as a Datamax
standard for resident bit-mapped fonts 0,1,2,3,4,5,6, and 9 (CG Triumvirate).
76
I & W Class Programmer’s Manual
Appendix B
Sample Programs
‘C’ Language Program
The following sample ‘C’ program is included for reference. Figure B-1 shows the output generated
by this program.
/ DMX SERIES Sample C program /
# include <stdio.h>
main ()
{
char pcs = “590”;
char desc = “10K OHM 1/4 WATT”;
fputs (“DMX Printer Test Program\n”, stdout);
fputs (“\x02L\n”, stdaux);
fputs (“H07\n” stdaux);
fputs (“D11\n”, stdaux);
/ STX L – Enter Label Formatting /
/ Enter Heat Setting of 7/
/ Set Width and Height Dot Size /
fprintf (stdaux, “191108010000025%s\n”,desc);
/ Select smooth Font /
fprintf (stdaux, “1a6210000000050%sPCS\n”, pcs); / Select Barcode type ‘a’ /
fputs (“E\n”, stdaux);
/ End Label format mode and print/
}
10K OHM 1/4 WATT
Figure B-1: Sample Label
I & W Class Programmer’s Manual
77
Appendix B
ASCII text file
The following ASCII text file will also generate the label shown in Figure B-1.
^BL
H07
D11
19110080100002510K OHM 1/4 WATT<CR>
1a6210000000050590PCS<CR>
E<CR>
VB Application Generating DPL
The following sample is a Visual Basic program that displays a database record on the screen. A user
can scroll through the records and then print a selected one. Five barcodes are printed along with data
fields and headings.
‘Printer DPL Controls
Dim CharSet As String
Const StartLabel = “L”
Const EndLabel = “E”
Const PrintDensity = “D11”
‘<STX> byte
‘Printer DPL Data to position dynamic information on label
Const OrderTxt = “191100704150010”
‘font 9, 24 pt
Const OrderBC = “1a6205004200120”
Const CustomerTxt = “191100603600010”
Const
Const
Const
Const
Item1NO = “191100403250010”
Item1BC = “1a6204002870010”
Item1Txt = “191100402690010”
Item1Qty = “191100603070260”
‘DPL Fixed Items on label
Const Itm1 = “191100303400010Item #”
Const Qty1 = “191100303400250Quantity”
Const Boxsize = “B065035002002”
Const BoxPos1 = “1X1100003050240”
Const Image1 = “1Y3300004750010SLANT1”
Dim Fixed As String
‘Item Variables
Dim Item1 As String
Dim PrintLabel As String
Dim OrderData As String
‘Print label by clicking print button with the mouse
Private Sub cmdPrint_Click()
78
I & W Class Programmer’s Manual
Sample Programs
‘Concatenate all the dynamic data fields with the constant header
strings, terminated with <cr> Chr$(13)
OrderData = OrderTxt & txtOrderNo.Text & Chr$(13) & OrderBC &
txtOrderNo.Text & Chr$(13) & CustomerTxt & txtCustomer.Text
Item1 = Item1NO & txtItem1.Text & Chr$(13) & Item1BC &
txtItem1.Text & Chr$(13) & Item1Txt & txtItem1Desc.Text & Chr$(13)
& Item1Qty & txtItem1Qty.Text
‘Concatinate entire label format and send out serial port
PrintLabel = CharSet & MaxLength & Chr$(13) & CharSet &
StartLabel & Chr$(13) & PrintDensity & Chr$(13) & Image1 & Chr$(13)
& OrderData & Chr$(13) & Item1 & Chr$(13) & Fixed & Chr$(13) &
EndLabel
Comm1.Output = PrintLabel
End Sub
‘Display the record form on the screen
Private Sub Form_Load()
Fixed = Itm1 & Chr$(13) & Chr$(13) & Qty1 & Chr$(13) & Chr$(13)
& BoxPos1 & Boxsize & Chr$(13)
CharSet = Chr$(126)
‘Alternate <stx> character ~
MComm.PortOpen = 1
‘Open the serial port
End Sub
‘Exit the program by clicking Exit button with the mouse
Private Sub cmdExit_Click()
Comm1.PortOpen = 0
‘Close down the serial port
End
End Sub
I & W Class Programmer’s Manual
79
Appendix B
VB Application interfacing via Windows Driver
Create a form similar to the one shown here.
VERSION 5.00
Begin VB.Form Form1
Caption
=
“Datamax Test Print”
ClientHeight
=
1065
ClientLeft
=
60
ClientTop
=
345
ClientWidth
=
2325
LinkTopic
=
“Form1”
MaxButton
=
0
‘False
MinButton
=
0
‘False
ScaleHeight
=
1065
ScaleWidth
=
2325
StartUpPosition =
3 ‘Windows Default
Begin VB.ComboBox cmboFonts
Height
=
315
Left
=
90
TabIndex
=
2
Text
=
“Font List”
Top
=
45
Width
=
2130
End
Begin VB.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
‘Print label by clicking print button with the mouse
Private Sub cmdPrint_Click()
80
I & W Class Programmer’s Manual
Sample Programs
‘font name as seen in application font list box
‘if not found, driver will inform GDI to generate an
‘image that will be downloaded
Printer.FontName = cmboFonts.Text
‘1,440 twips equals one inch
Printer.Height = 6480
‘4.5 inches in twips
Printer.Width = 5760
‘4 inches in twips
Printer.CurrentX = 1440
‘1 inch (column position)
Printer.CurrentY = 2160
‘2 inches (row position)
Printer.Print “0123456789”
Printer.EndDoc
End Sub
Private Sub Form_Load()
Dim X As Printer
Dim I As Integer ‘Used for the font list
‘ search for printer queue name / driver name
For Each X In Printers
If X.DeviceName = “Datamax I-4206” Then ‘printer found
‘ Set printer as system default.
Set Printer = X
For I = 0 To Printer.FontCount - 1 ‘ Determine number of fonts.
cmboFonts.AddItem Printer.Fonts(I)
‘ Put each font into list box.
Next I
Exit For
End If
Next
End Sub
‘Exit the program and shut down the serial port
‘by clicking Exit button with the mouse
Private Sub cmdExit_Click()
End
End Sub
When the program is run, the combo box should be populated with the available fonts as shown below.
I & W Class Programmer’s Manual
81
Appendix B
VB Application interfacing via Windows Driver
This is a sample Visual Basic program that checks for any printer driver attached to “LPT1:”. If one
is installed then a DPL file can be printed via the print driver. **Note that this does not have to be a
Datamax DPL print driver. DPL is created by the application and sent to LPT1.
To begin, a global variable called SelPrinter must be defined as a string. Then use the following
code to create a .frm file.
VERSION 5.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
82
I & W Class Programmer’s Manual
Sample Programs
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
'**********************************
'** Type Definitions:
#If Win32 Then
Private Type DOC_INFO_1
pDocName As String
pOutputFile As String
pDatatype As String
End Type
#End If 'WIN32 Types
'**********************************
'** Function Declarations:
#If Win32 Then
Private Declare Function OpenPrinter& Lib "winspool.drv" Alias "OpenPrinterA"
(ByVal pPrinterName As String, phPrinter As Long, ByVal pDefault As Long) '
Third param changed to long
Private Declare Function StartDocPrinter& Lib "winspool.drv" Alias
"StartDocPrinterA" (ByVal hPrinter As Long, ByVal Level As Long, pDocInfo As
DOC_INFO_1)
Private Declare Function StartPagePrinter& Lib "winspool.drv" (ByVal hPrinter
As Long)
Private Declare Function WritePrinter& Lib "winspool.drv" (ByVal hPrinter As
Long, pBuf As Any, ByVal cdBuf As Long, pcWritten As Long)
Private Declare Function EndDocPrinter& Lib "winspool.drv" (ByVal hPrinter As
Long)
Private Declare Function EndPagePrinter& Lib "winspool.drv" (ByVal hPrinter As
Long)
Private Declare Function ClosePrinter& Lib "winspool.drv" (ByVal hPrinter As
Long)
#End If 'WIN32
I & W Class Programmer’s Manual
83
Appendix B
Dim ch As String * 1, f1 As Integer, loadfile As String
Private Sub cmdOpenFile_Click()
On Error GoTo ErrHandler
' Set Filters
CommonDialog1.Filter = "All Files (*.*)|*.*"
'Specify Default Filter
CommonDialog1.FilterIndex = 1
'Display Open dialog box
CommonDialog1.ShowOpen
loadfile = CommonDialog1.FileName
Label2.Caption = loadfile
Exit Sub
ErrHandler:
Exit Sub
End Sub
Private Sub cmdStoreImage_Click()
Dim hPrinter&
Dim jobid&
Dim res&
Dim written&
Dim printdata$
Dim docinfo As DOC_INFO_1
loadfile = Form1.txtFile.Text
If loadfile = "" Then
MsgBox "You must Open a file to send", vbExclamation
Exit Sub
End If
' Open file.
f1 = FreeFile
Open loadfile For Binary As f1
' Open printer for printing
res& = OpenPrinter(SelPrinter, hPrinter, 0)
If res = 0 Then
MsgBox "Unable to open the printer"
Exit Sub
End If
docinfo.pDocName = "MyDoc"
docinfo.pOutputFile = vbNullString
docinfo.pDatatype = vbNullString
jobid = StartDocPrinter(hPrinter, 1, docinfo)
Call StartPagePrinter(hPrinter)
Call WritePrinter(hPrinter, ByVal printdata$, Len(printdata$), written)
While Not EOF(1)
Get #f1, , ch
printdata$ = ch
Call WritePrinter(hPrinter, ByVal printdata$, Len(printdata$),
written)
Wend
Call EndPagePrinter(hPrinter)
Call EndDocPrinter(hPrinter)
Call ClosePrinter(hPrinter) ' Close when done
84
I & W Class Programmer’s Manual
Sample Programs
' Close file
Close #1
MsgBox "File sent to print spooler.", vbExclamation
End Sub
Private Sub cmdClose_Click()
Unload Me
End Sub
Private Sub exit_Click()
End
End Sub
Private Sub Form_Load()
Dim X As Printer
' search for printer queue name / driver name
For Each X In Printers
If X.Port = "LPT1:" Then 'printer found
' Set printer as system default.
SelPrinter = X.DeviceName
Exit For
End If
Next
End Sub
Private Sub lpt2_Click()
End Sub
Private Sub open_Click()
CommonDialog1.ShowOpen
loadfile = CommonDialog1.FileName
txtFile.Text = loadfile
End Sub
Private Sub Printer_Click()
CommonDialog1.ShowPrinter
End Sub
This will create the form pictured below.
; Note:
It may be necessary to remove and reinsert the common dialog control due to Windows
registry issues.
I & W Class Programmer’s Manual
85
®
Appendix B
86
I & W Class Programmer’s Manual
Appendix C
Available Fonts – Sizes, References, and Samples
All character bit-mapped fonts available on the printers are described in this section. Each font has a
name (Font ID) associated with it for use in programming. Use the Font Number (in the left column of
Table C-1) in field b of the Format Record header to cause the printer to use the corresponding font.
Fonts 0 through 8 use the slash zero (Ø) conventions for distinguishing between the zero and the
alphabetic O. The slash can be removed with the label-formatting command Z. These fonts are nonproportional (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
Number
0
1
2
3
4
5
6
7
8
9
9
Use with Record
Structure Type
Valid ASCII Characters (decimal)
32-127
32-168, 171, 172, 225
32-168, 171, 172, 225
32, 35-38, 40-58, 65-90, 128, 142-144, 146, 153, 154, 156, 157, 165, 168, 225
32, 35-38, 40-58, 65-90, 128, 142-144, 146, 153, 154, 156, 157, 165, 168, 225
32, 35-38, 40-58, 65-90, 128, 142-144, 146, 153, 154, 156, 157, 165, 168, 225
32, 35-38, 40-58, 65-90, 128, 142-144, 146, 153, 154, 156, 157, 165, 168, 225
32-126
32, 48-57, 60, 62, 67, 69, 78, 83, 84, 88, 90
32-126, 128-169, 171-173, 181-184, 189, 190, 198, 199, 208-216, 222, 224237, 241, 243, 246-250
Dependent upon selected symbol set, see Appendix H.
Internal
Bit-Mapped
Fonts
Smooth Font
Scalable Font
Table C-1: Valid Human-Readable Font (Internal) ASCII Characters
Font sizes are dependent upon the printhead resolution of the printer used; Tables C-2 to C-5 list the font
sizes by resolution with dimensions given in dots.
Font
Font 0
Font 1
Font 2
Font 3
Font 4
Font 5
Font 6
Font 7
Font 8
Height
7
13
18
27
36
52
64
32
28
Width
5
7
10
14
18
18
32
15
15
Spacing
1
2
2
2
3
3
4
5
5
Point Size
2.5
4.6
6.4
9.6
12.8
18.4
22.7
11.3
9.9
Table C-2: Font Sizes - 203 DPI Resolution
I & W Class Programmer’s Manual
87
Appendix C
Font
Font 0
Font 1
Font 2
Font 3
Font 4
Font 5
Font 6
Font 7
Font 8
Height
10
19
27
40
53
77
95
47
41
Width
7
10
15
21
27
27
47
22
22
Spacing
1
3
3
3
4
4
6
7
7
Point Size
2.4
4.6
6.5
9.6
12.7
18.5
22.8
11.3
9.8
Table C-3: Font Sizes - 300 DPI Resolution
Font
Font 0
Font 1
Font 2
Font 3
Font 4
Font 5
Font 6
Font 7
Font 8
Height
14
26
36
54
72
104
128
64
56
Width
10
14
20
28
36
36
64
30
30
Spacing
2
4
4
4
6
6
8
10
10
Point Size
2.5
4.6
6.4
9.6
12.8
18.4
22.7
11.3
9.9
Table C-4: Font Sizes - 406 DPI Resolution
Font
Font 0
Font 1
Font 2
Font 3
Font 4
Font 5
Font 6
Font 7
Font 8
Height
20
38
54
80
106
154
190
94
82
Width
14
20
30
42
54
54
94
44
44
Spacing
2
6
6
6
8
8
12
14
14
Point Size
2.4
4.6
6.5
9.6
12.7
18.5
22.8
11.3
9.8
Table C-5: Font Sizes - 600 DPI Resolution
Internal Smooth Font 9 (Smooth Font) Point Size Specifiers
Label format records with font code 9 (in Format Record header field b) can specify any of the font sizes
in the left-most column of the table below. The corresponding specification, in either of the columns –
labeled Ann or nnn, is used in the font size/selection (eee height) field to select the desired font size. In
the example below, a 300 DPI printer will use 4-point smooth font to produce the printed string: four
point font. The character mapping for this font is the selected scalable symbol set, see Appendix E.
E.g.,
88
1911A0400100010four point font<CR>
I & W Class Programmer’s Manual
Appendix C
Font Size Specification Syntax
Point Size
Ann
4
5
6
8
10
12
14
18
24
30
36
48
72
A04
A05
A06
A08
A10
A12
A14
A18
A24
A30
A36
A48
A72
nnn
All Others
000 1
001
002
003
004
005
006
007
008
009
010
-
Table C-6: Internal Bit-Mapped (Smooth Font) 9 Size Chart
Internal Bit-Mapped and Smooth Font Samples
The identifying number is used in the Format Record header field b to cause the printer to use the
corresponding font.
0: Identifies a 96-character alphanumeric font, uppercase and lowercase.
1: Identifies a 145-character uppercase and lowercase alphanumeric font that includes desenders
and ascenders.
2: Identifies a 138-character alphanumeric upper and lowercase font.
I & W Class Programmer’s Manual
89
Appendix C
3: Identifies a 62-character alphanumeric uppercase font.
4: Identifies a 62-character alphanumeric uppercase font.
5: Identifies a 62-character alphanumeric upper case font.
6: Identifies a 62-character alphanumeric uppercase font.
90
I & W Class Programmer’s Manual
Appendix C
7: Identifies a font that prints OCR-A, size I.
8: Identifies a font that prints OCR-B, size III.
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-7.
I & W Class Programmer’s Manual
91
Appendix C
92
I & W Class Programmer’s Manual
Appendix D
Reset Codes
The most common codes that could be transmitted by Datamax printers to the host are described below.
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 buttons.
I & W Class Programmer’s Manual
93
Appendix D
94
I & W Class Programmer’s Manual
Appendix E
Single Byte Symbol Sets
The following tables include some of the sixty-six standard symbol sets. Not all of these symbol sets can
be used with every font. Symbol sets containing the Euro currency character are W1, WE, WG, WL, WT,
and WR (optional); see Appendix I, and the <STX>y command.
; Note:
The following sets were produced using a Windows“-based PC-compatible with an English
(United States) keyboard properties layout. Results may vary if printing this document using a
different input locale.
(DN) ISO 60: Danish / Norwegian Symbol Set
00
10
20
30
40
50
60
70
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
@
P
‘
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
Æ
k
æ
,
<
L
Ø
l
ø
=
M
Å
m
å
.
>
N
^
n
¯
/
?
O
_
o
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
@
P
‘
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
[
k
{
,
<
L
\
l
|
=
M
]
m
}
.
>
N
^
n
~
/
?
O
o
¶
“
±
)
º
‘
§
µ
×
«
æ
ˆ
†
‰
÷
»
Æ
¨
‡
•
°
‚
ð
˜
©
z
®

¢
–
—
“
–
(
ª
‘
þ
½
¿
■
²
£
Œ
,
fi
¬
/
fl
¦
¹
…
‘
³
¥
ø
l
(DT) DeskTop Symbol Set
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
I & W Class Programmer’s Manual
′
„
Ð
ß
o
″
‘
ij
Ù
¼
¡
IJ
µ
W
¾
Pt
t
ƒ
Ã
>
œ
¯
Þ
¼
Ø
l
=
ƒ
þ
l
ß
Þ
95
Appendix E
(E1) ISO 8859/1 Latin 1 Symbol Set
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
@
P
‘
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
[
k
{
,
<
L
\
l
|
=
M
]
m
}
.
>
N
^
n
~
/
?
O
o
°
À
Ð
à
ð
¡
±
Á
Ñ
á
ñ
¢
²
Â
Ò
â
ò
£
³
Ã
Ó
ã
ó
¤
´
Ä
Ô
ä
ô
¥
µ
Å
Õ
å
õ
¦
¶
Æ
Ö
æ
ö
§
·
Ç
×
ç
÷
¬
¼
Ì
Ü
ì
ü
½
Í
Ý
í
ý
®
¾
Î
Þ
î
þ
¯
¿
Ï
ß
ï
ÿ
0
1
2
3
4
5
6
7
8
00
10
20
30
40
50
60
70
80
90
A0
0
@
P
‘
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
Ù
à
¤
B0
º
á
ó
´
Ä
Ô
ä
ô
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
l
¨
©
ª
“
“
å
È
Ø
è
ø
É
Ù
é
ù
Ê
Ú
ê
ú
«
»
Ë
Û
ë
û
9
A
B
C
D
E
F
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
[
k
{
,
<
L
\
l
|
=
M
]
m
}
.
>
N
^
n
~
/
?
O
o
§
¨
·
Z
¸
°
¹
Š
·
š
“
z
Î
ü
Í
Ý
í
ý
(E2) ISO 8859/2 Latin 2 Set
C0
D0
E0
F0
Á
Â
Ð
Ó
á
â
Ö
ö
Ç
×
ç
÷
É
Ø
Ë
Ú
é
Ü
ë
ú
l
ß
î
(E5) ISO 8859/5 Latin 5 Set
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
96
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
@
P
‘
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
[
k
{
,
<
L
\
l
|
=
M
]
m
}
.
>
N
^
n
~
/
?
O
o
¡
±
Á
Ñ
á
ñ
¢
²
Â
Ò
â
ò
£
³
Ã
Ó
ã
ó
¤
´
Ä
Ô
ä
ô
¥
µ
Å
Õ
å
õ
¦
¶
Æ
Ö
æ
ö
§
·
Ç
×
ç
÷
¨
¸
È
Ø
è
ø

¹
É
Ù
é
ù
ª
º
Ê
Ú
ê
ú
«
»
Ë
Û
ë
û
¬
¼
Ì
Ü
ì
ü
½
Í

¾
Î
í
I
î
¯
¿
Ï
ß
ï
ÿ
º
À
à
l
I & W Class Programmer’s Manual
Appendix E
(FR) ISO 69: French Symbol Set
00
10
20
30
40
50
60
70
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
à
P
µ
p
!
1
A
Q
a
q
“
2
B
R
b
r
£
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
º
k
é
,
<
L
ç
l
ù
=
M
§
m
è
.
>
N
^
n
¨
/
?
O
_
o
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
§
P
‘
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
Ä
k
ä
<
L
Ö
l
ö
=
M
Ü
m
ü
.
>
N
^
n
ß
/
?
O
_
o
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
§
P
ù
p
!
1
A
Q
a
q
“
2
B
R
b
r
£
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
º
k
à
,
<
L
ç
l
ò
=
M
é
m
è
.
>
N
^
n
ì
/
?
O
_
o
l
(GR) ISO 21: German Symbol Set
00
10
20
30
40
50
60
70
l
(IT) ISO 15: Italian Symbol Set
00
10
20
30
40
50
60
70
l
(LG) Legal Symbol Set
0
00
10
20
30
40
50
60
70
0
"
P
°
p
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
[
k
§
,
=
L

l
¶
=
M
]
m
†
„
.
/
?
O
_
o
I & W Class Programmer’s Manual
N

n
™
l
97
Appendix E
(MC) Macintosh Symbol Set
0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
0
@
P
`
p
Ä
ê
†
’
¢
–
‡
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
!
1
A
Q
a
q
Å
ë
º
±
¡
—
`
Ò
“
2
B
R
b
r
Ç
í
#
3
C
S
c
s
É
ì
£
$
4
D
T
d
t
Ñ
î
§
%
5
E
U
e
u
Ö
ï
•
µ
&
6
F
V
f
v
Ü
ñ
¶
∂
∆
÷
Ê
ˆ
‘
7
G
W
g
w
á
ó
ß
(
8
H
X
h
x
à
ò
®
∏
»
ÿ
Ë
¯
)
9
I
Y
i
y
â
ô
©
*
:
J
Z
j
z
ä
ö
™
∫
+
;
K
[
k
{
ã
õ
´
,
<
L
\
l
|
å
ú
¨
=
M
]
m
}
ç
ù
≠
.
>
N
^
n
~
é
û
Æ
/
?
O
_
o
<
Ï
¸
Õ
>
Ì
¨
Œ
fi
Ó
œ
fl
Ô
„
”
¬
“
‚
Ú
•
¥
–
I
§
“
„
Û
‘
‰
Ù
‘
Â
3
4
5
6
♥
!!
♦
¶
♣
§
♠
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
â
ô
ú
ä
ö
ñ
à
ò
Ñ
L
Z
M
F
Y
d
D

’
«
◊
Á
˜
›
…
Ÿ
È

À
Ù
/
Í
¤
Ú
Î
º
ƒ
®
˜
Þ
è
ü
Ø
Ø
ß
(PC) PC-8 Code Page 437 Symbol Set
0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
1
-
2
0
@
P
`
p
!
1
A
Q
a
q
↕
“
2
B
R
b
r
Ç
É
á
ü
æ
í
é
Æ
ó
k
l
m
?
7
8
9
A
B
C
D
E
ð
6
&
6
F
V
f
v
‘
7
G
W
g
w
↑
(
8
H
X
h
x
↓
)
9
I
Y
i
y
→
*
:
J
Z
j
z
←
+
;
K
[
k
{
,
<
L
\
l
|
↔
=
M
]
m
}
▲
.
>
N
^
n
~
å
û
ª
ç
ù
°
ê
ÿ
¿
ë
Ö
è
Ü
¬
ï
½
î
£
¼
ì
¥
¡
Ä
Pt
«
Å
ƒ
»
b
P
S
c
_
T
W
`
l
V
[
k
d
U
K
R
j
H
X
g
^
a
]
Q
÷
§
|
’
’
¥
’
I
h
n
E
/
i
ÿ
\
m
n
2
v
z
J
O
e
a
A
ß
±
N
f
J
t
0
1
2
3
4
5
6
0
@
P
`
p
♣
§
%
5
E
U
e
u
z
!
1
A
Q
a
q
♦
¶
$
4
D
T
d
t
♠
↕
“
2
B
R
b
r
♥
!!
#
3
C
S
c
s
&
6
F
V
f
v
Ç
É
á
ü
æ
í
é
Æ
ó
â
ô
ú
ä
ö
ñ
à
ò
Ñ
J
O
e
L
Z
M
F
Y
a
ß
±
N
f
J
t
d
D
i
›
™
±
—
“
ÿ
C
ˆ
Q
h
Ÿ
{
g
z

j
}
F
5
▼
/
?
O
_
o
B
@
(PD) PC-8 D/N, Code Page 437N Symbol Set
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
98
k
i
A
-
l
m
?
›
™
7
8
9
A
B
C
D
E
6
‘
7
G
W
g
w
↑
(
8
H
X
h
x
↓
)
9
I
Y
i
y
→
*
:
J
Z
j
z
←
+
;
K
[
k
{
,
<
L
\
l
|
↔
=
M
]
m
}
▲
.
>
N
^
n
~
å
û
õ
ç
ù
Õ
ê
ÿ
¿
ë
Ö
ã
è
Ü
Ã
ï
ø
î
£
ì
Ø
¡
Ä
b
P
S
c
_
T
W
`
l
V
[
k
d
U
K
R
j
H
X
g
^
a
]
Q
\
m
E
|
’
’
¥
’
÷
§
/
2
v
±
w
—
“
ÿ
ˆ
Ÿ

h
{
Œ
g
n
z
i
ÿ

F
5
▼
/
?
O
_
o
B
Å
³
¤
j
}
I
h
n
@
I & W Class Programmer’s Manual
Appendix E
(PE) PC-852 Latin 2 Symbol Set
0
00
10
1
-
2
0
@
P
`
p
!
1
A
Q
a
q
↕
“
2
B
R
b
r
80
Ç
ü
é
90
É
A0
B0
C0
D0
E0
F0
á
í
ó
20
30
40
50
60
70
k
l
m
J
O
ð
Ó
Ð
ß
“
Ô
1
2
Ù
„
N
3
4
5
6
♥
!!
♦
¶
♣
§
♠
w
z
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
â
ä
ô
ö
ä
ú
?
L
M
F
Á
7
8
9
A
B
C
D
E
6

‘
7
G
W
g
w
↑
(
8
H
X
h
x
↓
)
9
I
Y
i
y
→
*
:
J
Z
j
z
←
+
;
K
[
k
{
,
<
L
\
l
|
↔
=
M
]
m
}
5
▲
.
>
N
^
n
~
▼
/
?
O
_
o
ç
á
ë
å
Â
P
[
Ë
Í
Š
÷
Î
š
Ù
§
3
4
5
6
7
‚
Ê
“
Ì
“
Ë
‘
É
°
{
z
î
Ö
Ü
d
U
K
R
j
H
Ú
¨
´
h
B
Ä
à
X
g
F
×
«
»
^
a
Q
ý
Ý
C
D
E
F


§
ª
¶
‹
›
g
m
„
¤
n
´
(PI) PI Font Symbol Set
0
00
10
20
30
40
50
¯
::
∆
‘
I
℘
∑
8
〈
∆
!
60
9
A
〉
Œ
∇
B
©
>
?
¸
l
◆
70
(PM) PC-850 Multilingual Symbol Set
0
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
1
-
2
3
4
5
6
7
♦
¶
$
4
D
T
d
t
♣
§
%
5
E
U
e
u
♠
●
&
6
F
V
f
v
‘
7
G
W
g
w
ä
ö
ñ
à
ò
Ñ
Á
å
û
ª
Â
ã
ç
ù
°
À
Ã
0
@
P
`
p
!
1
A
Q
a
q
2
B
R
b
r
❤
!!
#
3
C
S
c
s
Ç
É
á
ü
æ
í
é
Æ
ó
m
â
ô
ú
?
E
ð
Ó
-
Ð
ß
Ê
Ô
=
Ë
Ò
¾
È
õ
¶
k
l
“
³
I & W Class Programmer’s Manual
Õ
Õ
§
Ë
·
þ
¸
8
9
A
B
Ï
Ð
Î
Í
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
ê
ÿ
¿
ë
Ö

è
Ü
‹
Î
Þ
º
Ô
“
Ó
C
D
E
+
;
K
[
k
{
‚
<
L
\
l
|
¨
=
M
]
m
}
▲
·
>
N
^
n
~
▼
/
?
O
_
o
ï
ø
½
î
£
¼
ì
Ø
¡
Ä
Å
ƒ
»
{
Ò
¹
z
ý
³
„
Ý
ð
ê
«
¥
Î
¯
F
5
B
¼
´
@
99
Appendix E
(PT) PC-8 TK, Code Page 437T Symbol Set*
0
1
2
3
†
4
5
6
7
♦
♣
♠
●
¶
$
4
D
T
d
t
§
%
5
E
U
e
u
²
&
6
F
V
f
v
‘
7
G
W
g
w
00
-
10
20
30
40
50
60
70
0
@
P
`
p
!
1
A
Q
a
q
2
B
R
b
r
!!
#
3
C
S
c
s
Ç
É
á
ü
æ
í
é
Æ
ó
â
ô
ú
ä
ö
ñ
à
ò
Ñ
å
û
ª
ç
ù
°
N
f
J
t
L
Z
Œ
M
F
Y
™
c
_
T
W
`
l
D
b
P
S
1
E
µ
÷
§
80
90
A0
B0
C0
D0
E0
F0
k
l
J
O
e
a
ß
±
i
A
s
m
?
d
8
9
A
B
Ï
Ð
Î
Í
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
ê
ÿ
C
ë
Ö
¬
V
[
k
n
d
U
K
,
}
|
’
C
D
E
+
;
K
[
k
{
‚
<
L
\
l
|
=
M
]
m
}
▲
·
>
N
^
n
~
▼
/
?
O
_
o
è
Ü
½
ï
¢
¼
R
j
H
X
g
î
£
¡
^
a
ì
¥
¡
Ä
Pt
«
Å
ƒ
»
’
/
¥
’
i
n
j
}
Ÿ
h
g
n
]
Q
2
\
m
v
F
5
B
I
h
n
@
* Default Symbol Set
(R8) Roman-8 Symbol Set
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
@
P
‘
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
[
k
{
,
<
L
\
l
|
=
M
]
m
}
.
>
N
^
n
~
/
?
O
o
À
Ý
ê
î
Ã
þ
Â
ý
ô
Ø
ã
·
È
º
û
Æ
Ð
µ
Ê
Ç
á
å
ð
¶
Ë
ç
é
Í
Í
¾
Î
Ñ
ó
ø
Ì
—
Ï
ñ
ú
æ
Ó
¼
ˆ
â
Å
Á
Þ
¡
à
Ä
Ò
½
ò
Ö
õ
°
“
£
ù
Ü
Š
«
˜
¥
ä
É
š
■
Ù
§
ë
Ï
Ú
»
Û
ƒ
ö
ß
Ÿ
±
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
§
P
`
p
!
1
A
Q
a
q
“
2
B
R
b
r
£
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
´
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
¡
k
º
=
M
¿
m
ç
.
>
N
^
n
~
/
?
O
_
o
ï
`
¿
è
ì
Õ
ª
¼
l
£
„
ü
Ô
ÿ
(SP) ISO 17: Spanish Symbol Set
00
10
20
30
40
50
60
70
100
<
L
Ñ
l
ñ
l
I & W Class Programmer’s Manual
Appendix E
(SW) ISO 11: Swedish Symbol Set
00
10
20
30
40
50
60
70
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
É
P
é
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
¤
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
Ä
k
ä
,
<
L
Ö
l
ö
=
M
Å
m
å
.
>
N
Ü
n
ü
/
?
O
_
o
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
@
P
`
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
[
k
{
,
<
L
\
l
|
=
M
]
m
}
.
>
N
^
n
~
/
?
O
_
o
¡
`
¢
†
´
£
‡
ˆ
/
·
˜
¥
ƒ
¶
§
•
¤
,
¨
‘
„
“
“
°
«
»
¸
‹
…
›
‰
“
¿
À
à
Ø
Œ
º
á
ø
œ
ß
l
(TS) PS Text Symbol Set
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
¯
Ù
Ü
¿
Þ
ß
—
Æ
ª

æ
F0
(UK) ISO 4: United Kingdom Symbol Set
00
10
20
30
40
50
60
70
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
@
P
`
p
!
1
A
Q
a
q
“
2
B
R
b
r
£
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
[
k
{
,
<
L
\
l
|
=
M
]
m
}
.
>
N
^
n
/
?
O
_
o
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
@
P
‘
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
[
k
{
,
<
L
\
l
|
·
=
M
]
m
}
.
>
N
^
n
~
/
?
O
o
æ
l
(US) ISO 6: ASCII Symbol Set
00
10
20
30
40
50
60
70
I & W Class Programmer’s Manual
l
101
Appendix E
(VI) Ventura International Symbol Set
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
@
P
`
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
[
k
{
,
<
L
\
l
|
=
M
]
m
}
.
>
N
^
n
~
/
?
O
_
o
↵
➞
Ë
ç
é
í
Í
—
Î
Ñ
ó
ø
Ì
–
Ï
ñ
ú
æ
Ó

¡
à
Ä
Ò
„
‰
â
Å
Á
Œ
À
“
ê
î
Ã
œ
Â
“
ô
Ø
ã
¶
È
º
û
Æ
Ê
Ç
á
å
†
‡
0
1
2
3
4
5
6
7
8
0
@
P
‘
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w

¿
è
ì
Õ
ª
?
™
¤
ò
Ö
õ
º
¾
¿
£
ù
Ü
Š
«
¥
ä
É
š
•
Ú
§
ë
ï
Ú
»
Û
ƒ
ö
ß
Ÿ
9
A
B
C
D
E
F
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
[
k
{
,
<
L
\
l
|
=
M
]
m
}
.
>
N
^
n
~
/
?
O
_
o


™
„
ü
Ô
ÿ
…
(VU) Ventura US Symbol Set
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
↵
„
‰
“
?
„
§
“
º
¶
†
‡
—
•
–
…
(W1) Windows 3.1 Latin 1 Symbol Set
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
102
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
@
P
`
p
!
1
A
Q
a
q
$
4
D
T
d
t
„
“
¤
´
Ä
Ô
ä
ô
%
5
E
U
e
u
…
•
¥
µ
Å
Õ
å
õ
&
6
F
V
f
v
†
–
¦
¶
Æ
Ö
æ
ö
‘
7
G
W
g
w
‡
—
§
·
Ç
×
ç
÷
(
8
H
X
h
x
ˆ
˜
¨
¸
È
Ø
è
ø
)
9
I
Y
i
y
‰
™
©
¹
É
Ù
é
ù
*
:
J
Z
j
z
Š
š
ª
º
Ê
Ú
ê
ú
+
;
K
[
k
{
‹
›
«
»
Ë
Û
ë
û
,
<
L
\
l
|
Œ
œ
¬
¼
Ì
Ü
ì
ü
.
>
N
^
n
~
/
?
O
_
o
°
À
Ð
à
ð
#
3
C
S
c
s
ƒ
“
£
³
Ã
Ó
ã
ó
=
M
]
m
}
‘
¡
±
Á
Ñ
á
ñ
“
2
B
R
b
r
‚
‘
½
Í
Ý
í
ý
®
¾
Î
Þ
î
þ
™
„
²
Â
Ò
â
ò
l
Ÿ
¯
¿
Ï
ß
ï
ÿ
I & W Class Programmer’s Manual
Appendix E
(WE) Windows 3.1 Latin 2 Symbol Set
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
00
10
20
30
40
50
60
70
80
90
A0
0
@
P
`
p
!
1
A
Q
a
q
“
2
B
R
b
r
‚
‘
#
3
C
S
c
s
$
4
D
T
d
t
„
“
¤
%
5
E
U
e
u
…
•
&
6
F
V
f
v
†
–
¦
‘
7
G
W
g
w
‡
—
§
(
8
H
X
h
x
)
9
I
Y
i
y
‰
™

*
:
J
Z
j
z
Š
š
+
;
K
[
k
{
‹
›
«
,
<
L
\
l
|
=
M
]
m
}
.
>
N
^
n
~
/
?
O
_
o
¬
-

B0
º
µ
¶
·
Ç
×
ç
÷
Ü
ó
´
Ä
Ô
ä
ô
ü
“
Í
Ý
í
ý
C0
D0
E0
F0
™
Z
ß
±
Á
Ù
Þ
“
à
á
Â
Ð
Ó
á
â
Ö
ö
¨
¸
»
Ë
É
Ú
é
ë
ú
l
ä
å
Î
ß
î
(WO) Windows 3.0 Latin 1 Symbol Set
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
@
P
`
p
!
1
A
Q
a
q
“
2
B
R
b
r
#
3
C
S
c
s
$
4
D
T
d
t
%
5
E
U
e
u
&
6
F
V
f
v
‘
7
G
W
g
w
(
8
H
X
h
x
)
9
I
Y
i
y
*
:
J
Z
j
z
+
;
K
[
k
{
,
<
L
\
l
|
=
M
]
m
}
.
>
N
^
n
˜
/
?
O
_
o
°
À
Ð
à
ð
`
¡
±
Á
Ñ
á
ñ
²
Â
Ò
â
ò
£
³
Ã
Ó
ã
ó
¤
´
Ä
Ô
ä
ô
¥
µ
Å
Õ
å
õ
¦
¶
Æ
Ö
æ
ö
§
·
Ç
×
ç
÷
¨
¸
È
Ø
è
ø

¹
É
Ù
é
ù
ª
º
Ê
Ú
ê
ú
«
»
Ë
Û
ë
û
¬
¼
Ì
Ü
ì
ü
½
Í
Ý
í
ý

¾
Î
Þ
î
þ
¯
¿
Ï
ß
ï
ÿ
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
@
P
`
p
!
1
A
Q
a
q
#
3
C
S
c
s
ƒ
“
£
³
Ã
Ó
ã
ó
$
4
D
T
d
t
„
“
¤
´
Ä
Ô
ä
ô
%
5
E
U
e
u
…
•
¥
µ
Å
Õ
å
õ
&
6
F
V
f
v
†
–
¦
¶
Æ
Ö
æ
ö
‘
7
G
W
g
w
‡
—
§
·
Ç
×
ç
÷
(
8
H
X
h
x
ˆ
˜
¨
¸
È
Ø
è
ø
)
9
I
Y
i
y
‰
™
©
¹
É
Ù
é
ù
*
:
J
Z
j
z
Š
š
ª
º
Ê
Ú
ê
ú
+
;
K
[
k
{
‹
›
«
»
Ë
Û
ë
û
‚
<
L
\
l
|
Œ
œ
¬
¼
Ì
Ü
ì
ü
=
M
]
m
}
.
>
N
^
n
~
/
?
O
_
o
½
Í
®
¾
Î
í
l
î
l

„
(WT) Windows 3.1 Latin 5 Symbol Set
00
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
™
°
À
à
‘
¡
±
Á
Ñ
á
ñ
Ø
2
B
R
b
r
,
‘
Q
²
Â
Ò
â
ò
I & W Class Programmer’s Manual
l
Ÿ
¯
¿
Ï
ß
ï
ÿ
103
Appendix E
104
I & W Class Programmer’s Manual
Appendix F
Barcode Summary Data
Barcode fonts have alpha names (left column, below). Uppercase alpha names will print barcodes with
human-readable interpretations, if supported. Lowercase alpha names will print barcodes only. Place the
ID in field b of the Format Record header to cause the printer to encode the data field using the
associated barcode symbology; see Appendix G for details. See Table F-2 for default values.
Barcode
ID
A
Code 3 of 9
B
UPC-A
Type
C
D
E
F
UPC-E
Interleaved 2 of 5 (I 2 of 5)
Code 128
EAN-13
G
H
I
J
K
EAN-8
HBIC
Codabar
I 2 of 5 with modulo 10 checksum
Plessey
L
M
N
O
p
Q
R
I 2 of 5 with modulo 10 checksum & bearer bars
2 digit UPC addendum
5 digit UPC addendum
Code 93
Postnet
UCC/EAN Code 128
UCC/EAN Code 128
K-Mart NON EDI barcode
UCC/EAN Code 128 Random Weight
Telepen
UPS MaxiCode
UPS MaxiCode with Byte Count
FIM
PDF-417
PDF-417 with Byte Count
DataMatrix
DataMatrix with Byte Count
QR Code – Auto format
QR Code – Manual format
Aztec
Aztec with Byte Count
USD-8 (Code 11)
UCC/EAN Code 128
K-Mart NON EDI barcode (alternate type)
MicroPDF417
MicroPDF417 with Byte Count
S
T
u
U
v
z
Z
W1c
W1C
W1d
W1D
W1f
W1F
W1G
W1R
W1z
W1Z
Length
Checksum
Varies
11
No
Yes
6
Varies
Varies
12
Yes
No
M-103
Yes
7
Varies
Varies
Varies
Up to 14
Yes
M-43
No
M-10
M-10
13
2
5
Varies
Varies
19
18
M-10
Yes
Yes
No
Yes
Yes
Yes
34 +
Varies
84
Specified
1
Varies
Specified
Varies
Specified
Varies
Varies
Varies
Specified
Varies
18
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Varies
Specified
Yes
Yes
Valid ASCII Characters,
decimal value representation
32, 36, 37, 42, 43, 45-57, 65-90
48-57 Numeric only.
Option V used in the 6th & 7th position
48-57 Numeric only
48-57 Numeric only
32-127
48-57 Numeric only.
Option V used in the 7th & 8th position
48-57 Numeric only
32, 36-39, 42, 43, 45-57, 65-90
36, 43, 45-58, 65-68
48-57 Numeric only
48-57 Numeric only. Option + is Last
Character for Second M-11 Checksum
48-57 Numeric only
48-57 Numeric only
48-57 Numeric only
35-38, 42-58, 65-90, 97-122
48-57 Numeric only
48-57 Numeric only
48-57 Numeric only
48-57 Numeric only
Alphanumeric
Alphanumeric
Alphanumeric
A, B, C, D
All
All
All 8-bit values
All 8-bit values
Alphanumeric
Single byte or Kanji double byte
All 8-bit values
All 8-bit values
45, 48-57
48-57 Numeric only
All 8-bit values
All 8-bit values
Table F-1: Barcode Summary Data
I & W Class Programmer’s Manual
105
Appendix F
Barcode Default Widths and Heights
Font
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
p
Q
R
S
T
U/u
v
z
Z/z
W1C/W1c
W1D/W1d
W1F/W1f
W1G/W1g
W1R
W1Z/W1z
203 DPI Resolution
300 DPI Resolution
400 DPI Resolution
600 DPI Resolution
Height
Ratio/
Height
Ratio/
Height
Ratio/
Height
Ratio/
(inches) Module Size (inches) Module Size (inches) Module Size (inches) Module Size
.40
6:2
.40
9:4
.40
12:4
.40
18:6
.80
3
.80
4
.80
6
.80
9
.80
3
.80
4
.80
6
.80
9
.40
6:2
.40
9:4
.40
10:4
.40
15:6
.40
2
.40
4
.40
4
.40
6
.80
3
.80
4
.80
6
.80
9
.80
3
.80
4
.80
6
.80
9
.40
6:2
.40
9:4
.40
12:4
.40
18:6
.40
6:3
.40
9:4
.40
12:6
.40
18:6
.40
5:2
.40
9:4
.40
10:4
.40
15:6
.40
6:3
.40
9:4
.40
10:4
.40
15:6
1.30
5:2
1.30
9:4
1.30
10:4
1.30
15:6
.90
3
.90
4
.90
6
.90
9
.80
3
.80
4
.80
6
.80
9
.40
3
.40
4
.40
6
.40
9
.08
N/A
.08
N/A
.08
N/A
.08
N/A
1.40
2
1.40
4
1.40
4
1.40
6
1.40
2
1.40
4
1.40
4
1.40
6
1.40
2
1.40
3
1.40
4
1.40
6
.80
1
.80
1
.80
2
.80
3
1.00
N/A
1.00
N/A
1.00
N/A
1.00
N/A
.5
1
.5
1
.5
2
.5
3
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
.5
N/A
N/A
14:6
N/A
N/A
.5
N/A
N/A
9:4
N/A
N/A
.5
1.40
2
N/A
N/A
N/A
N/A
7:3
N/A
N/A
.5
1.40
4
N/A
N/A
N/A
N/A
5:2
1.40
4
1.40
6
N/A
N/A
N/A
N/A
Table F-2: Barcode Default Data
; Note:
106
Some barcodes will be sensitive to the label command D (Set Width and Height Dot Size), see
Label-Formatting Commands.
I & W Class Programmer’s Manual
Appendix G
Barcode Details
Unless noted, all barcodes shown here were produced using the ratio/module values of 00 and height
fields of 000 to cause the printer to produce symbols using default bar widths and height fields. See
Appendix F for the default values.
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 barcode 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 barcode:
<STX>L
D11<CR>
1B000000015010001234567890<CR>
121100000000100Barcode B<CR>
E
I & W Class Programmer’s Manual
107
Appendix G
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 barcode:
<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 barcode 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.
108
I & W Class Programmer’s Manual
Appendix G
Code 128 Subset A: Includes all of the standard uppercase alphanumeric keyboard characters plus
the control and special characters. To select Code 128 Subset A, place an ASCII A (DEC 65, HEX
41) before the data to be encoded.
Code 128 Subset B: Includes all of the standard uppercase alphanumeric keyboard characters plus
the lowercase alphabetic and special characters. To select Code 128 Subset B, place an ASCII B
(DEC 66, HEX 42) before the data to be encoded. If no start character is sent for the 128 font, Code
128 Subset B will be selected by default.
Code 128 Subset C: Includes the set of 100 digit pairs from 00 through 99 inclusive, as well as
special characters. Code 128 Subset C is used for double density encoding of numeric data. To select
Code 128 Subset C, place an ASCII C (DEC 67, HEX 43) before the data to be encoded. Subset C
can only encode an even number of numeric characters. When the data to be encoded includes an odd
number of numeric characters, the last character causes the printer to automatically generate a
‘switch to subset B’ and encode the last character appropriately in subset B.
; Note: It is recommended to use a B as the first character to prevent an A or C from changing the
subset.
Special Character Handling: Characters with an ASCII value greater than 95 are considered special
characters. To access these values, a two-character reference table is built into the printer, see table
below. As an example, to encode FNC2 into a Code 128 Subset A barcode, send the ASCII & (DEC
38, HEX 26) followed by an ASCII B (DEC 66, HEX 41). Code FNC2 will be encoded.
Example: ATEST&B123
ASCII
96
97
98
99
100
101
102
Data Encoded: TEST<FNC2>123
2 CHAR
&A
&B
&C
&D
&E
&F
&G
CODE A
FNC3
FNC2
SHIFT
CODEC
CODEB
FNC4
FNC1
CODE B
FNC3
FNC2
SHIFT
CODEC
FNC4
CODEA
FNC1
CODE C
-NA-NA-NA-NACODEB
CODEA
FNC1
Table G-1: Special Character Handling
Control Codes: Control character encoding into Code 128 Subset A by sending these control codes:
`
a through z
{
|
}
~
ASCII 127
=
=
=
=
=
=
=
NUL
1 - 26
ESC
FS
GS
RS
US
The following example prints a Code 128 barcode:
<STX>L
D11<CR>
1E000000015010001234567890<CR>
121100000000100Barcode E<CR>
E
I & W Class Programmer’s Manual
109
Appendix G
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 barcode:
<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 barcode:
<STX>L
D11<CR>
1G00000001501000123456<CR>
121100000000100Barcode G<CR>
E
H: Health Industry Barcode (HBIC) (Code 39 barcode with a modulo 43 checksum).
Valid Characters: 0-9, A-Z, -$ /. %
Variable Length.
Valid bar widths: The expected ratio of wide to narrow bars can range from 2:1 to 3:1.
The host must supply leading “+”’s
The following example prints a HBIC barcode with a wide to narrow bar ratio of 3:1:
<STX>L
D11<CR>
1H0000000150050+0123456789<CR>
121100000000100Barcode H<CR>
E
110
I & W Class Programmer’s Manual
Appendix G
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, (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 barcode with a wide to narrow bar ratio of 3:1:
<STX>L
D11<CR>
1I63040001501000A1234567890D<CR>
121100000000100Barcode I<CR>
E
Barcode I
J: Interleaved 2 of 5 with a modulo 10 checksum.
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 barcode with a modulo 10 checksum added and
with a wide to narrow bar ratio of 3:1:
<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 barcode in
place of the + character.
The following example prints a Plessey barcode with a wide to narrow bar ratio of 3:1:
<STX>L
D11<CR>
1K000000015010001234567890<CR>
121100000000100Barcode K<CR>
E
I & W Class Programmer’s Manual
111
Appendix G
L: Interleaved 2 of 5 with a modulo 10 checksum and shipping bearer bars.
Valid Characters: 0-9
Variable Length: For the bearer bars to be printed, 14 characters are required.
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 barcode with a modulo 10 checksum with a wide
to narrow bar ratio of 3:1and bearer bars:
<STX>L
D11<CR>
1L00000001501000123456789012<CR>
121100000000100Barcode L<CR>
E
M: 2-digit UPC addendum
Valid Characters: 0-9
Length: 2 digits.
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). Human readable
characters for this barcode symbology are printed above the symbol.
The following example prints a 2 digit UPC barcode addendum:
<STX>L
D11<CR>
1M000000015010042<CR>
121100000000100Barcode M<CR>
E
N: 5-digit UPC addendum
Valid Characters: 0-9
Length: 5 digits.
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). Human readable
characters for this barcode symbology are printed above the symbol.
The following example prints a 5 digit UPC barcode addendum:
<STX>L
D11<CR>
1N000000015010001234<CR>
121100000000100Barcode N<CR>
E
112
I & W Class Programmer’s Manual
Appendix G
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 barcode:
<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 barcode height field is ignored since the symbol height is U.S.P.S specific. This barcode
is to display the zip code on a letter or package for the US Postal Service.
The following example prints a Postnet barcode:
<STX>L
D11<CR>
1p000000015010032569<CR>
121100000000100Barcode p<CR>
E
Q: UCC/EAN Code 128
Valid Characters: 0-9
Length: 19 digits.
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). Human readable
characters for this barcode symbology are printed above the symbol.
The printer spreads a weighted module 103 check sum.
The following example prints a UCC/EAN Code 128 barcode:
<STX>L
D11<CR>
1Q00000001501000123456789012345678<CR>
121100000000100Barcode Q<CR>
E
I & W Class Programmer’s Manual
113
Appendix G
R: UCC/EAN Code128 K-MART NON EDI barcode.
Valid Characters: 0-9
Length: 18 digits
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). Human readable
characters for this barcode symbology are printed above the symbol. (See W1R for an alternate.)
This barcode is set up according to K-MART specifications.
The following example prints a KMART barcode.
<STX>L
D11<CR>
1R0000000150100012345678901234567<CR>
121100000000100Barcode R<CR>
E
S: UCC/EAN Code 128 Random Weight
Valid Characters: 0-9
Length: At least 34 digits.
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).
This barcode is commonly used by the food and grocery industry.
The following example prints a UCC/EAN Code 128 Random Weight barcode:
<STX>L
D11<CR>
1S000000015005001100736750292601193042032020018002110123456<CR>
121100000000100Barcode S<CR>
E
Barcode S
114
I & W Class Programmer’s Manual
Appendix G
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 barcode:
<STX>L
D11<CR>
1T0000000150100ABCDEF<CR>
121100000000100Barcode T<CR>
E
Barcode T
u: UPS MaxiCode (Modes 2&3)
The printer supports MaxiCode as defined in the AIM Technical Specification. The following
examples illustrate various label format record message syntaxes for encoding data as MaxiCode. In
the following examples, special formatting is used to denote special ASCII characters as shown:
Symbol
R
S
G
S
E
OT
Hexadecimal Value
1E
1D
04
Printer message syntax allows for
of both EOT and <CR>.
E
OT
to be substituted with <CR> or the use
Datamax MaxiCode fixed field format example:
<STX>L
D11<CR>
1u0000001000100327895555840666THIS PACKAGE IS GOING TO
DATAMAXCORP<CR>
121100000000100Barcode u<CR>
E
Where:
32789
5555
840
666
THIS...
5 digit ASCII, Postal code
4 digit ASCII, +4 Postal code
3 digit ASCII, country code
3 digit ASCII, class of service
data string, 84 maximum ASCII characters
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.
The UPS 3.0 zip + 4 with Message data format and message header:
Example:
1u0000001200120[)>RS01GS96841706672GS840GS001GS1Z12345675GSUPSNGS12345EGS089GSGS1/1GS10.1GSYGS
G G
R E
S SUT S OT
I & W Class Programmer’s Manual
115
Appendix G
Where:
[)>RS01GS96
841706672
840
001
G
S1Z1...
...TRSEOT
Message Header
Maximum 9 alphanumeric ASCII, Postal code
Country Code
Class
Primary Message
Secondary Message
The UPS 3.0 international postal “V6C3E2” with Message data format and message header:
Example:
1u0000001200120[)>RS01GS96V6C3E2GS068GS001GS1Z12345675GSUPSNGS12345EGS089GSGS1/1GS10.1GSYGSGS
R E
SUT S OT
G
Where:
[)>RS01GS96
V6C3E2
068
001
G
S1Z1...
...TRSEOT
Message Header
Maximum 6 alphanumeric ASCII, International Zip code
Country Code
Class
Primary Message
Secondary Message
The UPS 3.0 international zip “V6C3E2” without Message data format and message header:
Example:
1u0000001200120V6C3E2GS068GS001GS1Z12345675GSUPSNGS12345EGS089GSGS1/1GS10.1GSYGSGSGSUTRSEOT
Where:
V6C3E2
068
001
G
S1Z1...
...TRSEOT
Maximum 6 alphanumeric ASCII, International Zip code
Country Code
Class
Primary Message
Secondary Message
The UPS 3.0 zip + 4 “32707-3270” without Message data format and message header:
Example:
1u0000001200120327073270GS068GS001GS1Z12345675GSUPSNGS12345EGS089GSGS1/1GS10.1GSYGSGSGSUTRSEOT
Where:
32707
3270
068
001
G
S1Z1...
...TRSEOT
116
5 digit ASCII, Zip code
4 digit ASCII, +4 Zip code (not required)
Country Code
Class
Primary Message
Secondary Message
I & W Class Programmer’s Manual
Appendix G
U: UPS MaxiCode (Modes 2&3) with Byte Count Specifier
Specified Length – The upper case U identifies a UPS Maxicode barcode with a 4-digit string length
specifier. This allows values 0x00 through 0xFF to be included within the data strings without
conflicting with the DPL format record terminators. The four-digit decimal data byte count
immediately follows the 4-digit column position field. This value includes all of the data following
the byte count field, but does not include itself.
<STX>L
D11<CR>
1U00000010001000051327895555840666this package<0x0D>is going to
Datamax
121100000000100Barcode U<CR>
E
Barcode U
From the example above, the barcode’s data stream, 1U00000010001000051327895555840666this
package<0x0D>is going to Datamax, now includes a Byte Count Specifier (the portion in bold), where
0051 equals the four-digit decimal data byte count and includes all bytes that follow until the end of
the barcode data. Field termination is set by the byte count. <STX>, <CR>, and <0x0D> all represent
single byte values of hexadecimal 02, 0D, and 0D, respectively. The UPS MaxiCode barcode
produced encodes “327895555840666this package<CR>is going to Datamax”, and prints a line of
text: Barcode U.
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 barcode.
This barcode 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).
The following example prints an FIM A barcode:
<STX>L
D11<CR>
1v0000000150100A<CR>
121100000000100Barcode v<CR>
E
I & W Class Programmer’s Manual
117
Appendix G
z : PDF-417
Valid Characters: All ASCII characters.
Variable Length – This two dimensional barcode holds large amounts of data in a small area, while
providing a high level of redundancy and error checking, if specified.
<STX>L
D11<CR>
1z0000000150100F1000000PDF417<CR>
121100000000100Barcode z<CR>
E
Barcode z
The example above prints a normal, security level one, PDF-417 barcode with a 1:2 aspect ratio and
best-fit rows and columns. The barcode’s data stream, 1z0000000150100F1000000PDF417<CR>,
(in bold) decodes as follows:
Example Data
Explanation
F
1-character specifying a normal or truncated barcode (T to truncate, F for normal).
1
1-digit security level ranging from 0 to 8.
00
2-digit aspect ratio specified as a fraction, with the first digit being the numerator
and the second digit the denominator. Use “00” for the default ratio of 1:2. Valid
range is from “00” to “99.”
00
2-digit number specifying the number of rows requested. Use “00” to let the printer
find the best fit. Valid range is from “03” to “90”. Row values less than 3 are set to
3, while row values greater than 90 are set to 90.
00
2-digit number specifying the number of columns requested. Use “00” to let the
printer find the best fit. Valid range is from “01” to “30”. Column values greater
than 30 are set to 30.
PDF417
The data stream to be encoded.
<CR>
Terminates the data stream.
; Note: Format Record header fields c and d should both be zero.
Z: PDF-417 with Byte Count Specifier
Specified Length – The upper case Z identifies a PDF-417 barcode with a string 4-digit length
specifier. This allows values 0x00 through 0xFF to be used within the data strings without
conflicting with the DPL format record terminators. The four-digit decimal data byte count
immediately follows the 4- digit column position field. This value includes all of the data following
the byte count field, but does not include itself.
<STX>L
D11<CR>
1Z00000001501000015F1000000pdf<0x0D>417
121100000000100Barcode Z<CR>
E
Barcode Z
From the example above, the barcode’s data stream, 1Z00000001501000015F1000000pdf<CR>417,
now includes a Byte Count Specifier (the portion in bold), where 0015 equals the four-digit decimal
data byte count and includes all bytes that follow until the end of the barcode data. Field termination
is set by the byte count. <STX>, <CR>, and <0x0D> all represent single byte values of hexadecimal
02, 0D, and 0D, respectively. The PDF-417 barcode produced encodes “pdf<CR>417”, and prints a
line of text: Barcode Z.
118
I & W Class Programmer’s Manual
Appendix G
W1c:
DataMatrix
Valid Characters: Any 8-bit byte data
Variable Length
DataMatrix is a two-dimensional matrix symbology, which is comprised of square modules arranged
within a perimeter finder pattern. There are two basic types of DataMatrix symbols, ECC 000-140
and ECC 200.
ECC 000 - 140 symbols:
These square symbols can be any odd sizes from 9x9 to 49x49, which may be specified in fields iii,
and jjj. 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.
a W b[b] c d eee ffff gggg hhh i jjj kkk ll..l
Where:
(KGNF
8CNKF +PRWVU
a
W
b[b]
1,2,3, and 4
W
c, 1c
c
d
eee
ffff
gggg
hhh
1 to 9 and A to O
1 to 9 and A to O
000 to 999
0000 to 9999
0000 to 9999
000, 050, 080,
100, 140
i
/GCPKPI
Rotation
Fixed value, extended barcode set
Selects DataMatrix Barcode - the two differing values have no other
significance.
module size horizontal multiplier
module size vertical multiplier
No Effect; Must be numeric
label position, row
label position, column
A 3-digit convolutional error correction level.
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.
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.
0-6
If a format identifier is selected which will not encode the input character
stream then the barcode symbol will not be printed.
It is recommended to use the auto-encodation format identification since it will
select the best possible encodation scheme for the input stream.
Table G-2: DataMatrix ECC 000 – 140 Record Structure
I & W Class Programmer’s Manual
119
Appendix G
ECC 200 symbols:
There are 24 square symbol sizes available, with both row and column dimensions, which may be
specified in fields iii, and jjj, measured in modules as indicated in the following list - 10, 12, 14, 16,
18, 20, 22, 24, 26, 32, 36, 40, 44, 48, 52, 64, 72, 80, 88, 96, 104, 120, 132, and 144. If an ECC 200
symbol is specified with odd numbers of rows or columns, the next largest even value will be used.
Input values greater than 144 or less than 10 will cause the symbol to be automatically sized for the
input character stream. The record format is shown here, expanded with spaces.
a W b[b] c d eee ffff gggg hhh i jjj kkk ll..l
Where:
(KGNF
8CNKF +PRWVU
a
W
b[b]
1,2,3, and 4
W
c, 1c
c
d
eee
ffff
gggg
hhh
i
jjj
1 to 9 and A to O
1 to 9 and A to O
000 to 999
0000 to 9999
0000 to 9999
200
0
10, 12, 14, 16, 18,
20, 22, 24, 26, 32,
36, 40, 44, 48, 52,
64, 72, 80, 88, 96,
104, 120, 132, 144
10, 12, 14, 16, 18,
20, 22, 24, 26, 32,
36, 40, 44, 48, 52,
64, 72, 80, 88, 96,
104, 120, 132, 144
8-bit data
kkk
ll...l
/GCPKPI
Rotation
Fixed value, extended barcode set
Selects DataMatrix Barcode - the two differing values have no other
significance.
module size horizontal multiplier
module size vertical multiplier
No Effect; Must be numeric
label position, row
label position, column
ECC 200 uses Reed-Solomon error correction.
Fixed value, not used
A 3 digit even number (or 000) of rows requested.
000 causes rows to be automatically determined. The symbol will be sized
to a square if the rows and columns do not match by taking the larger of the
two values.
A 3 digit even number (or 000) of columns requested.
000 causes columns to be automatically determined. The symbol will be
sized to a square if the rows and columns do not match by taking the larger
of the two values.
Data to be encoded in the symbol
Table G-3: DataMatrix ECC 200 Record Structure
Example:
<STX>L
D11<CR>
1W1c44000010001002000000000DATAMAX<CR>
121100000000100Barcode W1c<CR>
E
Barcode W1c
120
I & W Class Programmer’s Manual
Appendix G
W1C: DataMatrix with Byte Count Specifier
Specified Length – The upper case C identifies a DataMatrix barcode with a string 4-digit length
specifier. This allows values 0x00 through 0xFF to be included within the data strings without
conflicting with the DPL format record terminators. The four-digit decimal data byte count
immediately follows the four-digit column position field. This value includes all of the data
following the byte count field, but does not include itself.
<STX>L
D11<CR>
1W1C440000100010000292000000000Datamax<0x0D>prints best
121100000000100Barcode W1C<CR>
E
Barcode W1C
From the example above, the barcode’s data stream, 1W1C440000100010000292000000000
Datamax<0x0D>prints best, includes a Byte Count Specifier (the portion in bold), where 0029 equals
the four-digit decimal data byte count and includes all bytes that follow until the end of the barcode
data. Field termination is set by the byte count. <STX>, <CR>, and <0x0D> all represent single byte
values of hexadecimal 02, 0D, and 0D, respectively. The DataMatrix barcode produced encodes
“Datamax<CR>prints best”, and prints a line of text: Barcode W1C.
I & W Class Programmer’s Manual
121
Appendix G
W1d and W1D:
QR Code
Valid Characters: Numeric, Alphanumeric, Binary, and Kanji
Variable Length
The two-dimensional QR Code barcode developed by Denso and documented by AIM Version 7.0
has been implemented with support for:
I.
Model 1 barcode 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
II.
Model 2 barcode 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
a bbb c d eee ffff gggg jjj
Where:
Field
a
bbb
c
d
eee
ffff
gggg
jj..j
Valid Inputs
1,2,3 and 4
W1D or W1d
1 to 9 and A to O
1 to 9 and A to O
000 to 999
0000 to 9999
0000 to (printer specific)
Valid ASCII character string representing QR Code data string
with termination character (typically ‘0d’)
Meaning
Rotation
Barcode ID
Cell Dimension (height)
Cell Dimension (width)
Not Used
Row
Column
QR Code Data String
Barcode Identifier (bbb)
The QR Code barcode is specified in the label format with a barcode identifier (bbb) equal to ‘W1D’
or ‘W1d’. ‘W1D’ allows the data string (jj..j) to be entered according to QR Code specifications
with a ‘,’ used as a field separator, fields are optional per QR Code specifications, and the first field
(optional) indicates Model 1 or Model 2 QR Code with Model 2 QR Code selected as the default.
‘W1d’ allows the data string (jj..j) to be data only. With barcode identifier ‘W1d’, the QR Code
parameters default to Model 2, ECC Level = ‘M’, Mask Selection is Automatic, and Data Mode is
Automatic.
Barcode Identifier ‘W1D’ – Manual Format
The data string for a QR Code generated with barcode identifier ‘W1D’ is formatted much like
the file specified by QR Code version 7.0 documentation with minor changes that allow
flexibility for data entry.
The QR Code Model number has been incorporated as the first 2 characters (‘x,’ where x=1 or 2)
field in the data string. This field is optional and, if eliminated, the QR Code generated will be a
Model 2 QR Code.
Kanji or binary data can be entered in ASCII or HEX/ASCII form. ASCII mode is the default.
HEX/ASCII mode is selected by entering the Data Input Mode in lower case (‘a’ or ‘m’). If
122
I & W Class Programmer’s Manual
Appendix G
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.
The data string is terminated with a termination character. This is 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.
Barcode Identifier ‘W1d’ – Auto Format
The data string for a QR Code generated with barcode identifier ‘W1d’ is formatted like other
barcodes supported by Datamax printers. The data begins after the last character of the Column
position field and does not include any command characters. The data string is terminated with a
termination character, usually a 0x0d hex that occurs twice in succession. The QR Code
generated using barcode identifier ‘W1d’ will have the following characteristics:
1.
2.
3.
4.
Model 2
Error Correction Code Level = ‘M’
Mask Selection = Automatic
Data Input Mode = Automatic
Cell Dimension (c and d)
Each cell in the QR Code barcode is square, therefore barcode record structure parameters ‘c’ and ‘d’
shall be equal. Each unit of ‘c’/’d’ indicate a cell dimension of 0.01 inches or 0.1 mm, depending on
the CONVERSION state of the printer (this is set with ‘<STX>m’ command to metric or decimal,
with decimal as default). The range for ‘c’ and ‘d’ is 1-9 and A-O.
An example of calculating the QR Code size would be as follows for a printer set for CONVERSION
= decimal and ‘c’ = ‘d’ = ‘B’. The cell dimensions are 0.11 inches on each side (0.01 inches X 11 =
0.11 inches). A version 1 QR Code, which is 21 cells X 21 cells, would be 2.31 inches on each side.
A version 40 QR Code, which is 177 cells X 177 cells, would be 19.47 inches on each side.
An example of calculating the QR Code size would be as follows for a printer set for CONVERSION
= metric and ‘c’ = ‘d’ = ‘B’. The cell dimensions are 1.1 mm on each side (0.1 mm X 11 = 1.1 mm).
A version 1 QR Code, which is 21 cells X 21 cells, would be 23.1 mm (0.9 inches) on each side. A
version 40 QR Code, which is 177 cells X 177 cells, would be 194.7 mm (7.7 inches) on each side.
When deciding to use metric or decimal CONVERSION mode to specify QR Code cell dimensions,
remember that the Row and Column position are affected and must be calculated in the
corresponding CONVERSION mode.
Row (ffff)
The lower left corner of the label is considered the home position. Depending on the CONVERSION
mode, decimal or metric, ‘ffff’ is the coordinate times hundredths of an inch or tenths of a millimeter
above the home position.
I & W Class Programmer’s Manual
123
Appendix G
Column (gggg)
The lower left corner of the label is considered the home position. Depending on the CONVERSION
mode, decimal or metric, ‘gggg’ is the coordinate times hundredths of an inch or tenths of a
millimeter to the right of home position.
Data (jj..j)
QR Code supports four types of data: Numeric, Alphanumeric, Binary, and Kanji.
QR Code Generation Structure
The data input structure for generation of version 7.0 QR Code barcodes is as follows:
Data Automatic Setting File Format:
<Error correction level><Mask No.><Data input mode (“A”)>,<Data character string>
Data Manual Setting File Format:
<Error correction level><Mask No.><Data input mode (“M”)>,
<Character mode 1><Data character string 1>,
<Character mode 2><Data character string 2>,
<
:
><
:
>,
<Character mode n><Data character string n>
Data Append Mode File Format:
<“D”><QR Code Number in Append Series (2 decimal digits)>
<Total number of QR Codes in series (2 decimal digits)>
<Value of Parity (2 digits, 8 LSBs of data parity)>,
<Data Automatic/Manual Setting>
Where:
Error Correction Level <H|Q|M|L>
H
---- Ultra Reliability Level
Q
---- High Reliability Level
M
---- Standard Reliability Level
L
---- High Density Level
Mask No.
None
0-7
8
---- Automatic Selection
---- Mask 0 to Mask 7
---- No Mask
Data Input Mode <A|M>
A
---- Automatic setting
M
---- Manual Setting
Character Mode <N|A|B|K>
N ---- Numeric
<N(Data)>
A ---- Alphanumeric
<A(Data)>
B ---- Binary
<B(Number of data characters)(Data)>
K ---- Kanji
<K(Data)>
124
I & W Class Programmer’s Manual
Appendix G
QR Code Characteristics
Models:
Model 1: Original Version
Model 2: Enhanced Version
Encodable Character Set
Numeric Data (digits 0-9)
Alphanumeric Data (digits 0-9; upper case A-Z; 9 additional characters: space $ % * + - . / :)
8-bit byte data (JIS 8-bit character set (Latin and Kana in accordance with JIS X 0201)
Kanji characters (Shift JIS 0x8140 - 0x9ffc and 0xe040 - 0xeaa4)
Representation of data:
Dark Cell
Light Cell
---- Binary 1
---- Binary 0
Symbol Size (not including quiet zone ---- 4 cells on each of the 4 sides)
Model 1: 21 X 21 cells to 73 X 73 cells (Versions 1 to 14, increase in steps of 4 cells per side)
Model 2: 21 X 21 cells to 177 X 177 cells (Versions 1 to 40, increase in steps of 4 cells per side)
Data Characters per symbol (maximum for symbol size)
Numeric Data
Model 1; Version 14; ECC = L: 1,167 characters
Model 2; Version 40; ECC = L: 7,089 characters
Alphanumeric Data
Model 1; Version 14; ECC = L: 707 characters
Model 2; Version 40; ECC = L: 4,296 characters
Binary Data
Model 1; Version 14; ECC = L: 486 characters
Model 2; Version 40; ECC = L: 2,953 characters
Kanji Data
Model 1; Version 14; ECC = L: 299 characters
Model 2; Version 40; ECC = L: 1,817 characters
Selectable Error Correction
Four levels of Reed-Solomon error correction allowing recovery of the symbol codewords:
L
7%
M
15%
Q
25%
H
30%
Code Type
Matrix
Orientation Independence
Yes
I & W Class Programmer’s Manual
125
Appendix G
QR Code Examples
<STX>L
D11<CR>
1W1D44000001000102HThis is the data portion also with binary
<0xfe><0xca><0x83><0x0D><0x0D>
121100000000100Barcode W1D<CR>
E
Barcode W1D
Where:
QR Code barcode, Cell Size = 0.1 inch square, positioned at X=.1” and Y=.1”, ECC=H, Mask =
Automatic, Data Input Mode = Automatic:
1W1D1100000100010HThis is the data portion also with binary
<0xfe><0xca><0x83><0x0D><0x0D>
Other Examples:
DPL field record, QR Code barcode, Cell Size = 0.1 inch square, positioned at X=.1” and Y=.1”,
ECC=H, Mask=3, Data Input Mode = Automatic:
1W1D4400000100010H3This is the data portion also with binary
<0xfe><0xca><0x83><0x0D><0x0D>
DPL field record, QR Code barcode, Cell Size = 0.1 inch square, positioned at X=.1” and Y=.1”,
ECC=L, Mask = None (8), Data Input Mode = Manual - Kanji:
1W1D8800000100010L8MK<0x81><0x40><0x81><0x41><0x81><0x42><0x0D>
DPL field record, QR Code barcode, Cell Size = 0.1 inch square, positioned at X=.1” and Y=.1”,
ECC=L, Mask = None (8), Data Input Mode = Manual - Kanji (in Hex/ASCII format):
1W1D1100000100010L8mK814081418142<0x0D>
DPL field record, QR Code barcode, Cell Size = 0.1 inch square, positioned at X=.1” and Y=.1”,
ECC=M, Mask = Automatic, Data Input Mode = Automatic:
1W1d1100000100010Pallet 35FGA, Box 55367, Datamax Corp, Orlando, Florida
32707<0x0D><0x0D>
DPL field record, QR Code barcode, Cell Size = 0.1 inch square, positioned at X=.1” and Y=.1”,
ECC=M (default), Mask = Automatic (default), Data Input Mode = Automatic (in Hex/ASCII
format):
1W1D1100000100010a384A384B384C384D384E384F<0x0D><0x0D>
126
I & W Class Programmer’s Manual
Appendix G
W1f:
Aztec
Valid Characters: All ASCII characters, depending on the selected options. This is a 2 dimensional
barcode capable of holding large amounts of data in a small area. It provides a high level of
redundancy and error checking. Reference the following specifications:
“International Symbology Specification – Aztec Code”, AIM International Technical Standard, 1997-11-05.
“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 July1995.
“Application Standard for Shipping Container Codes”, Uniform Code Council, 1996.
Variable Length
Syntax:
a W1 f c d eee ffff gggg h iii m…m
Where:
Field
a
W1
f
c
d
eee
ffff
gggg
h
Valid Inputs
1,2,3, and 4
W1
f
0 to 9 and A to O
0 to 9 and A to O
000
0000 to 9999
0000 to 9999
0, 1
iii
000 to 300
m…m
8-bit data
Meaning
Rotation
Fixed value, extended barcode set
Selects Aztec barcode
Module size horizontal multiplier, 0 – default size, c = d
Module size vertical multiplier, 0 – default size, c = d
No Effect
Label position, row
Label position, column
Extended Channel Interpretation (ECI) input:
0 – disabled
1 – enabled
Error Correction (EC) / Size:
000
- default EC, approximately 23%
001 – 099 - EC fixed value in %
101 – 104 - Compact core, 1 to 4 layers respectively
201 – 232 - full size core, 1 to 32 layers respectively
300
- Rune format, encodes three ASCII decimal digits 0-256; scanner
decode output is decimal number 0-256
See table below.
Data to be encoded
Table G-4: Aztec Record Structure
The following example prints an Aztec barcode, default module size (cd = 00), with no ECI input,
with 23% Error Correction.
<STX>L
D11<CR>
1W1f00000001501000000AZTEC<CR>
121100000000100Barcode Wf<CR>
E
Barcode Wf
The cd module size parameters should be equal to produce a square symbol. When the label
command Dnn is used to generate larger text, then c and d may be used to compensate and ensure a
square symbol.
I & W Class Programmer’s Manual
127
Appendix G
The error correction or size selection determines the symbol size and other characteristics of the
symbol, as shown in the following table. Attempting to encode more data that has been made
available will result in no symbol printed.
Error Correction (EC) / Size (iii) Implications
000
001 to 099
Symbol
Size[1]
variable
variable
Symbol
Format
data dependant
data and EC
dependant
Maximum[2]
Binary Data Bytes
1914
1914
Maximum[2] Alphabetic
Characters
3067
3067
Maximum[2] Numeric
Characters
3832
3832
101
102
102
103
104
15
19
19
23
27
compact
compact
compact
compact
compact
6
19
19
33
53
12
33
33
57
89
13
40
40
70
110
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
19
23
27
31
37
41
45
49
53
57
61
67
71
75
79
83
87
91
95
101
105
109
113
117
121
125
131
135
139
143
147
151
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
full size
8
24
40
62
87
114
145
179
214
256
298
343
394
446
502
559
621
687
753
824
898
976
1056
1138
1224
1314
1407
1501
1600
1702
1806
1914
15
40
68
104
144
187
236
291
348
414
482
554
636
718
808
900
998
1104
1210
1324
1442
1566
1694
1826
1963
2107
2256
2407
2565
2728
2894
3067
18
49
84
128
178
232
294
362
433
516
601
691
793
896
1008
1123
1246
1378
1511
1653
1801
1956
2116
2281
2452
2632
2818
3007
3205
3409
3616
3832
iii
300
11
Rune
1
1
Measured in module size x, assuming default module size (cd=00).
2
Maximum sizes are approximate and data dependant, and may be less than indicated.
1
1
Table G-5: Aztec Characteristics Index
128
I & W Class Programmer’s Manual
Appendix G
Error Correction / Size (iii = 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%, (iii =
000) is recommended. Any other value may be selected to meet the user’s needs. Some minimumsecurity codewords may be generated depending on the data sent for encoding, particularly when the
volume of that data is small. It the data capacity is exceeded no symbol is printed.
Error Correction / Size (iii = 101 to 104)
Values 101 through 104 result in 1 through 4 layers (two modules thick) respectively, around the
center finder pattern. Data volume constraints apply as indicated in the table above. Symbols will be
of the compact form. All available codewords will be used for error correction. It the data capacity is
exceeded no symbol is printed.
Error Correction / Size (iii = 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.
Error Correction / Size (iii = 300)
Value 300 informs the printer that the data (m..m), 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 Input Mode (j = 1)
A value of 1 provides for extended channel codewords to be inserted into the barcode symbol, using
escape sequences in the data. This mode also provides for effective Code 128 and UCC/EAN 128
emulations, when used in with appropriately configured barcode readers. The valid values for escape
sequences are of the form:
<ESC>n
where: <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 datastream. The printer does not validate <ESC>0 locations in
the datastream.
FNC1 - 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.
I & W Class Programmer’s Manual
129
Appendix G
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.
<GS> - When <ESC>0 is anywhere else in the datastream a <GS> replaces it
in the barcode symbol, as with UCC/EAN 128 field separators.
<ESC>n - is encoded as FLG(n), and is interpreted as signaling Extended Channel
Interpretation. When the value of n is from 1 to 6 it signals that the following
n digits comprise an extended channel identifier, for use with ECI compliant
barcode scanners. An erroneous barcode symbol may result from failing to
follow <ESC>n with n digits. Any <ESC>0 following <ESC>n and not
within the n digits will be encoded as FLG(0). In the context of a FLG(n) any
backslash ‘\’ (9210) will be interpreted by the scanner as two backslashes ‘\\’.
Functions Not Supported
•
•
•
Structured Append
Reader Initialization Symbol Generation
Module shaving
W1F: Aztec with Byte Count Specifier
Specified Length – The upper case F identifies an Aztec barcode with a string 4-digit length
specifier. This allows values 0x00 through 0xFF to be included within the data strings without
conflicting with the DPL format record terminators. The four-digit decimal data byte count
immediately follows the 4-digit column position field. This value includes all of the data following
the byte count field, but does not include itself.
<STX>L
D11<CR>
1W1F000000015010000170000AZTEC<0x0D>barcode
121100000000100Barcode WF<CR>
E
Barcode WF
From the example above, the barcode’s data stream, 1W1F000000015010000170000AZTEC<0x0D
>barcode, includes a Byte Count Specifier (the portion in bold), where 0017 equals the four-digit
decimal data byte count and includes all bytes that follow until the end of the barcode data. Field
termination is set by the byte count. <STX>, <CR>, and <0x0D> all represent single byte values of
hexadecimal 02, 0D, and 0D, respectively. The Aztec barcode produced encodes
“AZTEC<CR>barcode”, and prints a line of text: Barcode WF.
130
I & W Class Programmer’s Manual
Appendix G
W1g and W1G: USD-8 (Code 11)
Valid Characters: 0-9,Length: Variable
Non-Human Readable: W1g
Human Readable:
W1G
USD-8 (Code 11) is a barcode which 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 bar is specified in
DPL by the wide bar parameter. The wide bar is fixed at 2 times the medium bar minus the narrow
bar. DPL calculates two checksum characters: C and K. These checksum characters are automatically
placed prior to the stop character.
The following example produces the USD-8 barcode (with a human readable field of the encoded
data) and prints a line of text: Barcode W1G.
<STX>L
D11
1W1G00000015001500123456789-<CR>
121100000000100Barcode W1G<CR>
E
Barcode W1G
W1R: UCC/EAN Code 128 K-MART NON EDI barcode.
Valid Characters: 0-9
Length: 18 digits
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, or 4 times the narrow bar width). Human readable
characters for this barcode symbology are printed above the symbol.
This barcode produces the same symbology as barcode ID “R”, except that the human readable field
has been modified to print on the bottom of the barcode (see below).
The following example prints a KMART barcode:
<STX>L
D11<CR>
1W1R0000000150100012345678901234567<CR>
121100000000100Barcode W1R<CR>
E
34 567890 123 4567
Barcode W1R
I & W Class Programmer’s Manual
131
Appendix G
W1z: MicroPDF417
Valid Characters: All ASCII characters, depending on the selected options. This is a 2 dimensional
barcode capable of holding large amounts of data in a small area. It provides a high level of
redundancy and error checking. Please reference the following specifications:
“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 July1995.
“Application Standard for Shipping Container Codes,” Uniform Code Council, 1996.
Variable Length
Syntax:
a W z c d eee ffff gggg h i j k 0 m…m
Where:
Field
a
W1
z
c
d
eee
ffff
gggg
h
i
j
k
0
Valid Inputs
1,2,3, and 4
W1
z
0 to 9 and A to O
0 to 9 and A to O
000
0000 to 9999
0000 to 9999
1 to 4
0 to 9 and A
0, 1
0, 1
0
m…m
8-bit data
Meaning
Rotation
Fixed value, extended barcode set
Selects MicroPDF417 Barcode
Module size horizontal multiplier, 0 – default size
Module size vertical multiplier, 0 – default size
No Effect
Label position, row
Label position, column
Number columns
Row / Error Correction index
Byte Compaction Mode (1), best compression for binary data
Macro Character Substitution Disable (1)
Fixed ASCII digit 0.
Reserved for future use.
Data to be encoded
Table G-6: MicroPDF417 Record Structure
The following example prints a MicroPDF417 barcode, 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.
132
I & W Class Programmer’s Manual
Appendix G
Row/Column/Error Correction Selection Index (h, i) Implications
Rows Maximum Symbol Symbol
Maximum
Maximum
Errors
Width[2] Height[3] Binary Data
Alphabetic
Corrected[1]
Bytes[4]
Characters[5]
hi
Columns
Maximum
Numeric
Characters[5]
10
11
12
13
14
15
1
1
1
1
1
1
11
14
17
20
24
28
4
4
4
5
5
5
40
40
40
40
40
40
24
30
36
42
50
58
3
7
10
13
18
22
6
12
18
22
30
38
8
17
26
32
44
55
20
21
22
23
24
25
26
2
2
2
2
2
2
2
8
11
14
17
20
23
26
5
6
6
7
8
10
12
57
57
57
57
57
57
57
18
24
30
36
42
48
54
8
14
21
27
33
38
43
14
24
36
46
56
67
72
20
35
52
67
82
93
105
30
31
32
33
34
35
36
37
38
39
3
3
3
3
3
3
3
3
3
3
6
8
10
12
15
20
26
32
38
44
9
11
13
15
18
23
29
35
41
47
84
84
84
84
84
84
84
84
84
84
14
18
22
26
32
42
54
66
78
90
6
10
15
20
27
39
54
68
82
97
10
18
26
34
46
66
90
114
138
162
14
26
38
49
67
96
132
167
202
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 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, that row/column/error correction selection index (hi) values increasingly
large do not necessarily result in the ability to encode more data.
I & W Class Programmer’s Manual
133
Appendix G
Byte Compaction Mode (j = 1)
A value of 1 forces Byte Compaction. The compaction ratio is six 8-bit bytes of data compressed into
5 symbol codewords. See the table above for the maximum data allowed for any row/column/error
correction selection index (hi).
Macro Character Substitution Disable (k=1)
By default Macro Character Substitution is enabled (k=0). When enabled, Byte Compaction has
priority over Macro Character Substitution. When Macro Character Substitution is enabled, the
datastream header and trailer are compacted when they conform to the following forms:
[)>RS05GS data RS EoT
or
R
[)> S06GS data RS EoT
where:
data may not contain adjacent bytes with values RS or
(
R
S
= 3010 , 1E16 and
G
G
S
E
S
= 2910 , 1D16 and oT = 410 ,416)
Functions Not Supported
•
•
•
•
General Purpose Extended Channel Interpretations, including Code-128 emulations
Structured Append
Reader Initialization Symbol Generation
Module shaving
W1Z: Micro PDF417 with Byte Count Specifier
Specified Length – The upper case Z identifies a Micro PDF417 barcode with a 4-digit string length
specifier. This allows values 0x00 through 0xFF to be included within the data strings without
conflicting with the DPL format record terminators. The four-digit decimal data byte count
immediately follows the four-digit column position field. This value includes all of the data
following the byte count field, but does not include itself.
<STX>L
D11<CR>
1W1Z0000000150100001214000pdf<0x0D>417
121100000000100Barcode W1Z<CR>
E
Barcode W1Z
From the example, the barcode’s data stream, 1W1Z0000000150100001214000PDF<0x0D>417,
includes a Byte Count Specifier (the portion in bold), where 0012 equals the four-digit decimal data
byte count and includes all bytes that follow until the end of the barcode data. Field termination is set
by the byte count. <STX>, <CR>, and <0x0D> all represent single byte values of hexadecimal 02,
0D, and 0D, respectively. The Micro PDF417 barcode produced encodes “pdf<CR>417”, and prints
a line of text: Barcode W1Z.
134
I & W Class Programmer’s Manual
Appendix H
Font Mapping - Single and Double Byte Characters
Label format records with font code 9 in the b field of the Format Record header can specify any of the
following bit-mapped or scalable fonts with the associated specification in the font size/selection (eee
height) field, as shown in the tables on the following pages.
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 requires specifying the font ID, a two character alphanumeric. The
S, or U, u used in referencing the font within label format records is not used in the download
specification. Attempting to utilize a scalable font with an inappropriate byte-size designation,
(e.g. S on double byte or U, u on single byte) will have unpredictable results.
I & W Class Programmer’s Manual
135
Appendix H
Font 9, Font Specifications (eee Height) and Associated Characteristics
Font
Character
Font Size Specifier
Point
Name
Mapping
(eee Height)
Size
Font 9 Bit-Mapped Resident Fonts
CG Triumvirate[1]
Single Byte
000 - 010
5, 6, 8, 10, 12, 14, 18, 24, 30,
36, 48, respectively
CG Triumvirate[1]
Single Byte
A04, A05, A06, A08, A10, 4, 5, 6, 8, 10, 12, 14, 18, 24,
A12, A14, A18, A24, A30, 30, 36, 48, 72, respectively
A36, A48, A72
Font 9 Bit-Mapped Downloaded Fonts
User downloaded
Single Byte
100 - 999
user defined
bit-mapped typeface
Font 9 Scalable Resident Fonts Specifications (standard)
CG Triumvirate
Single Byte
S00
scalable
Bold Condensed
Scalable[1]
CG Triumvirate[1]
Single Byte
S01
scalable
Scalable
Font 9 Scalable Resident Fonts Specifications (optional)
CG Times
Single Byte
SA0
scalable
Scalable
CG Times Italic
Single Byte
SA1
scalable
Scalable
CG Times Bold
Single Byte
SA2
scalable
Scalable
CG Times Bold
Single Byte
SA3
scalable
Italic
Scalable
Gothic B Kanji
Double Byte (Binary)
U40
scalable
Scalable
Gothic B Kanji
Double Byte (Hex ASCII)
u40
scalable
Scalable
GB Simplified
Double Byte (Binary)
UC0
scalable
Chinese Scalable
GB Simplified
Double Byte (Hex ASCII)
uC0
scalable
Chinese Scalable
Korean Hangul
Double Byte (Binary)
UH0
scalable
Scalable
Korean Hangul
Double Byte (Hex ASCII)
uH0
scalable
Scalable
Font 9 Scalable Downloaded Fonts
User downloaded
Single Byte (Binary)
S50 - S5z...
scalable
Scalable typeface
S90 - S9z
User downloaded
Double Byte (Binary)
U50...,U5z...,...U90...,
scalable
Scalable typeface
U9z
User downloaded
Double Byte (Hex ASCII)
u50...,u5z...,...u90...,
scalable
Scalable typeface
u9z
1
Standard internal fonts
Table H-1: Font 9 Specifications
136
I & W Class Programmer’s Manual
Appendix I
Symbol Sets and Character Maps
Symbol Set Selection
Scalable fonts are mapped through a symbol set sometimes referred to as a ‘code page’. This mapping
allows the host application to select a variety of characters to match the application. For example in the
code page (CP), character code 0xE4 causes character Φ to be printed. In CP E7, the character code 0xE4
causes δ to be printed. Each of the CPs allows the host application to “emulate” a character set for their
application. Datamax printers that support scalable fonts contain either a standard or an enhanced group
of CPs as defined below. The CP (symbol set) is selected using a DPL Command, <STX>ySxx, where xx
is the two letter CP Identifier.
; Note: Not all fonts have an entire compliment of character codes for a given code page (symbol set).
Code Page Identifier
Datamax
AR
CP
D1[4]
D2[4]
D3[4]
DN
DS[4]
DT
E1
E2
E5
E6
E7
E9[4]
EG
EH
ER
FR
G8
GK
GR
H0
H8
IT
LS[4]
LG
M8
MC
MS
HP[1]
Single Byte Code Pages
Datamax Code Page Family
Font Format
Standard
11L
12L
13L
√
10L
7J
0N
2N
5N
6N
√
√
√
√
√
√
√
579L
1U
8M
12J
5M
I & W Class Programmer’s Manual
√
√
Enhanced[2]
IntelliFont
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
TrueType
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
Description
Arabic-8
PC Cyrillic
ITC Zapf Dingbats/100
ITC Zapf Dingbats/200
ITC Zapf Dingbats/300
ISO 60 Danish / Norwegian
PS ITC Zapf Dingbats
DeskTop
ISO 8859/1 Latin 1
ISO 8859/2 Latin 2
ISO 8859/9 Latin 5
ISO 8859/10 Latin 6
ISO 8859/7 Latin/Greek
ISO 8859/15 Latin 9
ISO 8859/7 Latin/Greek
ISO 8859/8 Latin/Hebrew
ISO 8859/5 Latin/Cyrillic
ISO 69: French
Greek-8
PC-8 Greek
ISO 21: German
Hebrew-7
Hebrew-8
ISO 15: Italian
HP4000 ITC Zapf Dingbats
Legal
Math-8
Macintosh
PS Math
137
Appendix I
Code Page Identifier
Datamax
HP[1]
Single Byte Code Pages
Datamax Code Page Family
Font Format
Standard
Enhanced[2]
IntelliFont
TrueType
Description
P9
PC-858 Multilingual
√
√
PB
6J
Microsoft Publishing
√
√
√
PC
10U
PC-8, Code Page 437
√
√
√
√
PD
11U
PC-8 D/N, Code Page 437N
√
√
√
√
PE
17U
PC-852 Latin 2
√
√
√
√
PG
PC-851 Latin/Greek
√
√
PH
PC-862 Latin/Hebrew
√
√
PI
15U
Pi Font
√
√
√
√
PM
12U
PC-850 Multilingual
√
√
√
√
PR
PC-864 Latin/Arabic
√
√
PT
9T
PC-8 TK, Code Page 437T
√
√
√
√
PU
9J
PC-1004
√
√
√
PV
26U
PC-775 Baltic
√
√
√
PX[4]
PTXT3000
√
√
√
PY [4]
Non-UGL, Generic Pi Font
√
√
√
R8
8U
Roman-8
√
√
√
√
R9[4]
Roman-9
√
√
SP
ISO 17: Spanish
√
√
√
√
SW
ISO 11: Swedish
√
√
√
√
SY[4]
Symbol
√
√
TK
Turkish-8
√
√
TS
10J
PS Text
√
√
√
√
UK
ISO 4: United Kingdom
√
√
√
√
US
ISO 6: ASCII
√
√
√
√
VI
13J
Ventura International
√
√
√
√
VM
6M
Ventura Math
√
√
√
VU
14J
Ventura US
√
√
√
√
W1[3]
19U
Windows 3.1 Latin 1
√
√
√
√
WA
Windows Latin/Arabic
√
√
WD[4]
Wingdings
√
√
√
WE[3]
9E
Windows 3.1 Latin 2
√
√
√
√
WG[3]
Windows Latin/Greek
√
√
WL[3]
19L
Windows 3.1 Baltic (Latv, Lith)
√
√
√
WN
Windows
√
√
WO
9U
Windows 3.0 Latin 1
√
√
√
√
WR[3]
Windows Latin/Cyrillic
√
√
√
WT[3]
5T
Windows 3.1 Latin 5
√
√
√
√
1
HP - Hewlett Packard PCL-5 Comparison Guide, Ed 1, Internal Symbol Set Charts, Chart B, for comparison.
2
Enhanced Symbol Set support requires a matching font (Datamax ILPC CG Times supports many of these; see note 4, below).
3
As of this writing, the following symbol sets contain references to the Euro currency symbol ( ) with the associated single byte
decimal values:
W1 - Windows 3.1 Latin 1 - 128
WE - Windows 3.1 Latin 2 - 128
WG - Windows Latin/Greek - 128
WL - Windows 3.1 Windows 3.1 Baltic - 128
WT - Windows 3.1 Latin 5 - 128
WR - Windows Latin/Cyrillic – 136 (optional)
4
Not supported by ILPC CG Times – characters appearing in Code Page identifiers not supported are unpredictable.
[4]
Table I-1: Single Byte Code Pages
138
I & W Class Programmer’s Manual
Appendix I
Double-Byte Symbols, Chinese, Kanji and Korean
Character Map Selection
Double byte scalable fonts are mapped through a ‘character map’. This mapping allows the host
application to select a variety of characters to match the application. Each of the code pages allows the
host application to emulate a character set for their application.
The double-byte symbol set is selected using the <STX>yUxx command.
Double Byte Character Map
Character Map Code Page Family[1]
Font Format
Description
Identifier
Enhanced
TrueType
B5
BIG 5 (Taiwan) encoded
√
√
EU
EUC (Extended UNIX Code)
√
√
Government Bureau Industry Standard;
GB
√
√
Chinese (PRC) Default.
JS
JIS (Japanese Industry Standard) Default.
√
√
SJ
Shift JIS
√
√
UC
Unicode (including Korean)
√
√
1
Enhanced Code Page Families are printer configuration respective.
Table I-2: Double Byte Character Map
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.
I & W Class Programmer’s Manual
139
Appendix I
140
I & W Class Programmer’s Manual
Appendix J
GPIO Port
The GPIO Port interface connector is a 9-pin Mini-DIN female type (e.g., Kycon KMDG-9S-BS)
requiring a 9-pin Mini-DIN plug (e.g., Kycon KMDA-9P). Each GPIO pin function is detailed in the
table below:
GPIO Port Connections and Functions
Pin
Signal
Signal
Signal
Signal
#
Name
State
Direction[1]
Description
1
Vcc
+5 VDC
Output
Printer +5 VDC
2
Ribbon
Low
Output
Goes low if the printer detects
Fault
a ribbon fault.
3 Paper Fault
Low
Output
Goes low if the printer detects
a label movement fault.
4 Printer Fault
Low
Output
Goes low if the printer detects
any fault.
5
Spare
Reserved
Output
N/A
6 End of Print Programmable:
Output
The required EOP signal state
(EOP)
Low Pulse, High
is dependent on the
Pulse, Low
applicator’s hardware
Level, and High
requirements.
Level
7
Spare
Reserved
Input
N/A
8
Start of
Programmable:
Input
For applicators, it is
Print
Low Level, and
recommended to only set the
(SOP)
High Level
SOP signal to ACTIVE
LOW. When ready to print a
label, the applicator should
set this signal low for at least
50ms or until the EOP signal
goes not active. (See sample
circuit next page.)
Pin
Configuration[2]
; Note: If a label is ready to
print, the printer will display
“WAITING FOR SIGNAL” until it
receives the applicator’s Start of
Print signal.
9
1
2
Signal
Ground
Ground
N/A
N/A
Signal direction given relative to the printer.
As viewed installed in the printer.
I & W Class Programmer’s Manual
141
Appendix J
External Start of Print Control Circuit
Connections for an external Start of Print control can be made (1)
directly to Pin 8 using a TTL-level input or (2) with an interface
circuit similar to the one shown here (for additional interfacing data,
see the table below).
GPIO Port Specifications*
Vin max
VIH
VIL
IOH
IOL
VOH
VOL
5.5 VDC maximum input into any pin
3.8 VDC minimum (high level input voltage)
1.65 VDC maximum (low level input voltage)
-8 mA typical, - 25 mA maximum (high level output current)
8 mA typical 25 mA maximum (low level output current)
IOH = -8 mA, minimum 3.8 VDC
IOL = 8 mA, maximum .44 VDC
*Consult the SN74AHC244 data sheet for more information.
142
I & W Class Programmer’s Manual
Appendix K
Print Resolutions, Module Identifiers, Maximum Field, Column & Character Values
Module ID (Memory Bank)
A
B
C
D
F
G
Y
Z
Description (type)
plug-in (Future option)
plug-in (Future option)
Default assigned by <STX>X
Internal DRAM (default 1MB)
4MB Flash – Option
256KB Flash Main PCB Not Available on I4206 & I4208.
64KB Flash – Menu / EFIGS – protected
4MB Flash – Option ILPC – protected
Table K-1: Printer Module Identifiers
Printer
All I-Class
All W-Class
Fields
500
500
Total Characters for all Fields
32768
32768
Table K-2: Maximum Label Format Fields & Characters
Printer
I4206
I4208
I4308
I4212
I4406
I4604
W6208
W6308
W8306
Maximum “gggg” Value
Inch
0410
0410
0410
0410
0410
0410
0660
0640
0860
Metric
1041
1041
1041
1041
1041
1041
1680
1625
2184
Table K-3: Column Field (“gggg”) Values, Format Record header
I & W Class Programmer’s Manual
143
Appendix K
Printer
I4206
I4206
I4308
I4212
I4406
I4604
W6208
W6308
W8306
Print Resolution
DPI
DPMM
203
8.0
203
8.0
300
11.8
203
8.0
406
16.0
600
23.6
203
8.0
300
11.8
300
11.8
Inches
4.094
4.094
4.161
4.094
4.10
4.16
6.610
6.401
8.515
Maximum Print Width
Millimeters
104.0
104.0
105.7
104.0
104.0
105.7
168.0
162.6
216.3
Dots
832
832
1248
832
1664
2496
1344
1920
2560
Table K-4: Printer Widths and Resolutions
144
I & W Class Programmer’s Manual
Appendix L
Printer Speed Ranges
Speed Value:
Inches per Second
Millimeters per Second
Speed Command
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
2.0
2.5
3.0
3.5
4.0
4.5
5.0
5.5
6.0
6.5
7.0
7.5
8.0
8.5
9.0
9.5
10.0
10.5
11.0
11.5
12.0
51
63
76
89
102
114
127
140
152
165
178
191
203
216
227
241
254
267
279
292
305
Table L-1: Speed Command Values
Printer
I4206
I4208
I4308
I4212
I4406
I4604
W6208
W6308
W8306
Print
Slew
Range
Default
Range
Default
C–K
C–O
C–O
C–W
C–K
C–G
C–O
C–O
C–K
K
O
K
O
I
E
K
K
K
C–K
C–O
C–O
C–W
C–K
C–G
C–S
C–S
C–O
K
O
K
O
K
G
K
K
K
Backup
Range
Default
C–I
C–I
C–I
C–I
C–I
C–G
C–I
C–I
C–I
G
G
G
G
G
G
G
G
G
Table L-2: Speed Ranges and Defaults by Model
I & W Class Programmer’s Manual
145
Appendix L
146
I & W Class Programmer’s Manual
Appendix M
Commands by Function
Commands by Function
Function
Command
Backup speed
Batch quantity request
Cancel
Character bit-mapped data
Character code
Character dump mode
Column offset amount
Configuration label and dot pattern print
Configuration Set (See Table 5-2 for listing)
Continuous paper length
Count by
Cut
Cut by
Cut by
Decrement alphanumerically
Decrement numerically
DIP switch, host controlled settings
Dot size height and width
Edge sensor enable
Feed rate
Feedback characters enable
Field data line terminator
File delete from module
Firmware version request
Font descriptor
Font ID number
Form feed
Set Present Distance
Format attribute
Graphics image download
Heat setting
Inches
Increment alphanumerically
Increment numerically
Label format field replacement
Label formatting start
Label length maximum
pa
<SOH>E
<SOH>C
<ESC>(snnnWdata
<ESC>*cnnnE
<STX>P
Cnnnn
<STX>Z
<STX>Kc
<STX>cnnnn
^nn
<STX>o
:nnnn
cnn
<fii
- fii
<STX>Vn
Dwh
<STX>e
<STX>Sa
<STX>a
Tnn
<STX>xmfname
<STX>v
<ESC>)snnnW
<ESC>*cnnnD
<STX>F
<STX>Kfnnnn
An
<STX>Iabfnamecr
Hnn
<STX>n
>fii
+fii
<STX>Unnstring
<STX>L
<STX>Mnnnn
Table M-1: Commands (A-L)
I & W Class Programmer’s Manual
147
Appendix M
Commands by Function
Function
Command
Memory query
Memory query (new format)
Metric
Metric
Mirror
Module clear
Module, compress
Module, directory request
Module, set default
Module, FLASH memory Test
Module, RAM memory Test
Modules, clear all
Pause for each label
Pause toggle
Pause, controlled
Place data in global register
Print last label format
Print speed
Print time and date
Printhead dot pattern test label
Quantity labels printed
Quantity of labels
Recall global data and place in field
Recall stored label
Reflective sensor select
Replacement field tag
Reset
Resettable counters reset
Ribbon saver
Row offset amount
RS-232 port test
Scalable font download
Sensor values request
Slew rate
Status ASCII string request
Status byte request
Store label in module & terminate formatting
Symbol set select
Symbol set select
Terminate formatting - print label format
Terminate label formatting, do not print label
Time and date request
Time and date set
Update system database with current database
Zero (Ø) conversion to “0”
<STX>KQ
<STX>Kq
<STX>m
m
M
<STX>qm
<STX>zm
<STX>Wa
<STX>Xm
<STX>w
<STX>t
<STX>Q
<STX>J
<SOH>B
<STX>p
G
<STX>G
Pa
<STX>Tstring
<STX>T
<STX>Ennnn
Qnnnn
<STX>Sa
rname
<STX>r
U
<SOH>#
<STX>Kr
<STX>Rx
Rnnnn
<STX>k
<STX>imtaabbb...bcrxxxxxxxxfff...f
<STX>Y
Sa
<SOH>A
<SOH>F
smname
<STX>ySaa
ySaa
E
X
<STX>B
<STX>AwMMddyearhhmmjjj
<SOH>U
z
Table M-1: Commands (M-Z)
148
I & W Class Programmer’s Manual
Appendix N
I & W Class DPL Constraint Cross-Reference
Immediate
Command
D
All others
Description
The internal firmware architecture no longer requires the execution of an “SOH”
shutdown for binary downloading.
The firmware architecture no longer will “go busy” due to SOH commands filling
the receive buffer while statusing the printer during batch printing.
Table N-1: Immediate Command Constraints
System-Level
Command
A&B
C
D
H
N
O
S
V
Y
b
d
f
g
s
t
v
w
1
Description
The printer calculates the Julian date. A non-zero date will not be stored and
returned.
Copy Module – Not Supported.
Memory Dump – Not Supported.
Set Cutter Signal Time – Not Supported.
Enter Internal Batch Mode – Not Supported.
Set Start of Print Position –Supported – SOP Emulation
Test Module Memory (Prodigy only) – Not Supported.
Software Settings – Previously different for each printer – Verify format.
Output Sensor Values – Verify response format.
Set Cutter Signal Time – Not Supported.
Double Buffer Mode – Not Supported.
Set Form Stop Position –Supported – SOP Emulation
Internal Batch Software Mode – Not Supported.
Single Buffer Mode – Not Supported.
Test RAM Memory Module – Verify response format.
Firmware Version – Verify response format [1].
Test Flash Memory – Verify response format [1].
Printer response message format may deviate from older standard DPL Printers; we suggest the Program Developer
examine the printer responses in detail.
Table N-2: System-Level Command Constraints
I & W Class Programmer’s Manual
149
Appendix O
Extended
System
Command
KD
Kf
KI & KO
KM, KR, KS,
& KW
KQ
1
Description
Configuration – Not Supported.
Set Present Distance – Replaces System Command Set Form Stop Position.
GPIO Configuration – Verify Format.
Set Memory Configuration - Not Supported. Default Configuration will handle most
applications. Use Operator Panel.
Memory Configuration – Verify response format [1].
Printer response message format may deviate from older standard DPL Printers; we suggest the Program Developer
examine the printer responses in detail.
Table N-3: Extended-System Command Constraints
Label
Command
W
Z
Description
Wait Mode (Prodigy) – Not Supported.
Zip Mode (Prodigy) – Not Supported.
Table N-4: Label Command Constraints
Internal Font
9
9
9
Description
(Ann) Smooth Internal CG Triumvirate Bitmap Font – 9. Referencing the Font 9 to
Smooth CG Triumvirate Fonts are automatically converted to the CG Triumvirate
Scalable Font. The printed scalable font is slightly smaller than previous printers,
measuring less than 1/16 inch over three inches of print. The Euro Currency symbol
is referenced as determined by the selected scalable font symbol set. See Appendix
E.
(S00) CG Triumvirate Bold Condensed Scalable Font.
(S01) CG Triumvirate Scalable Font – Standard.
Table N-5: Internal Font Constraints
Modules
Default
Description
When specifying a module that is not available, the printer will automatically select
the default module.
Table N-6: Module Constraints
150
I & W Class Programmer’s Manual
Module Identifiers by Product and Maximum Label Format Fields
Appendix O
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
Each dot-row record has the following format:
Syntax:
80nndd...d<CR>
Where:
nn
-
Is the number of character pairs in dd...d, represented in ASCII hex.
dd...d
-
Is dot data, character pairs, ASCII hex, 00-FF.
Duplicate records may be encoded using a repeat data record, following the data record that needs
duplicating. The repeat data record format is:
Syntax:
0000FFnn<CR>
Where:
nn
-
Is the number of duplicates, ASCII hex, 00-FF.
The terminator, last record, at the image download is: FFFF<CR>
I & W Class Programmer’s Manual
151
Appendix O
^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
Figure O-2: Sample Label
152
I & W Class Programmer’s Manual
Appendix P
UPC-A and EAN-13: Variable Price/Weight Barcodes
The EAN/UPC standard allows for an additional checksum to be generated in the middle of the barcode
based on the data. This is used when the price or weight of an item is embedded into the barcode data
(commonly used in the food industry).
For the printer to generate this checksum, a ‘V’ must be placed in the data stream in the position the
checksum is requested. If the ‘V’ is placed in the 6th position for UPC-A or the 7th position for EAN-13,
a checksum will be generated using the next five digits in the data stream. If the ‘V’ is placed in the 7th
position for UPC-A or the 8th position for EAN-13, a checksum will be generated using the next four
digits in the data stream. The checksum is generated per the EAN/UPC barcode standard.
Examples:
1B110000200020012345V01199
Prints the UPC-A barcode with the variable price checksum in the sixth position.
1B1100002000200123456V0150
Prints the UPC-A barcode with the variable price checksum in the seventh position.
1F1100002000200123456V01199
Prints the EAN-13 barcode with the variable price checksum in the seventh position.
1F11000020002001234567V0150
Prints the EAN-13 barcode with the variable price checksum in the eighth position.
I & W Class Programmer’s Manual
153
Appendix P
154
I & W Class Programmer’s Manual
Appendix Q
International Language Print Capability (ILPC) Programming Examples
ILPC, offered as a field upgrade or a factory installable option, allows the printing of non-English
character sets, available with Western European language support (CG TIMES), KANJI language
support (GOTHIC B), Chinese language support (SIMPLIFIED GB), and Korean language support
(HANGUL). All of the features are embedded in the printer resident firmware and accessible through
DPL thus eliminating excessive download time of bitmapped characters. Using scalable technology
licensed from AGFA, this firmware allows users to print smooth characters in sizes from 4pt (1.4mm) to
999pt (350mm) in over 40 languages. Consult Appendix I for code page selections. Specific details
regarding which characters are supported in each option can be obtained through Datamax Technical
Support at 407-523-5540.
ILPC - CG TIMES Option
The CG Times Option is a single byte scalable font consisting of four typefaces in 38 Western European
languages. This option contains over 900 unique characters in each of the four typefaces from the CG
Times typeface family, Normal, Italic, Bold, and Bold Italic. Single byte scalable fonts are selected using
a print format record (see Chapter 8 and Appendix H for details).

Scalable CG TIMES Font Code (‘eee’ field):
SA0 SA1 SA2 SA3 -
CG TIMES
CG TIMES ITALIC
CG TIMES BOLD
CG TIMES BOLD ITALIC
Sample Greek DPL file and resulting label:
<02>L<CR>
D11<CR>
ySWG<CR>
1911SA003600020P020P020(WG) Greek Characters from<CR>
1911SA003000085P020P020the internal Symbol Set,<CR>
1911SA002400085P020P020font code SA0<CR>
1911SA001500050P020P020<ca><e1><eb><f9><f3><ef><f1><df><f3><e1><f4><e5><20><d3><f5><ed><dd><e4><f1>
<e9><ef><20><CR>
1911SA001100100P020P020<f4><f9><e3><20><c5><f4><e1><df><f1><f9><e3><20><f4><e7><f2><CR>
1911SA000700140P020P020Datamax<CR>
1X1100000100020B365190005005<CR>
Q0002<CR>
E<CR>
; 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.
I & W Class Programmer’s Manual
155
Appendix Q
ILPC-KANJI Option
The Kanji Option is a double byte scalable font supporting Kanji Gothic B. 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 Chapter 8 and Appendix H for details).
Scalable Double Byte Font Map - KANJI
eee
Binary
Hex ASCII
Scalable Font Type
Font Name
(Font Code)
Addressing Addressing
U40
Scalable Resident
HG-Gothic-B Kanji
√
Scalable
u40
Scalable Resident
HG-Gothic-B Kanji
√
Scalable
u50 - u5z
Scalable Non-Resident (Download) User defined
√
u90 - u9z
U50 - U5z... Scalable Non-Resident (Download) User defined
√
U90 - U9z
Code
Pages
EUC, JIS,
SJIS, UC
EUC, JIS,
SJIS, UC
; Note: Not all fonts contain an entire compliment of character codes for a given character map.
156
I & W Class Programmer’s Manual
Appendix Q
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.
I & W Class Programmer’s Manual
157
Appendix Q
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 Chapter 8 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.
eee
(Font Code)
UC0
uc0
U50 - U5z...
U90 - U9z
u50 - u5z
u90 - u9z
U50 - U5z...
U90 - U9z
u50 - u5z
u90 - u9z
Scalable Double Byte Font Map - CHINESE
Binary
Scalable Font Type
Font Name
Addressing
Scalable Resident
Simplified GB Chinese
√
Scalable Resident
Simplified GB Chinese
Scalable Non-Resident
Big 5
√
(Download)
Scalable Non-Resident
Big 5
(Download)
Scalable Non-Resident
User defined
√
(Download)
Scalable Non-Resident
User defined
(Download)
Hex ASCII
Addressing
√
√
Code
Pages
GB
GB
B5
B5
√
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>
158
I & W Class Programmer’s Manual
Appendix Q
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.
I & W Class Programmer’s Manual
159
Appendix Q
ILPC-KOREAN Option
The Korean Option is a double byte scalable, Unicode encoded, font supporting Hangul characters. 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 Chapter 8 and Appendix H for
details).
eee
(Font Code)
UH0
uH0
U50 - U5z...
U90 - U9z
u50 - u5z
u90 - u9z
Scalable Double Byte Font Map - KOREAN
Binary
Scalable Font Type
Font Name
Addressing
Scalable Resident
Korean Hangul
√
Scalable Resident
Korean Hangul
Scalable Non-Resident (Download)
User defined
√
Scalable Non-Resident (Download)
Hex ASCII
Addressing
√
Code
Pages
UC
UC
√
User defined
; 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>
160
I & W Class Programmer’s Manual
Appendix Q
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.
I & W Class Programmer’s Manual
161
Appendix Q
162
I & W Class Programmer’s Manual
Appendix R
Plug and Play IDs
MFG:Datamax;
CMD:DPL;
MDL:I4208;
CLS:PRINTER;
DES:Datamax 4208 Label Printer Version 06.06 07/09/2001
Where:
CMD
MDL
CLS
DES
=
=
=
=
command
model (valid MDLs are I4206, I4208, I4308, I4212, I4406, I4604, W6308, W6208 & W8306)
class
description (subject to change with the application [firmware] revision and printer model)
I & W Class Programmer’s Manual
163
Appendix R
164
I & W Class Programmer’s Manual
Appendix S
Barcode Symbology Information Sources
AIM International, Inc.
11860 Sunrise Valley Drive, Suite 101
Reston, VA 22091 USA
Tel: 703-391-7621
Fax: 703-391-7624
Automotive Industry Action Group
26200 Lahser Road
Suite 200
Southfield, MI 48034 USA
Tel: 313-358-3570
Fax: 313-358-3253
AIM JAPAN
Aios Gotanda Bldg. 6F
1-10-7 Higashigotanda
Shinagawa-ku Tokyo 141 Japan
Tel: 03-3440-9085
Fax: 03-3440-9086
Computing Technology Industry Association
450 E. 22 Street Suite 230
Lombard, IL 60148-6158 USA
Tel: 630 268-1818
Fax: 630 278-1384
AIM EUROPE
The Old Vicarage
Haley Hill, Halifax HX3 6DR
West Yorkshire, England
Tel: 44-1422-359161 Fax: 44-1422-3556904
Health Industry Business Communications Council
PO Box 53528
Phoenix, AZ 85018 USA
Tel 602-318-1091
AIM UK
The Old Vicarage
Haley Hill, Halifax HX3 6DR
United Kingdom
Tel: 44-1422-359161 Fax: 44-1422-355604
International Article Numbering Association
(EAN)
Rue Royal 29
B-1000 Bruxelles
Belgium
Tel: 32-22-187674
Fax: 32-22-187585
AIM USA
634 Alpha Drive
Pittsburgh, PA 15238-2802 USA
Tel: 412-963-8588
Fax: 412-963-8753
Uniform Code Council, Inc. (UCC)
8163 Old Yankee Rd. Suite J
Dayton, OH 45458 USA
Tel: 513-435-3870
Fax: 513-435-4749
American National Standards Institute (ANSI)
11 West 42nd Street
New York, New York 10036 USA
Tel: 212-642-4900
Fax: 212-398-0023
U.S. Government Printing Office
732 North Capitol Street NW
Washington, DC 20401 USA
Tel: 202-512-1991
Fax: 202-512-1293
I & W Class Programmer’s Manual
165
Appendix S
166
I & W Class Programmer’s Manual
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement