The following table lists the supported PCL5e commands.
Function |
Parameter |
PCL command |
---|---|---|
Horizontal Rectangle Size |
Number of Dots |
<Esc>*c#A |
Number of Decipoints |
<Esc>*c#H |
|
Vertical Rectangle Size |
Number of Dots |
<Esc>*c#B |
Number of Decipoints |
<Esc>*c#V |
|
Area Fill ID |
2% grey |
<Esc>*c2G |
10% grey |
<Esc>*c10G |
|
15% grey |
<Esc>*c15G |
|
30% grey |
<Esc>*c30G |
|
45% grey |
<Esc>*c45G |
|
70% grey |
<Esc>*c70G |
|
90% grey |
<Esc>*c90G |
|
100% grey |
<Esc>*c100G |
|
Horizontal Lines |
<Esc>*c1G |
|
Vertical Lines |
<Esc>*c2G |
|
Diagonal Lines |
<Esc>*c3G |
|
User-defined |
<Esc>*c4G |
|
Square Grid |
<Esc>*c5G |
|
Diagonal Grid |
<Esc>*c6G |
|
User-defined Pattern |
<Esc>*c#G |
|
Fill Rectangle |
Solid black (default) |
<Esc>*c0P |
Solid white (erase) |
<Esc>*c1P |
|
Shaded Fill |
<Esc>*c2P |
|
XHatched Fill |
<Esc>*c3P |
|
User-defined Pattern |
<Esc>*c4P |
|
Current Pattern |
<Esc>*c5P |
|
Define Pattern |
Number of Bytes |
<Esc>*c#W |
User-defined Pattern Control |
Delete all Patterns |
<Esc>*p0Q |
Delete all temporary Patterns |
<Esc>*p1Q |
|
Delete current pattern |
<Esc>*p2Q |
|
Make pattern temporary |
<Esc>*p4Q |
|
Make pattern permanent |
<Esc>*p5Q |
|
Set Pattern reference Point |
Rotate w/ print direction |
<Esc>*p0R |
Follow physical page |
<Esc>*p1R |
|
Display Functions |
ON |
<Esc>Y |
OFF |
<Esc>Z |
|
End-of-Line Wrap |
Enabled |
<Esc>&s0C |
Disabled |
<Esc>&s1C |