Appendix A
PCL5 Emulation Command Listing
Table 1:Job Control Commands
COMMAND
HEX VALUE
FUNCTION
ESC%-12345X
1B 25 2D 31 32 33 34 35 58
Universal Exit Language
Delete all jobs and Restores the printer
ESC E
1B 45
Printer Reset
ESC & l # X
1B 26 6C # 58
Number of Copies
# = Number of copies 1 to 999
Table 2: Page Control Commands
COMMAND
HEX VALUE
FUNCTION
ESC & l # A
1B 26 6C # 41
Page Size
# = 1: Executive(Paper Size Set on 10.5”)
# = 2: Letter(Paper Size Set on 11”)
# = 3: Legal(Paper Size Set on 14”)
# = 26: A4(Paper Size Set on 11”)
# = 80: Monarch(Paper Size Set on 7.5”)
# = 81: COM 10(Paper Size Set on 9.5”)
ESC & l # O
1B 26 6C # 4F
Orientation
# = 0 : Portrait
# = 1 : Landscape
# = 3 : Reverse Landscape
ESC & l # E
1B 26 6C # 45
Top Margin
# = Number of lines
ESC & l # F
1B 26 6C # 46
Text Length
# = Number of lines
ESC & a # L
1B 26 61 # 4C
Left Margin
# = Column number
ESC & a # M
1B 26 61 # 4D
Right Margin
# = Column number
ESC 9
1B 39
Clear Horizontal Margins
ESC & k # H
1B 26 6B # 48
Horizontal Motion Index (HMI)
# = Number of 1/120 inch increments
ESC & l # C
1B 26 6C # 43
Vertical Motion Index (VMI)
# = Number of 1/48 inch increments between rows
ESC & l # D
1B 26 6C # 44
Line Spacing Sets the number of lines printed per inch# =
1, 2, 3, 4, 6, 8, 12, 16, 24, 48