Common PCL 5e printer commands
Function
Command
Options (#)
Job control commands
Reset
?E
n/a
Number of copies
Ec&l#X
1 to 32,000
2-sided/1-sided printing
Ec&l#S
0 = simplex (1-sided) printing
1 = duplex (2-sided) with long-edge binding
2 = duplex (2-sided) with shor t-edge binding
D Printer commands
233
Common PCL 5e printer commands
Page control commands
Paper source
Ecl#H
0 = prints or ejects current page
1 = Tray 2
2 = manual feed, paper
3 = manual feed, envelope
4 = Tray 1
5 = Tray 3
7 = auto select
20 = Tray 4
22-69 = external trays
Paper size
Ecl#A
1 = Executive
2 = Letter
3 = Legal
6 = 11 by 17
17 = 16K
18 = JIS EXEC
19 = 8K
25 = A5
26 = A4
27 = A3
44 = B6-JIS
45 = B5-JIS
46 = B4-JIS
72 = Postcard (double)
80 = Monarch
81 = Commercial 10
90 = DL
91 = International C5
100 = B5
101 = Custom
Function
Command
Options (#)
D Printer commands
234
Common PCL 5e printer commands
Paper type
Ec&n#
5WdBond = Bond
6WdPlain = Plain
6WdColor = Color
7WdLabels = Labels
9WdRecycled = Recycled
11WdLetterhead = Letterhead
10WdCardstock = Cardstock
11WdPrepunched = Prepunched
11WdPreprinted = Preprinted
13WdTransparency = Transparency
#WdCustompapertype = Custom
a
Orientation Ec&l#O
0
=
Por trait
1 = Landscape
2 = Reverse Por trait
3 = Reverse Landscape
Top margin
Ec&l#E
# = number of lines
Text length (bottom margin)
Ec&l#F
# = number of lines from top margin
Left margin
Ec&a#L
# = column number
Right margin
Ec&a#M
# = column number from left margin
Horizontal motion index
Ec&k#H
1/120-inch increments (compresses print horizontally)
Ver tical motion index
Ec&l#C
1/48-inch increments (compresses print vertically)
Line spacing
Ec&l#D
# = lines per inch (1, 2, 3, 4, 5, 6, 12, 16, 24, 48)
Perforation skip
Ec&l#L
0 = disable
1 = enable
Programming hints
End of line wrap
Ec&s#C
0 = Enable
1 = Disable
Function
Command
Options (#)
D Printer commands
235
Common PCL 5e printer commands
Display functions On
EcY
n/a
Display functions Off
EcZ
n/a
Language selection
Enter PCL mode
Ec%#A
0 = Use previous PCL cursor position
1 = Use current HP-GL/2 pen position
Enter HP-GL/2 mode
Ec%#B
0 = Use previous HP-GL/2 pen position
1 = Use current PCL cursor position
Font selection
Symbol sets
b
Ec(#
8U = HP Roman-8 Symbol Set
10U = IBM Layout (PC-8) (code page 437) Default Symbol Set
12U = IBM Layout for Europe (PC-850) (code page 850)
8M = Math-8
19U = Windows 3.1 Latin 1
9E = Windows 3.1 Latin 2 (commonly used in Eastern Europe)
5T = Windows 3.1 Latin 5 (commonly used in Turkey)
579L = Wingdings font
Primary spacing
Ec(s#P
0 = fixed
1 = proportional
Primary pitch
Ec(s#H
# = characters/inch
Set pitch mode
c
Ec&k#S
0 = 10
4 = 12 (elite)
2 = 16.5 to 16.7 (compressed)
Primary height
Ec(s#V
# = points
Primary style
b
Ec(s#S
0 = upright (solid)
1 = italic
4 = condensed
5 = condensed italic
Function
Command
Options (#)
D Printer commands
236
Common PCL 5e printer commands
Primary stroke Wt.
b
Ec(s#B
0 = medium (book or text)
1 = semi bold
3 = bold
4 = extra bold
Typeface
b
Ec(s#T
Print a PCL font list to view the command for each internal font
(See
“Information menu” on page 188
).
a. For custom paper, replace “Custompaper type” with the name of the paper, and replace the “#” with the number of
characters in the name plus 1.
b.
Order the PCL 5/PJL Technical Reference Documentation Package for symbol set char ts, or for more information
see
www.hp.com/support/lj9000
.
c.
The preferred method is to use the primary pitch command.
Function
Command
Options (#)
E Regulatory information
237
Overview
E