![](/images/new-backgrounds/1308370/308370219x1.webp)
A
HP PCL Printer Commands and Control Codes
HP PCL Printer Command Summary
Table A-1. HP PCL Printer Command Summary
Command Topic
Printer Feature
Printer Command
Decimal Equivalent
Hex Equivalent
Printer Control Commands
Reset and | Reset | EcE | 027 069 | 1B 45 |
Control | Ecz | 027 122 | 1B 7A | |
| ||||
Paper Input Control | Eject page | Ec&←0H | 027 038 108 048 072 | 1B 26 6C 30 48 |
(Media Source) | Feed from tray | Ec&←1H | 027 038 108 049 072 | 1B 26 6C 31 48 |
| Manual feed | Ec&←2H | 027 038 108 050 072 | 1B 26 6C 32 48 |
Print Mode | Unidirectional left to right | Ec&k0W | 027 038 107 048 087 | 1B 26 6B 30 57 |
| Bidirectional | Ec&k1W | 027 038 107 049 087 | 1B 26 6B 31 57 |
| Unidirectional right to left | Ec&k2W | 027 038 107 050 087 | 1B 26 6B 32 57 |
Dry Time | Dry time in seconds | Ec&b#T | 027 038 098 # 084 | 1B 26 62 # 54 |
Underline | Single fixed | Ec&d1D | 027 038 100 049 068 | 1B 26 64 31 44 |
| Double fixed | Ec&d2D | 027 038 100 050 068 | 1B 26 64 32 44 |
| Single float | Ec&d3D | 027 038 100 051 068 | 1B 26 64 33 44 |
| Double float | Ec&d4D | 027 038 100 052 068 | 1B 26 64 34 44 |
| Turn off | Ec&d@ | 027 038 100 064 | 1B 26 64 40 |
Line Termination | CR=CR, LF=LF, FF=FF | Ec&k0G | 027 038 107 048 071 | 1B 26 6B 30 47 |
| CR=CR+LF, LF=LF, FF=FF | Ec&k1G | 027 038 107 049 071 | 1B 26 6B 31 47 |
| CR=CR, LF=CR+LF, FF=CR+FF | Ec&k2G | 027 038 107 050 071 | 1B 26 6B 32 47 |
| CR=CR+LF, LF=CR+LF, FF=CR+FF | Ec&k3G | 027 038 107 051 071 | 1B 26 6B 33 47 |
Turn on | Ec&s0C | 027 038 115 048 067 | 1B 26 73 30 43 | |
| Turn off | Ec&s1C | 027 038 115 049 067 | 1B 26 73 31 43 |
Transparent Print | No. of bytes | Ec&p#X[data] | 027 038 112 #...# 088 | 1B 26 70 #...# 58 |
Data |
|
|
|
|
Enhancement | Ec&k0E | 027 038 107 048 069 | 1B 26 6B 30 45 | |
Control3 | Ec&k1E | 027 038 107 049 069 | 1B 26 6B 31 45 | |
| ||||
Display Functions | Turn on | EcY | 027 089 | 1B 59 |
| Turn off | EcZ | 027 090 | 1B 5A |
SI/SO Control1 | E &k0F | 027 038 107 048 070 | 1B 26 6B 30 46 | |
|
| c |
|
|
| Ec&k1F | 027 038 107 049 070 | 1B 26 6B 31 46 |
#Indicates the numeric value field.
1. This is an obsolete command.