
Media attributes and commands
This section includes the following information about paper attributes:
●
●
Paper-source commands
The PCL 6 Print driver attribute for paper source is ubyte # MediaSource or ubyte_array "string" MediaSource. See the following table for values of #. For example, "ubyte 4 MediaSource" is the command for Tray 2.
The PCL 5 print driver escape sequence for paper source is Esc&l#H (the "l" is a lowercase "L" rather than the numeral "1"). See the following table for values of #. For example, Esc&l1H is the command for Tray 2.
NOTE: The HP Color LaserJet Enterprise CP5520 Series Printer products support Tray 1, Tray 2, Tray 3, Tray 4, Tray 5, and Tray 6.
Table 6-1 Paper-source commands
Input source | PCL 5 | PCL 6 | PCL 6 | PostScript |
| Esc&l#H | ubyte # | ubyte_array | /MediaPosition |
|
| MediaSource | "string" | # or null/ |
|
|
| MediaSource | ManualFeed true |
|
|
|
| or false |
|
|
|
|
|
Automatically select | NA | NA | NA | NA |
|
|
|
|
|
Printer auto select | 7 | 1 | AUTOSELECT | null false |
|
|
|
|
|
Manual feed in tray 1 | 2 | 2 | MANUALFEED | 3 true |
|
|
|
|
|
Tray 1 | 4 | 3 | TRAY1 | 3 false |
|
|
|
|
|
Tray 2 | 1 | 4 | TRAY2 | 0 false |
|
|
|
|
|
Tray 3 | 5 | 5 | TRAY3 | 1 false |
|
|
|
|
|
Tray 4 | 8 | 7 | TRAY4 | 4 false |
|
|
|
|
|
Tray 5 | 9 | None | TRAY5 | 38 false |
|
|
|
|
|
Tray 6 | NA | None | TRAY6 | 39 false |
|
|
|
|
|
Tray 7 | NA | None | TRAY7 | 40 false |
|
|
|
|
|
Tray 8 | NA | None | TRAY8 | 41 false |
|
|
|
|
|
Tray 9 | NA | None | TRAY9 | 42 false |
|
|
|
|
|
ENWW | Media attributes and commands 151 |