HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideHewlett-Packard Vancouver SiteTo aid in HP PCL printer driver development for
How This Developer’s Guide Works10 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide4.0 How This Developer’s Guide WorksBelow
Fonts100 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide11.2.27 First Code (UINT)Specifies the character code of the first p
FontsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 101point font for a 300-ppi device would have a height of 166 (41.5 dots
Fonts102 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide11.2.36 CopyrightThis optional field contains ASCII data.11.2.37 Fon
FontsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 10311.3 Bitmap Resolution SegmentThe BR (Bitmap Resolution) segment is u
Fonts104 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide11.4 Character Enhancement SegmentThe CE (Character Enhancement) seg
FontsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 105Bit Positions (#) = StrokeWeight0 - 6 reserved 7 Semi
Fonts106 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide11.5 Dual-Pitch-Space Char SegmentThe DP (Dual-Pitch-Space Character
HP LaserJet Bitmap Character DefinitionHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 10712.0 HP LaserJet Bitmap Character D
HP LaserJet Bitmap Character Definition108 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide12.0.2 Continuation (BOOL)Specifie
HP LaserJet Bitmap Character DefinitionHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 109of the character (in portrait orien
How This Developer’s Guide WorksHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 114.0.4 Escape SequenceThis is the ASCII text
HP LaserJet Bitmap Character Definition110 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideClass 2 Compressed Bitmap Characte
HP LaserJet Bitmap Character DefinitionHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 11112.0.5 Orientation (UBYTE)Bitmap fo
HP LaserJet Bitmap Character Definition112 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide12.0.10 Delta X (SINT)Bitmap fonts
Banner PrintingHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 11313.0 Banner PrintingThe following information concerns the
Banner Printing114 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide13.0.2 MarginsMargins in banners are handled the same as m
Banner PrintingHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 11513.0.6 Power-On with Continuous MediaThe firmware will reme
HP PCL Code Samples116 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide14.0 HP PCL Code SamplesThe following pages contain PC
HP PCL Code SamplesHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 117Set Text Length Esc & l 72 F 11 in. page length - [
HP PCL Code Samples118 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide14.2 Commands Sent to PrinterThe series of escape sequ
HP PCL Code SamplesHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 11914.3 3-Plane Color GraphicsThe following shows a simple
How This Developer’s Guide Works12 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide4.0.10 Detailed Command DescriptionThis is
HP PCL Code Samples120 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide14.4 4-Plane Color GraphicsThe following shows a simpl
HP PCL Code SamplesHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 121<esc>*b18W 0800 0800 0800 08FF 0100 08FF 08FF 08F
Printer Commands122 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide15.0 Printer CommandsEscape SequenceAction - Result Escap
Printer CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 123Esc * c # E Character Code Esc ) s W Download FontEsc * c
Other Resources for Assistance124 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide16.0 Other Resources for Assistance16.1 HP
Introduction to HP PCLHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 135.0 Introduction to HP PCL5.1 History of HP PCL Print
Introduction to HP PCL14 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideOnce an HP PCL command sets a parameter, that parame
Introduction to HP PCLHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 15zi Parameter Character - Any character from the ASCII
Introduction to HP PCL16 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideNotice that the "Esc" and the "&l
The PageHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 176.0 The Page6.1 Logical Page, Physical PageThe HP PCL printer langu
The Page18 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide6.2 Page LayoutReferring to the previous figure, each page passed
The PageHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 19point (0,0) may change. The point (0,0) then, does not necessarily
Preface and Printing History2 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide1.0 Preface and Printing HistoryThe information
The Print Environment20 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide7.0 The Print EnvironmentThe group of all the printer
Merged Text and GraphicsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 218.0 Merged Text and GraphicsThe process for merging
Programming Hints22 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide9.0 Programming HintsThe following are overall guidelines
Programming HintsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 239.0.4 Priority of CommandsThere are no finite rules when i
Programming Hints24 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide44Avoid using a Start Raster Graphics and End Raster Grap
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 2510.0 HP PCL Commands10.1 Control Codes and Special Character
HP PCL Commands26 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.3.2 Display Functions Mode ONThis command turns on Displ
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 2710.4 Text Enhancements10.4.1 Enable UnderlineEnables the aut
HP PCL Commands28 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideWith HP DeskJet 500 Series printers, if underlining is enab
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 2910.4.4 End-of-Line WrapDefines the action that occurs when a
About this Developer’s GuideHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 32.0 About this Developer’s Guide2.1 Which printe
HP PCL Commands30 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.5 Job Control10.5.1 ResetEsc EPerforms a reset on the pr
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 3110.6 Printer Control10.6.1 Gray BalanceDetermines whether bl
HP PCL Commands32 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.6.2 Dry TimerSets a minimum dry time between pages to en
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 3310.6.3 Print QualityThe Print Quality (PQ) command, in conju
HP PCL Commands34 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.6.4 Media TypeSets the print mode required for printing
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 35The value field establishes the number of units per inch use
HP PCL Commands36 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.7 Printer Diagnostics10.7.1 Self-TestEsc zInitiates prin
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 3710.8 Page ControlThe following commands facilitate the defin
HP PCL Commands38 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideHP DeskJet maximum page length is 14 inches for the HP Des
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 39Since the logical page is defined to extend from the top and
About this Developer’s Guide4 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide2.2 Special Notes44HP DeskJets were designed in
HP PCL Commands40 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideWith HP DeskJet 600/800/900 & HP 2000 Series printers,
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 4110.8.4 OrientationDefines the position of the logical page a
HP PCL Commands42 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.8.5 Horizontal Motion IndexDesignates the width of colum
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 4310.8.6 Vertical Motion IndexSets the vertical spacing betwee
HP PCL Commands44 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.8.7 Line SpacingThis command performs the same functions
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 4510.8.9 Left MarginIf CAP is to the left of the new left marg
HP PCL Commands46 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guidemargin to the left of the left margin should be ignored; ho
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 4710.8.12 Text LengthThis command is ignored if current VMI is
HP PCL Commands48 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideIf perforation skip is disabled, text is printed to the end
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 4910.9 Horizontal Positioning CommandsThe following commands p
Table of ContentsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 53.0 Table of Contents1.0 Preface and Printing History22.0 A
HP PCL Commands50 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideMoves CAP to the same horizontal position, one row down. If
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 5110.9.7 Move CAP Horizontal (Decipoints)A signed value field
HP PCL Commands52 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.9.8 Move CAP Horizontal (Columns)A signed value field in
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 53This command ignores margins and can move CAP horizontally a
HP PCL Commands54 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.10 Vertical Positioning CommandsThe following commands p
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 5510.10.2 Move CAP Vertical (Decipoints)If no such position ex
HP PCL Commands56 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.10.3 Move CAP Vertical (HP PCL Units)If no such position
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 5710.11 Font Selection10.11.1 Font Selection by AttributeThe u
HP PCL Commands58 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideThe following table lists printer-supported symbol sets and
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 5911L ITC Zapf Dingbats Series 100 0R Cyrillic ASCII (8859/5-1
Table of Contents6 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide9.0.1 Follow Specifications229.0.2 Leverage from Previous
HP PCL Commands60 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.11.3 Font SpacingDesignates inter-character spacing as e
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 61If the exact pitch is unavailable, the next larger pitch is
HP PCL Commands62 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.11.6 Font StyleIdentifies the posture, width, and struct
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 63MATCHING ALGORITHMThe following procedure matches requested
HP PCL Commands64 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.11.7 Font Stroke WeightDesignates the thickness of the s
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 6510.11.8 Font Selection by IDDesignates a font by ID as prima
HP PCL Commands66 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.12 Downloading FontsCurrently, the HP DeskJet 600 Series
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 6710.12.2 Download FontThis command must be sent prior to down
HP PCL Commands68 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.12.3 Character CodeThe character code is a state variabl
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 69group of bytes sent by one command is called a block. A char
Table of ContentsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 710.9.5 Formfeed5010.9.6 Horizontal Tab5010.9.7 Move CAP
HP PCL Commands70 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.13 Raster GraphicsThe following HP PCL commands apply to
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 7110.13.4 Start RasterStarts raster mode and specifies the sta
HP PCL Commands72 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide44Resets the left graphics margin to 0.44Moves CAP to the r
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 7310.13.7 Source Raster WidthSpecifies the width in pixels of
HP PCL Commands74 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideSince width is in the direction that the raster rows are la
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 7510.14 Raster Data TransferThe Raster Transfer commands (Esc
HP PCL Commands76 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.14.2 Transfer Raster by Row/BlockTransfers the number of
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 7710.15 Raster CompressionSince raster images take a large amo
HP PCL Commands78 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideMethod 1 requires byte pairs: a Transfer Raster (Esc * b #
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 79Parentheses in the above escape sequences are for readabilit
Table of Contents8 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide11.2.4 Font Type (UBYTE)9311.2.5 Style MSB (UINT)9311.
HP PCL Commands80 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideThe values of the offset have the following definitions:If
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 81The following data is compressed using method 3. Italicized
HP PCL Commands82 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideControl Bit = 0If the control bit is 0, the replacement dat
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 83Seed Row Source Esc * b # SSpecifies the plane of the seed r
HP PCL Commands84 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide10.16 Color10.16.1 Simple ColorThe Simple Color (Esc * r #
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 85Row Pointer. The HP DeskJet 600/800/900 & HP 2000 Serie
HP PCL Commands86 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide4 Plane (KCMY) Color Palette (value = -4)Planes per Row Col
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 8710.16.2 Foreground ColorAll HP PCL marking entities utilize
HP PCL Commands88 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide TABLE 58. Single Plane (black) PalettePlanes Per Row Index
HP PCL CommandsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 89TABLE 61. Four Plane (KCMY) Color PalettePlanes per Row Inde
Table of ContentsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 912.0.3 Descriptor Size (UBYTE)10812.0.4 Class (UBYTE)10
Fonts90 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide11.0 FontsA soft font is composed of a Font Definition (font header)
FontsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 9111.2 Resolution-Specified Bitmap Font Definition(Format 20)The Resolut
Fonts92 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s GuideThe following notation is used to define data types in the font defin
FontsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 9311.2.4 Font Type (UBYTE)Identifies the font type as one of the followi
Fonts94 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide5 - Outline with shadow 6 - In-line with shadow 7 - Contour with sha
FontsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 9511.2.10 Spacing (BOOL)Specifies the type of font spacing. Fixed spacin
Fonts96 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide11.2.14 Height (UINT)Bitmap Font - Specifies the font’s height in qua
FontsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 9711.2.19 Typeface [LSB/MSB] (UBYTE)Specifies the HP typeface number of
Fonts98 HP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide2 3rd version 3 4th versionVendor (typeface word partial sum multip
FontsHP DeskJet 600, 700, 800, 900 & HP 2000 Series PCL Developer’s Guide 9911.2.22 PlacementHP DeskJet 600/800/900 & HP 2000 Series printers
Comments to this Manuals