
Unit 5: Bar Code Commands
SATO D512 PCL Programming Manual
Page 5-7
M
AXI
C
ODE
E
XAMPLES
USING
T
RANSFER
B
AR
C
ODE
D
ATA
C
OMMAND
Here are some MaxiCode examples of the ASCII data that would be sent with the Transfer Bar
Code Data Command:
Mode 2, separated with commas:
ESC
&y48W1,1,40361,840,001,This is the secondary message.
Mode 3, separated with commas:
ESC
&y48W1,1,ABC01,840,001,This is the secondary message.
Mode 3, separated with GS and commas plus optional ANSI Message
Header (yy=99):
ESC
&y45W1,1,[)
RS
01
GS
99ABC01
GS
840
GS
022
GS
secondary message
Mode 4, separated with commas:
ESC
&y28W1,1, Here is a mode 4 message
H
UMAN
-R
EADABLE
T
EXT
Because two-dimensional bar codes are capable of encoding thousands of characters, human-
readable interpretation of the data may not be practical. Alternatively, descriptive text rather than
literal text may be printed with the symbol. If printed, any character size and font available may
be selected, and the text may be printed anywhere desired near the symbol. The text must not
interfere with the bar code symbol or the quiet zones.
F
UNCTIONAL
P
ARAMETERS
FOR
M
AXI
C
ODE
(T
YPEFACE
S
ELECTION
M
ETHOD
)
The data sent when using this second technique of printing MaxiCode symbols will follow the
same rules that exist for data sent using the Transfer Bar Code Data Command to print
MaxiCode symbols, with the following change to rule 1. (See “Rule 1” on page 2-6.) The input
data must start with a label-number field, a number-of-labels field, and a mode field. All three of
these fields are one digit in length and are terminated with either a comma or Group Separator
(GS, ASCII 29).
Example of MaxiCode commands using typeface selection:
ESC
(s24800T
ESC
&p105X1,1,3,152382802,840,001,[)
RS
01GS961Z00004951
GS
UPSN
GS
06X610
GS
159GS1234567
GS
1/1
GS
10
GS
Y
GS
634 ALPHA
DR
GSGS
PITTBURGHGSPA
RS
Where:
ESC
=escape character decimal 27, hexadecimal 1B
RS
=record separator decimal 30, hexadecimal 1E
GS
=group separator decimal 29, hexadecimal 1D
Summary of Contents for D512
Page 1: ...D512 PCL PROGRAMMING MANUAL PN 9001180B...
Page 4: ...PN 9001180B SATO D512 PCL PROGRAMMING MANUAL...
Page 61: ...SATO D512 PCL Programming Manual Page3 1 1PCL SUPPORT...
Page 69: ...SATO D512 PCL Programming Manual Page 4 1 1PJL SUPPORT...
Page 74: ...Unit 4 Printer Job Language Support Page 4 6 SATO D512 PCL Programming Manual...
Page 75: ...SATO D512 PCL Programming Manual Page 5 1 1BARCODE COMMANDS...
Page 85: ...Unit 6 PRINTER LANGUAGE CHANGE COMMANDS SATO D512 PCL Programming Manual Page 6 3 ESC RN ESC Z...
Page 87: ...1SATO CONTACTS 2 3 4...