 |
|
 |
|

In this document:

ISSUE: The issue can be summed up as follows: How do the PCL codes on the HP DeskJet printers compare? Are some PCL codes available on one model of HP DeskJet printer and not on another?
SOLUTION: Yes, some PCL codes are available only on specific models of HP DeskJet printers. See the following table of PCL code comparisons.
Printer control
Function
| Parameter
| Command
| 85xC
| 87xC
| 89xC
|
Reset
|
|
Esc E
|
X
|
X
|
X
|
Self Test
|
|
Esc z
|
X
|
X
|
X
|
Underline
|
Default
|
Esc &d0D
|
X
|
X
|
X
|
|
|
Single fixed
|
Esc &dlD
|
X
|
X
|
X
|
|
|
Double fixed
|
Esc &d2D
|
|
|
|
|
|
Single float
|
Esc &d3D
|
X
|
X
|
X
|
|
|
Double float
|
Esc &d4D
|
|
|
|
|
|
Off
|
Esc &d@
|
X
|
X
|
X
|
Display
|
On
|
Esc Y
|
X
|
X
|
X
|
Functions
|
Off
|
Esc Z
|
X
|
X
|
X
|
Transparent Print Data
|
# of bytes
|
Esc &p#X
|
X
|
X
|
X
|
Unterminated
|
Start
|
Esc &i1u
|
|
|
|
Data
|
Stop
|
Esc &i0U
|
|
|
|
Perf Skip
|
On
|
Esc &l1L
|
X
|
X
|
X
|
|
|
Off
|
Esc &l0L
|
X
|
X
|
X
|
End of
|
On
|
Esc &s0C
|
X
|
X
|
X
|
Line Wrap
|
Of
|
Esc &slC
|
X
|
X
|
X
|
Line
Termination
|
CR=CR
LF=LF
FF=FF
|
Esc &k0G
|
X
|
X
|
X
|
|
|
CR=CR+LF
LF=LF
FF=FF
|
Esc &klG
|
X
|
X
|
X
|
|
|
CR=CR+LF
LF=CR+LF
FF=CR+FF
|
Esc &k2G
|
X
|
X
|
X
|
Function
| Parameter
| Command
| 85xC
| 870C
| 890C
|
Text Print
|
Left to Right
|
Esc &k0W
|
|
|
|
Mode
|
Bidirectional
|
Esc &klW
|
|
|
|
|
|
Right to Left
|
Esc &k2W
|
|
|
|
Text Scale
|
Text Scale Off
|
Esc &k5W
|
X
|
X
|
X
|
Mode
|
Text Scale On
|
Esc &k6W
|
X
|
X
|
X
|
Foreground
|
White (no ink)
|
Esc *v0S
|
X
|
X
|
X
|
Color
(color text)
|
True Black
|
Esc *vlS
|
X
|
X
|
X
|
|
|
Cyan
|
Esc *v2S
|
X
|
X
|
X
|
(assumes 4 plane
|
Magenta
|
Esc *v4S
|
X
|
X
|
X
|
palette selected)
|
Blue
|
Esc *v6S
|
X
|
X
|
X
|
|
|
Yellow
|
Esc *v8S
|
X
|
X
|
X
|
|
|
Green
|
Esc *vl0S
|
X
|
X
|
X
|
|
|
Red
|
Esc *v12S
|
X
|
X
|
X
|
|
|
Composite Black
|
Esc *14S
|
X
|
X
|
X
|
Print Quality
|
Economy/Draft
|
Esc *o-lM
|
X
|
X
|
X
|
|
|
Normal
|
Esc *o0M
|
X
|
X
|
X
|
|
|
Presentation
|
Esc *olM
|
X
|
X
|
X
|
Paper Size
|
Executive
|
Esc &l1A
|
X
|
X
|
X
|
|
|
US Letter
|
Esc &l2A
|
X
|
X
|
X
|
|
|
US Legal
|
Esc &l3A
|
X
|
X
|
X
|
|
|
ISO A4
|
Esc &l26A
|
X
|
X
|
X
|
|
|
ISO A5
|
Esc &l25A
|
X
|
X
|
X
|
|
|
JIS B5
|
Esc &l45A
|
X
|
X
|
X
|
|
|
Custom
|
Esc &l101A
|
X
|
X
|
X
|
|
|
Card - 4 x 6 in.
|
Esc &l74A
|
X
|
X
|
X
|
|
|
Card - 5 x 8 in.
|
Esc &l75A
|
X
|
X
|
X
|
|
|
Card - A6 ISO/JIS
|
Esc &l24A
|
X
|
X
|
X
|
|
|
Card - Hagaki
|
Esc &l71A
|
X
|
X
|
X
|
|
|
#10 Envelope
|
Esc &l81A
|
X
|
X
|
X
|
|
|
Int'l DL Envelope
|
Esc &l90A
|
X
|
X
|
X
|
|
|
Int'l C6 Envelope
|
Esc &l92A
|
X
|
X
|
X
|
|
|
US A2 Envelope
|
Esc &l109A
|
X
|
X
|
X
|
Function
| Parameter
| Command
| 85xC
| 870C
| 890C
|
Media Type
|
Plain Paper
|
Esc &l0M
|
X
|
X
|
X
|
|
|
Bond Paper
|
Esc &g1M
|
X
|
X
|
X
|
|
|
HP Premium
Paper (coated)
|
Esc &l2M
|
X
|
X
|
X
|
|
|
Transparency
|
Esc &g 3M
|
X
|
X
|
X
|
|
|
Glossy Paper
|
Esc &l4M
|
X
|
X
|
X
|
|
|
Disable (off)
|
Esc &b2B
|
X
|
X
|
X
|
Dry Timer
|
Seconds
|
Esc &b#T
|
X
|
X
|
X
|
Paper
|
Eject Page
|
Esc &l0H
|
X
|
X
|
X
|
Input
Control
|
Feed From Tray
|
Esc &llH
|
X
|
X
|
X
|
|
|
Manual Feed
|
Esc &12H
|
|
|
|
|
|
Envelope Feed
|
Esc &13H
|
|
|
|
Function
| Parameter
| Command
| 85xC
| 870C
| 890C
|
Page
|
Portrait
|
Esc &l0O
|
X
|
X
|
X
|
Orientation
|
Landscape
|
Esc &l1O
|
X
|
X
|
X
|
Page Length
|
# of Lines
|
Esc &l#P
|
X
|
X
|
X
|
Top Margin
|
# of Lines
|
Esc &l#E
|
X
|
X
|
X
|
Text Length
|
# of Lines
|
Esc &l#F
|
X
|
X
|
X
|
Side Margins
|
Clear
|
Esc 9
|
X
|
X
|
X
|
|
|
Left (column #)
|
Esc &a#L
|
X
|
X
|
X
|
|
|
Right (column #)
|
Esc &a#M
|
X
|
X
|
X
|
Lines per Inch
|
# of Lines
|
Esc &l#D
|
X
|
X
|
X
|
Vertical
|
to Row #
|
Esc &a#R
|
X
|
X
|
X
|
CAP Move
|
# of Decipoints
|
Esc &a#V
|
X
|
X
|
X
|
|
|
# of Dots (1/300")
|
Esc &*p#Y
|
X
|
X
|
X
|
Vertical Motion
Index
|
# of 1/48"
increments
|
Esc &l#C
|
X
|
X
|
X
|
Horiz. Motion
Index
|
# of 1/120"
increments
|
Esc &k#H
|
X
|
X
|
X
|
Horizontal
|
Column #
|
Esc &a#C
|
X
|
X
|
X
|
CAP Move
|
Decipoints
|
Esc &a#H
|
X
|
X
|
X
|
|
|
Dots (1/300")
|
Esc *p#X
|
X
|
X
|
X
|
Font selection
Function
| Parameter
| Command
| 85xC
| 870C
| 890C
|
Symbol Set
|
Roman8
|
Esc (SU
|
X
|
X
|
X
|
|
|
ECMA 94
|
Esc (0N
|
X
|
X
|
X
|
|
|
PC-8 (IBM-8)
|
Esc (10U
|
X
|
X
|
X
|
|
|
PC-8 DN
|
Esc (11U
|
X
|
X
|
X
|
|
|
PC-850
|
Esc (12U
|
X
|
X
|
X
|
|
|
HP Legal
|
Esc (1U
|
X
|
X
|
X
|
|
|
ISO 2: IRV
|
Esc (2U
|
X
|
X
|
X
|
|
|
ISO 4: UK
|
Esc (1E
|
X
|
X
|
X
|
|
|
ISO 6: ANSI ASCII
|
Esc (0U
|
X
|
X
|
X
|
|
|
ISO 11: Sweden
|
Esc (0S
|
X
|
X
|
X
|
|
|
ISO 15: Italy
|
Esc (0I
|
X
|
X
|
X
|
|
|
ISO 17: Spain
|
Esc (2S
|
X
|
X
|
X
|
|
|
ISO 21: Germany
|
Esc (1G
|
X
|
X
|
X
|
|
|
ISO 60: Norway1
|
Esc (0D
|
X
|
X
|
X
|
|
|
ISO 61:Norway2
|
Esc (1D
|
X
|
X
|
X
|
|
|
ISO 69: France
|
Esc (1F
|
X
|
X
|
X
|
|
|
ISO 88959/2 Latin-2
|
Esc(2N
|
X
|
X
|
X
|
|
|
ISO 88959/9 Latin-5
|
Esc(5N
|
X
|
X
|
X
|
|
|
ISO PC-852 Latin-2
|
Esc(17U
|
X
|
X
|
X
|
|
|
PC-8 Turkish
|
Esc(9T
|
X
|
X
|
X
|
|
|
LineDraw
|
|
|
|
|
Spacing
|
Fixed
|
Esc (s0P
|
X
|
X
|
X
|
|
|
Proportional
|
Esc (s1P
|
X
|
X
|
X
|
Quality
|
Draft
|
Esc (s0Q
|
|
|
|
|
|
Economy (NLQ)
|
Esc (slQ
|
|
|
|
|
|
Letter
|
Esc (s2Q
|
|
|
|
Pitch
|
Chars. per Inch
|
Esc (s#H
|
X
|
X
|
X
|
Point Size
|
# of 1/72" units
|
Esc (s#V
|
X
|
X
|
X
|
Copyright (C) Hewlett-Packard Co. 1997
This information is subject to change without notice and
is provided "as is" with no warranty.
Hewlett-Packard shall not be liable for any direct,
indirect, special, incidental or consequential damages
in connection with the use of this material.
|
|