
Unit 5: Bar Code Commands
SATO D512 PCL Programming Manual
Page 5-5
TWO-DIMENSIONAL BAR CODES
M
AXI
C
ODE
PCL 5 C
OMMANDS
TO
S
UPPORT
M
AXI
C
ODE
B
AR
C
ODES
Sato provides two methods to print MaxiCode bar codes. The final method uses two Sato unique
commands
ESC
&x#W and
ESC
&y#W.
B
AR
C
ODE
D
ESCRIPTOR
ESC
&
X
#W[
DESCRIPTOR
DATA
]
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
RANSFER
B
AR
C
ODE
D
ATA
ESC&
Y
#W[
BAR
CODE
DATA
]
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
AR
C
ODE
D
ESCRIPTOR
FOR
M
AXI
C
ODE
Below is the header definition of the bar code descriptor for MaxiCode:
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-3: MaxiCode Descriptor Header Definition
Bytes
MSB
LSB
0–1
Symbology ID byte (00x)
Symbology ID byte 2 (02x)
2–3
Mode
Reserved
Table 5-4: MaxiCode Mode Values
Bytes
MSB
02x
Structured carrier message with numeric postal code
03x
Structured carrier message with alphanumeric postal code
04x
Standard symbol with standard error correction
05x
Full symbol with enhanced error correction
06x
Reader Program with standard error correction
Содержание D512
Страница 1: ...D512 PCL PROGRAMMING MANUAL PN 9001180B...
Страница 4: ...PN 9001180B SATO D512 PCL PROGRAMMING MANUAL...
Страница 61: ...SATO D512 PCL Programming Manual Page3 1 1PCL SUPPORT...
Страница 69: ...SATO D512 PCL Programming Manual Page 4 1 1PJL SUPPORT...
Страница 74: ...Unit 4 Printer Job Language Support Page 4 6 SATO D512 PCL Programming Manual...
Страница 75: ...SATO D512 PCL Programming Manual Page 5 1 1BARCODE COMMANDS...
Страница 85: ...Unit 6 PRINTER LANGUAGE CHANGE COMMANDS SATO D512 PCL Programming Manual Page 6 3 ESC RN ESC Z...
Страница 87: ...1SATO CONTACTS 2 3 4...