A SERVICE OF

logo

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
Envelope feeder
1
6 ENVELOPETRAY 2 false
1
Trays 4 through 9 and the envelope feeder are not options for the HP Color LaserJet Enterprise CP4020-CP4520 Series
products. The options are included in this table only to show what the Universal Print Driver (UPD) generally supports.
2
For the string value, you must include the quotation marks around the variable. For example, ubyte_array "TRAY2"
MediaSource is the PCL 6 command for Tray 2.
3
Refers to optional trays.
Paper-type commands
The PCL 5 print driver escape sequence for paper type is "Esc&n#Wdpapertype", where "n#" is the
number of characters in the paper type plus 1. For example, in the sequence "Esc&n6WdPlain", "Plain"
has 5 letters plus 1, for a total of 6.
Table 6-5 paper-type commands
Esc& n# Wd Paper type
Esc& 6 Wd Plain
Esc& 11 Wd Preprinted
Esc& 11 Wd Letterhead
Esc& 13 Wd Transparency
1
Esc& 11 Wd Prepunched
Esc& 7 Wd Labels
Esc& 5 Wd Bond
Esc& 9 Wd Recycled
Esc& 6 Wd Color
Esc& 6 Wd Light
Esc& 13 Wd Interpaperte
Esc& 6 Wd Heavy
Esc& 12 Wd Extra Heavy
Esc& 11 Wd Cardstock
2
Esc& 6 Wd Rough
Esc& 7 Wd Glossy
Esc& 12 Wd Tough Paper
Esc& 9 Wd Envelope
1
You must spell out the word "Transparency" in the string, although it is abbreviated as TRNSPRNCY on the control panel.
2
The correct command for cardstock is "Esc&n11WdCard Stock", with a space between the "d" and the "S", and with an
uppercase "S".
Table 6-4 Paper-source commands
1
(continued)
220 Chapter 6 Engineering Details ENWW