Job Control Commands

FunctionParameter Command
Reset
Reset---EscE
Number of Copies# of Copies (1-99) Esc&l#X
Long-Edge (Left) Offset Registration# of Decipoints (1/720") Esc&l#U
Long Edge (Top) Offset Registration# of Decipoints (1/720") Esc&l#Z

 

Page Control Commands

FunctionParameter Command
Page Length and Size
Paper SourceEject Page Esc&l0H
Paper Tray Auto Feed Esc&l1H
Manual FeedmanualEsc&l2H
Manual Feedmanual Envelope Feed Esc&l3H
Page SizeExecutive Esc&l1A
LetterletterEsc&l2A
LegallegalEsc&l3A
A4a4Esc&l26A
MonarchEsc&l80A
COM 10Esc&l81A
DLEsc&l90A
C5Esc&l91A
Page Length# of Lines Esc&l#P
Orientation
OrientationPortraitportrait Esc&l0O
Landscapelandscape Esc&l1O
Reverse Portraitportrait Esc&l2O
reverse Landscapelandscape Esc&l3O
Print Direction# Degrees of Rotation (counterclockwise, 90 degree increments only) Esc&a#P
Margins & Text Length
Top Marginmargin# of Lines Esc&l#E
Text Length# of Lines Esc&l#F
Left Marginmargin# of Columns Esc&a#L
Right Marginmargin# of Columns Esc&a#M
Clear Horizontal Margins--- Esc9
Perforationperf Skip Mode
Perforationperf SkipDisable Esc&l0L
EnableEsc&l1L
Horizontal Column Spacing
Horizontal Motion Index (HMI)# of 1/120" Increments Esc&k#H
Vertical Line Spacing
Vertical Motion Index (VMI)# of 1/48t" Increments Esc&l#C
Line Spacing (Lines per inch)1 line/inch Esc&l1D
2 lines/inchEsc&l2D
3 lines/inchEsc&l3D
4 lines/inchEsc&l4D
6 lines/inchEsc&l6D
8 lines/inchEsc&l8D
12 lines/inchEsc&l12D
16 lines/inchEsc&l16D
24 lines/inchEsc&l24D
48 lines/inchEsc&l48D

 

Cursor Positioning

FunctionParameter Command
Vertical & Horizontal
Vertical Position# of Rows Esc&a#R
# of DotsEsc*p#Y
# of DecipointsEsc&a#V
Horizontal Position# of Columns Esc&a#C
# of DotsEsc*p#X
# of DecipointsEsc&a#H
Half Line Feedlf--- Esc=
End of Line Termination
Line TerminationCR=CR; LF=LF; FF=FF Esc&k0G
CR=CR+LF; LF=LF; FF=FF Esc&k1G
CR=CR; LF=CR+LF; FF=CR+FF Esc&k2G
CR=CR+LF; LF=CR+LF; FF=CR+FF Esc&k3g
Push/Pop Position
Push/Pop PositionPush Esc&f0S
PopEsc&f1S

 

Font Selection

FunctionParameter Command
Symbol Set Selection
Primary Symbol SetISO 60: Norwegian 1 Esc(0D
ISO 61: Norwegian 2 Esc(1D
ISO 4: United Kingdom Esc(1E
ISO 25: French (Obsolete) Esc(0F
ISO 69: FrenchEsc(1F
HP German (Obsolete) Esc(0G
ISO 21: GermanEsc(1G
ISO 15: ItalianEsc(0I
ISO 14 JIS ASCIIascii Esc(0K
ISO 57: ChineseEsc(2K
ECMA-94 Latin 1Esc(0N
ISO 11: SwedishEsc(0S
HP Spanish (Obsolete) Esc(1S
ISO 17: SpanishEsc(2S
ISO 10: SwedishEsc(3S
ISO 16: Portuguese Esc(4S
ISO 84: Portuguese Esc(5S
ISO 85: SpanishEsc(6S
ISO 6: ASCIIasciiEsc(0U
ISO 2: IRVEsc(2U
Roman8Esc(8U
Microsoft Publishing Esc(6J
DesktopEsc(7J
PS TextEsc(10J
Ventura International Esc(13J
Ventura USEsc(14J
Ventura ITC Zapf Dingbatsdingbats Esc(9L
PS ITC Zapf Dingbatsdingbats Esc(10L
ITC Zapf Dingbatsdingbats Series 100 Esc(11L
ITC Zapf Dingbatsdingbats Series 200 Esc(12L
ITC Zapf Dingbatsdingbats Series 300 Esc(13L
PS MathEsc(5M
Ventura MathEsc(6M
Math-8Esc(8M
LegallegalEsc(1U
WindowsEsc(9U
Pi FontfontEsc(15U
PC-8Esc(10U
PC-8 D/NEsc(11U
PC 850Esc(12U
Spacing
Primary SpacingProportionalproportional Esc(s1P
FixedEsc(s0P
Pitchpitch
Primary Pitchpitch# Characters/inch Esc(s#H
Set Pitchpitch Mode10.0 Esc&k0S
Compressedcompressed (16.5-16.7) Esc&k2S
Eliteelite (12.0)Esc&k4S
Pointpoint Size
Primary Height# Points Esc(s#V
Stylestyle
Primary StylestyleUpright Esc(s0S
ItalicEsc(s1S
Stroke Weight
Primary Fontfont Stroke WeightUltra Thin Esc(s-7B
Extra ThinEsc(s-6B
ThinEsc(s-5B
Extra LightEsc(s-4B
LightEsc(s-3B
Demi LightEsc(s-2B
Semi LightEsc(s-1B
Medium (Normal)Esc(s0B
Semi BoldboldEsc(s1B
Demi BoldboldEsc(s2B
BoldboldEsc(s3B
Extra BoldboldEsc(s4B
BlackEsc(s5B
Extra BlackEsc(s6B
Ultra BlackEsc(s7B
Primary Typefacetypeface
TypefacetypefaceCouriercourier Esc(s3T
UniversEsc(s4148T
LinePrinterEsc(s0T
CG timesEsc(s4101T
Fontfont Default
Fontfont DefaultPrimary Fontfont Esc(3@
Secondary Fontfont Esc)3@
Underline
UnderlineEnable Fixed Esc&d0D
Enable FloatingEsc&d3D
DisableEsc&d@
Transparent Print
Transparent Print Data# of Bytes Esc&p#X[Data]

 

Font Management

FunctionParameter Command
Assign Fontfont IDFontfont ID # Esc*#D
Fontfont and Charactercharacter ControlDelete all Fonts Esc*c0F
Delete all Temporary Fonts Esc*c1F
Delete Last Fontfont ID Specified Esc*c2F
Delete Last Charactercharacter Specified Esc*c3F
Make Fontfont Temporary Esc*c4F
Make Fontfont Permanent Esc*c5F
Copy/Assign the Currently Invoked Fontfont as Temporary Esc*c6F
Fontfont Selection By ID Num.
Select Fontfont (with ID #)ID # Primary Fontfont Esc(#X
ID # Secondary Fontfont Esc)#X

 

Soft Font Creation

FunctionParameter Command
Fontfont Descriptor (Fontfont Header)# of Bytes Esc)s#W[Data]
Download Charactercharacter# of Bytes Esc(s#W[Data]
Charactercharacter CodeCharactercharacter Code # (Decimal) Esc*c#E

 

Graphics

FunctionParameter Command
Vector Graphicsvector
Enter HP-GL/2 ModeUse Previous HP-GL/2 Pen Position Esc%0B
Use Current PCLpcl CAP Esc%1B
HP-GL/2 Plot Horizontal SizeHorizontal Size in Inches Esc*c#K
HP-GL/2 Plot Vertical SizeVertical Size in Inches Esc*c#L
Set Picture Frame Anchor PointpointSet Anchor Point to CAP Esc*c0T
Picture Frame Horizontal SizeDecipoints Esc*c#X
Picture Frame Vertical SizeDecipoints Esc*c#Y
Raster Graphicsrastergr
Raster Resolutionresolution75 Dots/inch Esc*t75R
100 Dots/inchEsc*t100R
150 Dots/inchEsc*t150R
300 Dots/inchEsc*t300R
Raster Graphicsrastergr Presentation
Raster Graphicsrastergr PresentationRotate Image Esc*r0F
LaserJet Landscapelandscape Compatible Esc*r3F
Start Raster GraphicsrastergrLeft Raster Graphicsrastergr Marginmargin Esc*r0A
Current CursorEsc*r1A
Raster Y Offset# of Raster Lines of Vertical Movement Esc*b#Y
Set Raster Compression ModeUncoded Esc*b0M
Run-Length Encoded Esc*b1M
Ragged Image File Format Esc*b2M
Delta RowEsc*b3M
Transfer Raster Data# of Bytes Esc*b#W[Data]
End Raster Graphicsrastergr--- Esc*rB
Raster Height#Raster Rows Esc*r#T
Raster Width#Pixels of the Specified Resolutionresolution Esc*r#S

 

The Print Model

FunctionParameter Command
Imaging
Select PatternSolid Black (default) Esc*v0T
Solid WhiteEsc*v1T
HP-Defined Shading Pattern Esc*v2T
HP-Defined Cross-Hatched Pattern Esc*v3T
Select Source Transparency ModeTransparent Esc*v0N
OpaqueEsc*v1N
Select Pattern Transparency ModeTransparent Esc*v0O
OpaqueEsc*v1O
Rectangle Dimensions
Rectangle Width# of Dots Esc*c#A
# of DecipointsEsc*c#H
Rectangle Height# of Dots Esc*c#B
# of DecipointsEsc*c#V
Rectangle Area Fill
Fill Rectangular AreaSolid Black Esc*c0P
Erase (Solid White Area Fill) Esc*c1P
Shaded FillEsc*c2P
Cross-hatched Fill Esc*c3P
User DefinedEsc*c4P
Current PatternEsc*c5P
Pattern ID% of Shading or Pattern Type Esc*c#G
Shading2% GreyEsc*c2G
10% GreyEsc*c10G
15% GreyEsc*c15G
30% GreyEsc*c30G
45% GreyEsc*c45G
70% GreyEsc*c70G
90% GreyEsc*c90G
100% GreyEsc*c100G
Pattern1 Horizontal Line Esc*c1G
2 Vertical LineEsc*c2G
3 Diagonal LinesEsc*c3G
4 Diagonal LinesEsc*c4G
5 Square GridEsc*c5G
6 Diagonal GridEsc*c6G

 

Macros

FunctionParameter Command
Macro IDMacro ID # Esc&f#Y
Macro ControlStart Macro Def. Esc&f0X
Stop Macro Def.Esc&f1X
Execute MacroEsc&f2X
Call MacroEsc&f3X
Enable OverlayEsc&f4X
Disable OverlayEsc&f5X
Delete MacrosEsc&f6X
Delete all Temp. Macros Esc&f7X
Delete Macro IDEsc&f8X
Make TemporaryEsc&f9X
Make PermanentEsc&f10X

 

Programming Hints

FunctionParameter Command
Display functionsON EscY
OFFEscZ
End-Of-Line WrapEnabled Esc&s0C
DisabledEsc&s1C