PCL Escape Codes
The table below shows some
The commands listed below are a subset of the PCL command set. When entering escape sequences, substitute the # symbol in the escape sequence referenced in the left column with the appropriate number from the right column.
The character l shown in some examples after the ampersand (&) is a letter l (a
Printer command
EC
LF
FF
CR
ECE
EC&l#X
EC&l0X
EC&l#H
EC&l#A
EC&l#O
EC&a#L
EC&a#M
EC&l#E
EC&l#F
Function | # refers to | |
Escape character | n/a | |
Line feed | n/a | |
Form feed | n/a | |
Carriage return | n/a | |
Resets printer | n/a | |
Number of copies | 1 to 32,767 | |
Ejects page | n/a | |
Selects paper source | 1 | = tray 1, 2 = manual feed, 3 = manual feed, |
| 4 | = tray 2, 6 = MPFeeder |
Selects a paper size | 1 | = executive, 2 = letter, 3 = legal 14”, 26 = A4, |
| 45 = JIS B5, 62 = legal 13”, 71 = postcard, | |
| 80 = monarch, 81 = commercial 10, 90 = DL | |
Select orientation | 0 | = portrait, 1 = landscape |
Sets left margin | Column number | |
Sets right margin | Column number | |
Sets top margin | Number of lines | |
Sets page length | Number of lines from top margin |