User ManualTable of ContentsNotice4Printing History5Trademark Credits6Inside This Manual7What You Can Learn From This Manual7Related Documentation12PCL 5 Comparison Guide12Intellifont Scalable Typeface Format12TrueType Font Files12Contents13Introduction to HPPCL27PCL Printer Language Architecture28What are Printer Commands?29Control Codes29PCL Commands29HP-GL/2 Commands30PJL Commands30Syntax of Escape Sequences31Two-Character Escape Sequences31Parameterized Escape Sequences32The Page35Logical Page36Printed Dots37PCL Coordinate System38Units of the PCL Coordinate System39PCL Units39Decipoints39Columns & Rows39Printer Internal Units39HP-GL/2 Picture Frame40Printable Area41The Print Environment45Factory Default Environment46User Default Environment50Modified Print Environment51Resetting the Print Environment52Printer Reset52Cold Reset53PCL Job Control Commands55Printer Reset Command56Universal Exit Language Command57Number of Copies Command58Simplex/Duplex Print Command59Left Offset Registration Command61Top Offset Registration Command62Duplex Page Side Selection Command64Job Separation Command65Output Bin Selection Command66Unit of Measure Command67Page Control Commands71Page Size Command72PAPER SOURCE COMMAND74Logical Page Orientation Command75Print Direction Command79Text Area81Left Margin Command83Right Margin Command84Clear Horizontal Margins Command85Top Margin Command86Text Length Command88Perforation Skip Command89Horizontal Motion Index (HMI) Command90Vertical Motion Index (VMI) Command92Common VMI Settings93Line Spacing Command94Cursor Positioning95Absolute vs. Relative Cursor Positioning96Cursor Positioning Units97PCL Units97Decipoints98Columns & Rows98Horizontal Cursor Positioning (Columns) Command99Horizontal Cursor Positioning (Decipoints) Command100Horizontal Cursor Positioning (PCL Units) Command101Horizontal Cursor Positioning Control Codes102CR - Carriage Return102SP - Space102BS - Backspace103HT - Horizontal Tab103Vertical Cursor Positioning (Rows) Command104Vertical Cursor Positioning (Decipoints) Command105Vertical Cursor Positioning (PCL Units) Command106Half-Line Feed Command107Vertical Cursor Positioning Control Codes107LF - Line Feed107FF - Form Feed107Line Termination Command108Push/Pop Cursor Position Command109Fonts111Font Sources112Symbol Set113Spacing114Pitch115Height115Style116Stroke Weight116Typeface Family117Orientation118Bitmap Fonts and Scalable Typefaces119Internal Fonts121Special Effects121PCL Font Selection123Primary and Secondary Fonts127Font Resolution127Symbol Set Command128Example1297-bit ISO Symbol Sets130Spacing Command131Example131Pitch Command132Example133Height Command134Example135Style Command136Example137Stroke Weight Command138Example139Typeface Family Command140Example141Orientation142Font Selection Examples143Bitmap, Fixed-Spaced Font143Scalable, Proportional-Spaced Font144Summary of Font Selection by Characteristic145Font Selectionby ID Command148Examples149Select Default Font Command149HP-GL/2 Font Selection149Transparent Print Data Command150Example150Underline Command151Font Management153Downloading Soft Fonts154Temporary vs. Permanent Fonts155Deleting Fonts155Font ID Command156Example156Font Control Command157Examples157Font Management Example159Unbound Scalable Fonts160Bound and Unbound Fonts160Font Selection and Unbound Fonts160User-Defined Symbol Sets167Symbol Set ID Code Command168Define Symbol Set170Header Size (UI)171Encoded Symbol Set Designator (UI)172Format (UB)172Symbol Set Type (UB)172First Code (UI)173Last Code (UI)173Character Requirements (Array of UB) and character requirement173Symbol Map (Array of UI)177Symbol Set Control Command178User-Defined Symbol Set Examples179Unicode Symbol Index Example179MSL Symbol Index Example180Soft Font Creation183Font Classifications184Coordinate System186Bitmap Fonts186Intellifont Scalable Fonts186TrueType Scalable Fonts187Font Header Command188Font Header Format188Data Types196Font Descriptor Size (UI)197Header Format (UB)197Font Type (UB)197Style MSB (UI)198Baseline Position (UI)200Cell Width (UI)200Cell Height (UI)200Orientation (UB)201Spacing (B)202Symbol Set (UI)202Pitch (UI)203Height (UI)204xHeight (UI)204Width Type (SB)205Style LSB (UB)205Stroke Weight (SB)205Typeface (UB)206Serif Style (UB)209Quality (UB)210Placement (SB)210Underline Position (Distance) (SB)211Underline Thickness (UB)211Text Height (UI)211Text Width (UI)211First Code (UI)212Last Code / Number of Characters (UI)212Pitch Extended (UB)212Height Extended (UB)213Cap Height (UI)213Font Number (ULI)214Font Name (ASC16)215X Resolution (UI)215Y Resolution (UI)216Scale Factor (UI)216Master Underline Position (SI)216Master Underline Thickness (Height) (UI)216Font Scaling Technology (UB)216Variety (UB)217OR Threshold (UI)217Global Italic Angle (SI)217Global Intellifont Data Size (UI)217Global Intellifont Data217Character Complement (Array of UB)217Checksum221Copyright221Segmented Font Data (Format 15)221Font Header Examples225Character Definitions230Character Code Command231Character Definition Command232Character Descriptor Formats233Character Descriptor and Data Format for PCL Bitmap Fonts233Character Descriptor and Data Format for Intellifont Scalable Fonts242Character Descriptor and Data Format for TrueType Fonts247Character Definition Examples252Macros257Macro Creation259Macro Invocation260Temporary / Permanent Macros261Deleting Macros262Macro ID262Example262Macro Control263Example264Macro Control Example265The PCL Print Model267Command Sequence271Source Transparency Mode Command272Pattern Transparency Mode Command273Pattern ID (Area Fill ID) Command274Select Current Pattern Command278User-Defined Pattern Graphics279User-Defined Pattern Implementation279User-Defined Pattern Command282Format (Byte 0)283Continuation (Byte 1)283Pixel Encoding (Byte 2)283Reserved (Byte 3)284Height in Pixels (Bytes 4 and 5)284Width in Pixels (Bytes 6 and 7)284Pattern Image284Master X Resolution (UI)284Master Y Resolution (UI)284User-defined Pattern Example285Set Pattern Reference Point Command288Pattern Control Command289PCL Rectangular Area Fill Graphics291Rectangular Area Fill Procedure291Horizontal Rectangle Size (Decipoints) Command293Horizontal Rectangle Size (PCL Units) Command293Vertical Rectangle Size (Decipoints) Command294Vertical Rectangle Size (PCL Units) Command294Pattern ID (Area Fill ID) Command295Fill Rectangular Area Command299Pattern Transparency for Rectangular Area Fill301Rectangular Area Fill Examples303Pre-defined Pattern Examples303User-defined Pattern Example307Raster Graphics309Raster Graphics Command Sequence312Raster Graphics Resolution Command314Raster Graphics Presentation Mode Command316Raster Height Command319Raster Width Command321Start Raster Graphics Command322Raster Y Offset Command323Set Compression Method Command324Unencoded (Method 0)324Run-length Encoding (Method 1)324Tagged Image File Format Encoding (Method 2)325Delta Row Compression (Method 3)328Example: Delta Row Compression332Adaptive Compression (Method 5)333Transfer Raster Data Command337End Raster Graphics Command338Raster Graphics Example339Status Readback343Memory Status Request344Entity Status345Status Response347Status Response Syntax348Set Status Readback Location Type Command350Set Status Readback Location Unit Command351Inquire Status Readback Entity Command352Entity Status Responses353Font Response353Font Extended Response357Macro Response358User-Defined Pattern Response359Symbol Set Response360Entity Error Codes361Free Space Command363Memory Status Response364Memory Error Response365Flush All Pages Command366Echo Command367Echo Response368Status Readback Programming Hints369Size: 2.97 MBPages: 370Language: EnglishOpen manual