![](/images/backgrounds/287029/hp-cp4520-users-manual-548682237x1.png)
Media attributes and commands
This section includes the following information about paper attributes:
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
Table
Input source | PCL 5 | PCL 6 | PCL 6 | PostScript |
| Esc&l#H | ubyte # | ubyte_array | /MediaPosition |
|
| MediaSource 2 | "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 1 | 8 | 7 | TRAY4 | 4 false |
|
|
|
|
|
Tray 5 1 | 9 | None | TRAY5 | 38 false |
|
|
|
|
|
Tray 6 1 | NA | None | TRAY6 | 39 false |
|
|
|
|
|
Tray 7 1 | NA | None | TRAY7 | 40 false |
Tray 8 1 | NA | None | TRAY8 | 41 false |
|
|
|
|
|
Tray 9 1 | NA | None | TRAY9 | 42 false |
|
|
|
|
|
Tray # 3 | 20 to 39 | 8 to 55 | TRAY# (# depends on the | 5 to 37 false |
|
|
| number of internal trays) |
|
|
|
|
|
|
ENWW | Media attributes and commands 219 |