
Media attributes and commands
This section includes the following information about paper attributes:
●
Paper-source commands
●
Paper-type commands
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 CP4020-CP4520 Series products support Tray 1, Tray 2,
and Tray 3 only.
Table 6-4 Paper-source commands
1
Input source PCL 5
Esc&l#H
PCL 6
ubyte #
MediaSource
2
PCL 6
ubyte_array
"string"
MediaSource
PostScript
/MediaPosition
# or null/
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 (100-sheet) 4 3 TRAY1 3 false
Tray 2 (250-sheet) 1 4 TRAY2 0 false
Tray 3 (500-sheet) 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
number of internal trays)
5 to 37 false
ENWW Media attributes and commands 219