Common PCL Printer Commands
Common PCL Printer Commands
Function
Command
Options (#)
Job Control
Com
m
ands
Reset
?E
n/a
Number of Copies
?&l#X
1 to 999
Pa
ge
C
o
n
tr
o
l
C
o
mma
nd
s
Paper Source
?&l#H
0 = prints or ejects current page
1 = Tray 2
2 = manual feed, paper
3 = manual feed, envelope
4 = Tray 1
7 = auto select
Paper size
?&l#A
1 = Executive
2 = Letter
3 = Legal
6 = 11 x 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
Paper Type
?&n#
5WdBond = Bond
6WdPlain = Plain
6WdColor = Color
7WdLabels = Labels
9WdRecycled = Recycled
11WdLetterhead = Letterhead
10WdCardstock = Cardstock
11WdPrepunched = Prepunched
11WdPreprinted = Preprinted
13WdTransparency = Transparency
#WdCustompapertype = Custom
1
Orientation
?&l#O
0 = Portrait
1 = Landscape
2 = Reverse Portrait
3 = Reverse Landscape
D-6
Printer Commands
ENWW
Page C
ontrol
Com
m
ands
(C
o
n
tinued)
Top Margin
?&l#E
# = number of lines
Text Length (bottom margin)
?&l#F
# = number of lines from top margin
Left Margin
?&a#L
# = column number
Right Margin
?&a#M
# = column number from left margin
Horizontal Motion Index
?&k#H
1/120-inch increments (compresses print horizontally)
Vertical Motion Index
?&l#C
1/48-inch increments (compresses print vertically)
Line Spacing
?&l#D
# = lines per inch (1, 2, 3, 4, 5, 6, 12, 16, 24, 48)
Perforation Skip
?&l#L
0 = disable
1 = enable
Pr
og
ra
m
m
in
g H
int
s
End of Line Wrap
?&s#C
0 = Enable
1 = Disable
Display Functions On
?Y
n/a
Display Functions Off
?Z
n/a
La
n
guage Selec
ti
o
n
Enter PCL Mode
?%#A
0 = Use previous PCL cursor position
1 = Use current HP-GL/2 pen position
Enter HP-GL/2 Mode
?%#B
0 = Use previous HP-GL/2 pen position
1 = Use current PCL cursor position
Common PCL Printer Commands (Continued)
Function
Command
Options (#)
ENWW
Printer Commands
D-7
Font Select
io
n
Symbol Sets
2
?(#
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
?(s#P
0 = fixed
1 = proportional
Primary Pitch
?(s#H
# = characters/inch
Set Pitch Mode
3
?&k#S
0 = 10
4 = 12 (elite)
2 = 16.5 - 16.7 (compressed)
Primary Height
?(s#V
# = points
Primary Style
2
?(s#S
0 = upright (solid)
1 = italic
4 = condensed
5 = condensed italic
Primary Stroke Wt.
2
?(s#B
0 = medium (book or text)
1 = semi bold
3 = bold
4 = extra bold
Typeface
2
?(s#T
Print a PCL font list to view the command for each internal font
(page 82).
1
For custom paper, replace “Custompapertype” with the name of the paper, and replace the “#” with the number of
characters in the name, plus 1.
2
Order the PCL 5/PJL Technical Reference Documentation CD for symbol set charts or for more information (page 7).
3
The preferred method is to use the primary pitch command.
Common PCL Printer Commands (Continued)
Function
Command
Options (#)
D-8
Printer Commands
ENWW
ENWW
Glossary
1