USER’S GUIDE
Appendix–23
QUICK REFERENCE OF COMMANDS
The following tables show commands sorted by function. For further
information about commands, refer to the “Technical Reference Manual,”
which is optionally available.
✒
Note
l
represents the lowercase
l
letter. Script notation is used because
lowercase
l
and the number 1 can be easily confused with each other.
HP LaserJet Mode
PCL Command Sets
Function Command Decimal Hexadecimal
CONTROL CODE
Backspace BS 08 08
Horizontal Tab HT 09 09
Line Feed LF 10 0A
Form Feed FF 12 0C
Carriage Return CR 13 0D
Secondary Font Select SO 14 0E
Primary font Select SI 15 0F
Escape ESC 27 1B
PAGE FORMAT
Page Length ESC &
l
# P
27 38 108 ## 80 1B 26 6C ## 50
(# lines)
Top Margin ESC &
l
# E 27 38 108 ## 69
1B 26 6C ## 45
(# lines)
Text Length ESC &
l
# F
27 38 108 ## 70 1B 26 6C ## 46
(# lines)
Left Margin ESC & a # L 27 38 97 ## 76 1B 26 61 ## 4C
(# column)
Right Margin ESC & a # M 27 38 97 ## 77 1B 26 61 ## 4D
(# column)
Clear Side Margin ESC 9 27 57 1B 39
Line Pitch ESC &
l
# C 27 38 108 ## 67 1B 26 6C ## 43
(# /48 inch)
Line Spacing ESC &
l
# D 27 38 108 ## 68 1B 26 6C ## 44
1 line/inch ESC &
l
1 D 27 38 108 49 68 1B 26 6C 31 44
2 lines/inch ESC &
l
2 D 27 38 108 50 68 1B 26 6C 32 44
3 lines/inch ESC &
l
3 D 27 38 108 51 68 1B 26 6C 33 44
4 lines/inch ESC &
l
4 D 27 38 108 52 68 1B 26 6C 34 44
6 lines/inch ESC &
l
6 D 27 38 108 54 68 1B 26 6C 36 44
8 lines/inch ESC &
l
8 D 27 38 108 56 68 1B 26 6C 38 44
12 lines/inch ESC &
l
12 D 27 38 108 49 50 68 1B 26 6C 31 32 44
16 lines/inch ESC &
l
16 D 27 38 108 49 54 68 1B 26 6C 31 36 44
24 lines/inch ESC &
l
24 D 27 38 108 50 52 68 1B 26 6C 32 34 44
48 lines/inch ESC &
l
48 D 27 38 108 52 56 68 1B 26 6C 34 38 44
Character Pitch ESC & k # H 27 38 107 ## 72 1B 26 6B ## 48
(# /120 inch)
ex. 10 pitch ESC & k 12 H 27 38 107 49 50 72 1B 26 6B 31 32 48