
Unit 1: PCL Emulation
Page 1-6
SATO D512 PCL Programming Manual
COMMAND STRUCTURE
This section introduces the different types of PCL emulation commands and their structure, or
syntax. It also demonstrates how you can link commands to abbreviate them.
C
ONTROL
C
ODES
Control Codes are single-character instructions.
C
OMMANDS
PCL commands are multibyte strings (also known as “escape sequences”) that begin with the
Escape control code (
ESC
,
¬
, decimal 27, or hexadecimal 1B). The
ESC
control code notifies the
printer that the characters that follow are to be interpreted as part of a command and are not
control codes or data to be printed.
Table 1-3: Control Codes
Code
Dec
Hex
Function
Result
BS
8
08
Backspace
Moves the cursor toward the left margin one horizontal space equal to the
last printed character
HT
9
09
Horizontal Tab
Moves the cursor to the next defined tab stop
LF
10
0A
Line Feed
Advances the cursor to the same horizontal position on the following line as
determined by either the Vertical Motion Index (VMI) or Set Line Spacing
command
FF
12
0C
Form Feed
Advances the cursor to the same horizontal position at the top margin of the
next page
CR
13
0D
Carriage Return
Moves the cursor to the left margin
SP
32
20
Space
Moves the cursor to the right one column
SI
15
0F
Primary Font
Selects the primary font
SO
14
0E
Secondary Font
Selects the secondary font
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...