Two-Dimensional Bar Codes - SATO D512 PCL Programming Manual

Sato america, inc. d512 pcl printer programming manual
Table of Contents

Advertisement

Unit 5: Bar Code Commands

TWO-DIMENSIONAL BAR CODES

M
C
PCL 5 C
AXI
ODE
OMMANDS TO
Sato provides two methods to print MaxiCode bar codes. The final method uses two Sato unique
commands
&x#W and
ESC
B
C
D
AR
ODE
ESCRIPTOR
This escape sequence is used to describe not only what bar code to print, but also all of the
parameter settings required to build the bar code. The first two bytes of this command always
designate the symbology. The remaining byte is then interpreted to specify the mode. # is the
number of bytes of descriptor data. The descriptor data for MaxiCode would be the binary string
00 02 01 (for mode 1), 00 02 02 (for mode 2), and so on.
T
B
C
RANSFER
AR
ODE
This new PCL 5 command is used to transfer a raw block of bar code data to be encoded. The
bar code data is encoded according to what was specified in the last valid Bar Code Descriptor
command received. If no valid Descriptor is sent, then this command is ignored and the data is
flushed. # is the number of bytes of bar code data.
B
C
D
AR
ODE
ESCRIPTOR FOR
Below is the header definition of the bar code descriptor for MaxiCode:
Table 5-3: MaxiCode Descriptor Header Definition
Bytes
0–1
2–3
Symbology ID bytes 0 and 1: (Required = 00 02x)
These two bytes signify the symbology. For MaxiCode, these two bytes must
be 00x and 02x.
Mode: (Default = 02x)
This field designates what mode to use when interpreting the input data. Valid
modes are (in hex).
Table 5-4: MaxiCode Mode Values
Bytes
02x
03x
04x
05x
06x
SATO D512 PCL Programming Manual
S
M
UPPORT
&y#W.
ESC
&
#W[
ESC
X
DESCRIPTOR DATA
D
ESC&
#W[
ATA
Y
BAR CODE DATA
M
C
AXI
ODE
MSB
Symbology ID byte (00x)
Mode
MSB
Structured carrier message with numeric postal code
Structured carrier message with alphanumeric postal code
Standard symbol with standard error correction
Full symbol with enhanced error correction
Reader Program with standard error correction
C
B
C
AXI
ODE
AR
ODES
]
]
LSB
Symbology ID byte 2 (02x)
Reserved
Page 5-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

D512

Table of Contents