Hp LASERJET 4300, COLOR LASERJET 2500, LASERJET 2300, COLOR LASERJET 9500MFP, COLOR LASERJET 9500 PCL 5 Comparison Guide

...

PCL 5 Comparison Guide

for the HP LaserJet III / IIID / IIIP / IIISi HP LaserJet 4 / 5 / 6 Families HP LaserJet 1100 series HP LaserJet 2100 series HP LaserJet 4000 series HP LaserJet 5000 series HP LaserJet 8000 series HP LaserJet 8100 series HP Color LaserJet HP Color LaserJet 5 / 5M HP Color LaserJet 4500 series HP Color LaserJet 8500 series HP DeskJet 1200C / HP DeskJet 1600C Printers
Copyright and License
Copyright © 2003 Hewlett-Packard Company, LP
All Rights Reserved. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright laws.
The information contained in this document is subject to change without notice.
Publication Number: 5021-0378 Edition 2, 6/2003
Trademarks
Intellifont is a U.S. registered trademark of Agfa Division, Miles Incorporated. CG Times is a product of Agfa Corporation, AGFA Compugraphic Division. LaserJet, PCL, DeskJet, Vectra, and Resolution Enhancement are U.S. registered trademarks of Hewlett-Packard Company. IBM is a registered trademark of International Business Machines Corporation.
Wingdings, MS-Mincho, and MS-Gothic are trademarks, and Microsoft, Windows, and MS-DOS are U.S. registered
trademarks of Microsoft Corporation. Centronics is a U.S. registered trademark of Centronics Corporation. ITC Zapf Dingbats is a U.S. registered trademark of International Typeface Corporation. Helvetica and Times Roma n are trademarks of Linotype AG and its subsidiaries.
Univers is a U.S. registered trademark of Linotype AG and its subsidiaries. PostScript and the PostScript logo are registered trademarks of Adobe Systems, Inc. in the U.S. and other countries/regions. Arial,
Times New Roman, and Monotype are U.S. registered
trademarks of Monotype Corporation plc. Macintosh is a registered trademark and TrueType is a trademark of Apple Computer, Inc. ESC/P is a trademark of Seiko-Epson Corporation.

Manual Conventions

This manual uses the following conventions:
Bold indicates a term defined in the glossary.
Italic refers to a related document, or is used for emphasis.
• The cursive letter l is used in some examples to distinguish the letter “l” from the numeral “1” (one).
• A slash zero 0 is used in some examples and escape sequences to distinguish the letter “O” from the number “0”.
• 0x XX represents a hexadecimal number (XX).
• The
Note Notes contain important information set off from the text.
~ character indicates that the current line of code is a
continuation of the previous line.
ENWW iii
iv ENWW

Contents

PCL 5 Comparison Guide
Manual Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
1 Printer Feat ures
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
PCL Feature Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
PCL 5 Technical Reference Manual Corrections. . . . . . . . . . . . . . . . . . . . . . . . . . . .1-5
Printable Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-36
2 Printer-Specific Differences
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
HP LaserJet III and IIID Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
HP LaserJet IIISi Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2
HP LaserJet IIIP Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2
Raster Graphics Adaptive Compression (IIIP) . . . . . . . . . . . . . . . . . . . . . . . . . .2-4
HP LaserJet 4 Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-4
Configuration Command (AppleTalk) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-7
HP LaserJet 4Si Printer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-10
HP LaserJet 4L Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-11
HP LaserJet 4ML Printer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-12
Logical Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-13
Logical Operations and Transparency Interactions. . . . . . . . . . . . . . . . . . . . . .2-15
Logical Operation Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-16
Pixel Placement Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-24
Pixel Placement Command (HP-GL/2). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-27
Merge Control Command (HP-GL/2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-28
HP LaserJet 4P and 4MP Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-30
HP LaserJet 4PJ Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-31
Text Parsing Method Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-32
Character Text Path Direction Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-33
Font Header Format 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-34
New Font Format Header Segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-35
Description of Font Header Segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-36
HP LaserJet 4PJ Programming Tips. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-48
Paper Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-59
HP LaserJet 4 Plus and 4M Plus Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-60
HP LaserJet 4V and 4MV Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-61
ENWW Contents v
Font Header Format 16 Bitmap Font Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-62
Font Header Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-62
Character Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-67
Limitations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-68
HP Color LaserJet Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-69
AppleTalk Configuration Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-70
HP LaserJet 4LJ Pro Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-71
HP LaserJet 4LC Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-71
HP LaserJet 5P and 5MP Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-72
HP LaserJet 5L Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-73
HP LaserJet 5Si and 5SiMx Printers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-74
Paper (Media) Source Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-75
Output Bin Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-77
Alphanumeric ID Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-78
HP DeskJet 1200C Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-84
Updated Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-85
Enter HP-GL/2 Mode Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-86
Media Type Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-87
Print Quality Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-88
Negative Motion Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-89
HP DeskJet 1600C Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-90
HP LaserJet 5 and 5M Printers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-96
Text Parsing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-96
Two-Byte HP-GL/2 Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-97
Label Mode Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-97
Vertical Writing with Proportional Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-100
HP Color LaserJet 5 and 5M Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-102
HP LaserJet 6P/ 6MP Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-104
HP LaserJet 5Si Mopier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-104
HP LaserJet 6L and LaserJet 6L Gold Printers. . . . . . . . . . . . . . . . . . . . . . . . . . .2-105
HP LaserJet 4000 Series Printers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-105
HP LaserJet 5000 Series Printers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-107
HP LaserJet 8000 Series Printers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-109
HP LaserJet 8100 Series Printers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-110
HP Color LaserJet 4500 Series Printers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-111
Simplified Color Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-111
Color Raster Images. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-112
Asian Font Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-112
Media Handling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-112
Alphanumeric ID Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-114
Color Space Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-114
Changes to PCL 5 Color Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-114
New PCL 5 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-117
Differences with the HP LaserJet 4000 Series Printers . . . . . . . . . . . . . . . . .2-118
HP Color LaserJet 8500 Series Printers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-119
HP LaserJet 1100 Series Printers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-120
HP LaserJet 2100 Series Printers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-120
vi Contents ENWW
3 Internal Typefaces / Fonts and Symbol Sets
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1
Bitmap Fonts and Symbol Sets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2
Scalable Typefaces and Symbol Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-4
Typeface Selection Differences. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-13
4 Print Environment
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-1
5 Memory Usage
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-1
Operation of ADC and MEt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-2
Image Adapt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-2
Additional MEt Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-3
ADC and MEt Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-3
Recommendations For Sending Data to the Printer . . . . . . . . . . . . . . . . . . . . . .5-4
Raster Graphics Adaptive Compression (Method 5). . . . . . . . . . . . . . . . . . . . . . . . .5-7
Appendix A Printer Commands
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Appendix B Internal Symbol Set Charts
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
ISO Substitution Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-34
Conversion Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-35
Appendix C Symbol Set and Typeface Codes
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Appendix D MSL/Unicode Symbol Indexes
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1
Index
ENWW Contents vii
viii Contents ENWW
1

Printer Features

Introduction

Hewlett-Packard printers which support the PCL 5 printer language contain slightly different feature sets, each suitable for that printer's intended use. Each printer implements minor variations of PCL 5 as a result of those differences. With new printer releases, new features may be added with new commands and/or PCL operations which require documentation.
The purpose of this guide is to identify the differences in the implementation of the PCL 5 Printer Language for different HP LaserJet and DeskJet printers, as compared to the features described in the PCL 5 Printer Language Technical Reference Manual. This guide describes new commands and exceptions to existing commands unique to the printers, as well as internal typeface/font support and print environment settings.
Note For information about products newer than those included in this
book, see the PCL5 Comparison Guide Addendum, which includes product-specific information about newer products, as well as commands and variables added to support these newer products.
ENWW Printer Features 1-1
This guide covers the following HP LaserJet printers:
Introduction Date
z LaserJet III March 1990 z LaserJet IIID September 1990 z LaserJet IIISi February 1991 z LaserJet IIIP May 1991 z LaserJet 4, 4M October 1992 z LaserJet 4Si, 4SiMx April 1993 z LaserJet 4L, 4ML May 1993 z LaserJet 4P, 4MP September 1993 z LaserJet 4 Plus, 4M Plus, 4PJ May 1994 z LaserJet 4V, 4MV September 1994 z DeskJet 1200C, 1200/PS May 1993 z Color LaserJet September 1994 z LaserJet 4LC March 1995 z DeskJet 1600C March 1995 z LaserJet 4LJ Pro May 1995 z LaserJet 5P, 5MP May 1995 z LaserJet 5L September 1995 z LaserJet 5Si, 5SiMx November 1995 z Color LaserJet 5, 5M March 1996 z LaserJet 5, 5M April 1996 z LaserJet 5Si Mopier October 1996 z LaserJet 6P, 6MP October 1996 z LaserJet 6L September 1997 z LaserJet 4000 series November 1997 z LaserJet 5000 series February 1998 z LaserJet 8000 series May 1998 z LaserJet 8100 series October 1998 z Color LaserJet 4500 series October 1998 z Color LaserJet 8500 series October 1998 z LaserJet 1100 series October 1998 z LaserJet 2100 series February 1999
This guide also covers the HP 1200C and 1600C DeskJet printers.
1-2 Printer Features ENWW

PCL Feature Support

Tables 1-1A through 1-1C, the PCL Feature Support Matrix, lists all the printer commands from the PCL 5 Printer Language Technical Reference Manual and identifies which of these commands are supported by the various printers. The table below describes the printers covered in each table. (More detailed PCL information for each PCL 5 printer is provided in Chapter 2.)
Table Pages Features for these Printers
1-1A 1-6 to 15 HP LaserJet III, IIID, IIISi, IIIP, 4, 4M, 4Si,
1-1B 1-16 to 25 HP Color LaserJet, Color LaserJet 5/5M,
1-1C 1-26 to 35 HP LaserJet 1100 Series, 2100 Series,
4SiMx, 4L, 4ML, 4P, 4MP, 4PJ, 4 Plus, 4M Plus, 4V, 4MV
LaserJet 4LJ Pro, 4LC, 5L, 6L, 6L Gold, 5P, 5MP, 6P, 6MP, 5Si, 5SiMx, 5Si Mopier, 5, 5M, DeskJet 1200C, DeskJet 1600C
4000 Series, 5000 Series, 8000 Series, 8100 Series, HP Color LaserJet 4500 Series, HP Color LaserJet 8500 Series
Note The PCL 5 Printer Language Technical Reference Manual (part
number 5961-0509) was revised for the release of the HP LaserJet 4 printer and contains all PCL language features up to the HP LaserJet 4 printer. Subsequent commands are covered in this
PCL 5 Comparison Guide and the PCL 5 Color Technical Reference Manual.
ENWW Printer Features 1-3
Note In Table 1-1, if the command value field parameters are not listed,
then all parameters are supported by printers that support that command.
The value in parentheses following a command parameter identifies the parameter value (for example, the parameter “Letter (2)” indicates that the value field to select letter size in the Page Size command is “2”).
Commands which are not supported (“ns”) by a printer are ignored.
1-4 Printer Features ENWW

PCL 5 Technical Reference Manual Corrections

This section describes updates to the PCL 5 Printer Language Technical Reference Manual (5961-0509). Because this manual will
not be updated, any changes to it are documented in this guide. Some errors have been identified in the PCL 5 Printer Language Technical Reference Manual since its printing. Those errors are identified and corrections are provided on this page.
Chapter 4 PCL Job Control Commands
Unit of Measure Command
In Figure 4-6 on page 4-18, the two escape sequences at the top should read “( and (
?&u200B).”
Chapter 8 PCL Font Selection
Transparent Print Data Command
The last sentence in the note at the bottom of page 8-33 should read “Refer to the PCL 5 Comparison Guide, Appendix A, for character codes for the various symbol sets.” instead of “Refer to Appendix A for character codes for the various symbol sets.”
?&u100D) and (?&u200D)” instead of “(?&u100B)
Chapter 13 The PCL Print Model
User-Defined Pattern Command
In Figure 13-10 on page 13-19, byte zero should read Format (20) instead of Format (0)
On page 13-21, Format (Byte 0) should read “0” for a 300 DPI user-defined pattern header and “20” for a resolution-specified user-defined pattern header.
ENWW Printer Features 1-5
Table 1-1A. PCL 5 Feature Support Matrix
FUNCTION COMMAND III IIID IIISi IIIP44M
MISCELLANEOUS
Configuration (AppleTalk) ?&b#W[data] ns ns ns ns ✓✓ns ns ✓✓
JOB CONTROL
Universal Exit/Start of PJL (UEL)
Reset ?E ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ ✓ Number of Copies ?&l#X ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ ✓ Simplex/Duplex Print ?&l#S ns ✓✓ns ns ns ns ns 1ns Left (Long-Edge) Offset
Registration Top (Short-Edge) Offset
Registration Unit Of Measure ?&u#D ns ns ns ns ✓✓✓✓✓ ✓ ✓ Mechanical Print Quality ?*o#Q ns ns ns ns ns ns ns ns ns ns ns Media Type ?&l#M ns ns ns ns ns ns ns ns ns ns ns Negative Motion ?&a#N ns ns ns ns ns ns ns ns ns ns ns Self-Test ?z ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ ✓ Paper Type ?&n5WdBond ns ns ns ns ns ns ns ns ns ns ns
Indicates a command is supported. ns - Indicates a command is not supported.
1
Supported if duplex option is installed.
2
For custom paper, replace “CustomType” with the name of the paper, and replace “#” with the number of characters in the name, plus 1.
?%–12345X ns ns ns ✓✓✓✓✓ ✓ ✓
?&l#U ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓
?&l#Z ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ ✓
?&n6WdPlain ns ns ns ns ns ns ns ns ns ns ns ?&n6WdColor ns ns ns ns ns ns ns ns ns ns ns ?&n7WdLabels ns ns ns ns ns ns ns ns ns ns ns ?&n9WdRecycled ns ns ns ns ns ns ns ns ns ns ns ?&n11WdLetterhead ns ns ns ns ns ns ns ns ns ns ns ?&n10WdCardstock ns ns ns ns ns ns ns ns ns ns ns ?&n11WdPrepunched ns ns ns ns ns ns ns ns ns ns ns ?&n11WdPreprinted ns ns ns ns ns ns ns ns ns ns ns ?&n13WdTransparency ns ns ns ns ns ns ns ns ns ns ns ?&n#WdCustomType2ns ns ns ns ns ns ns ns ns ns ns
4Si
4Si Mx 4L
4ML
4P
4 MP 4PJ
4 Plus
4M Plus4V4 MV
1-6 Printer Features ENWW
Table 1-1A. PCL 5 Feature Support Matrix (continued)
FUNCTION COMMAND III IIID IIISi IIIP44M
PAGE CONTROL
Page (Job) Size ?&l#A
Executive (1) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Letter (2) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Legal (3) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Ledger (6) ns ns ns ns ns ns ns ns ns ns A5 (25) ns ns ns ns ns ns ns ns ns ns ns A4 (26) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ A3 (27) ns ns ns ns ns ns ns ns ns ns JIS B5 Paper (45) ns ns ns ns ns ns ns ns ns JIS B4 Paper (46) ns ns ns ns ns ns ns ns ns ns Monarch Envelope (80) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Comm. 10 Envelope (81) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Intl. DL Envelope (90) ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Intl. C5 Envelope (91) ✓✓ ns ✓✓ ns ✓✓ ✓ ✓ ✓ Intl. B5 Envelope (100) ns ns ns ns ✓✓✓✓✓ ✓ ✓ Custom (101) ns ns ns ns ns ns ns ✓✓ ns Hagaki Postcard (71) ns ns ns ns ns ns ns ns ns Oufuku-Hagaki
Postcard (72) Orientation ?&l#O ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Page Side Selection Job Separation ?&l1T ns ns ns ns ns ns ns ns ns ns Finish Mode ?&b#F ns ns ns ns ns ns ns ns ns ns ns
Indicates a command is supported. ns - Indicates a command is not supported.
1
On non-duplex printers, this command causes a conditional page eject.
2
The custom size is 11.7" x 17.7" on the HP LaserJet 4V/4MV printers.
1
?&a#G ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
ns ns ns ns ns ns ns ns ns
4Si
4SiMx 4L
4ML
4P
4MP 4PJ
4 Plus
4M Plus4V4MV
2
ENWW Printer Features 1-7
Table 1-1A. PCL 5 Feature Support Matrix (continued)
FUNCTION COMMAND III IIID IIISi IIIP44M
PAGE CONTROL (continued)
Paper (Media) Source ?&l#H
Eject Page (0) ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓
Main (Front) Paper
Source (1)
Manual (Top/Rear)
Feed (2)
Manual Env. Feed (3) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
Alt. Paper Source (4) ns ✓✓✓✓ ✓ ns ns ns ✓✓
Opt. Large Source (5) ns ns ns ns ✓✓ns ns ns ✓✓
Envelope Feeder (6) ns ✓✓ns ✓✓ns ns ns ns
Auto Select (7) ns ns ns ns ns ns ns ns ns ns ns
Tray 1 (right side) (8) ns ns ns ns ns ns ns ns ns ns ns
HCI Trays 2-21 (20-39) ns ns ns ns ns ns ns ns ns ns ns Output (Media) Bin ?&l#G
Automatic (0) ns ns n s ns ns ns ns ns ns ns ns
Destination Tray 1 (1) ns ns ns ns ns ns ns ns ns
Destination Tray 2 (2) ns ns ns ns ns ns ns ns ns
Destination Tray 3 (3) ns ns ns ns ns ns ns ns ns ns ns Print Direction ?&a#P ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Character Text Path Dir. ?&c#T ns ns ns ns ns ns ns ns ns Left Margin ?&a#L ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Right Margin ?&a#M ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Clear Horizontal Margins ?9 ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Top Margin ?&l#E ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Text Length ?&l#F ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ Perf or ation Skip ?&l#L ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ Horizontal Motion Index ?&k#H ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Vertical Motion Index ?&l#C ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Line Spacing ?&l#D ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
ALPHANUMERIC ID (Media selection by type/PCL mass storage command)
Alphanumeric ID ?&n#W[operation] [string] ns ns ns ns ns ns ns ns ns ns ns
Indicates a command is supported. ns - Indicates a command is not supported.
✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
4Si
4SiMx 4L
4ML
4P
4MP 4PJ
4 Plus
4M Plus4V4MV
1-8 Printer Features ENWW
Table 1-1A. PCL 5 Feature Support Matrix (continued)
FUNCTION COMMAND III IIID IIISi IIIP44M
CURSOR POSITIONING
Horizontal Position ?&a#C ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓
?*p#X ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ ?&a#H ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓
Vertical Position ?&a#R ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓
?*p#Y ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ ?&a#V ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
Half Line Feed ?= ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Line Termination ?&k#G ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Push/Pop Position ?&f#S ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓
FONT SELECTION
The Primary font printer comma nds in thi s tab le can be changed to Secondary by replaci n g th e left par enthe si s “(” in the command with a ri ght parenthesis “)”.
Symbol Set (Primary) ?(ID ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Spacing (Primary) ?(s#P ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Pitch (Primary) ?(s#H ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Height (Primary) ?(s#V ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ Style (Primary) ?(s#S ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Stroke Weight (Primary) ?(s#B ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Typeface (Primary) ?(s#T ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ Font Selection By ID # (Pri.) ?(#X ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Select Default Font
(Primary) Underline ?&d#D ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓
Transparent Print Data ?&p#X[data] ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Text Parsing Method ?&t#P ns ns ns ns ns ns ns ns ns
Assign Font ID # ?*c#D ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Font Control ?*c#F ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓
Symbol Set ID Code ?*c#R ns ns ns ✓✓ ✓ ✓ ✓ ✓ ✓ Define Symbol Set ?(f#W[data] ns ns ns ✓✓ ✓ ✓ ✓ ✓ ✓ Symbol Set Control ?*c#S ns ns ns ✓✓ ✓ ✓ ✓ ✓ ✓
Indicates a command is supported. ns - Indicates a command is not supported.
?(3@ ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
?&d@ ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓
FONT MANAGEMENT
USER-DEFINED SYMBOL SET
4Si
4Si Mx 4L
4ML
4P
4MP 4PJ
4 Plus
4M Plus4V4MV
ENWW Printer Features 1-9
Table 1-1A. PCL 5 Feature Support Matrix (continued)
FUNCTION COMMAND III IIID IIISi IIIP44M
SOFT FONT CREATION
Font Descriptor ?)s#W[data]
Range: 0 - 32767 ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
Range: 0 - 65535 ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Character Code ?*c#E ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Download Character ?(s#W[data] ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
MACROS
Macro ID ?&f#Y ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Macro Control ?&f#X ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
PRINT MODEL IMAGING
Source Transparency Mode ?*v#N ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ Pattern Transparency Mode ?*v#O ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Area Fill (Pattern) ID ?*c#G ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Select Current Pattern ?*v#T
Solid Black (0) ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓
Solid White (1) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
HP Shading Pattern (2) ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓
Cross-hatch Pattern (3)
(HP-hatch Pattern)
User-defined Pattern (4) ns ns ns ✓✓ ✓ ✓ ✓ ✓ ✓ Logical Operation ?*l#O ns ns ns ns ns ns ns ✓✓ ✓ ✓ Pixel Placement ?*l#R ns ns ns ns ns ns ns ✓✓ ✓ ✓
Define (Download) Pattern ?*c#W[data] ns ns ns ✓✓ ✓ ✓ ✓ ✓ ✓ Range: 0 - 32767 ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Range: 0 - 65535 Set Pattern Reference Point ?*p#R ns ns ns ✓✓ ✓ ✓ ✓ ✓ ✓ User-defined Pattern Control ?*c#Q ns ns ns ✓✓ ✓ ✓ ✓ ✓ ✓
Indicates a command is supported. ns - Indicates a command is not supported.
✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
USER-DEFINED PATTERN
4Si
4Si Mx 4L
4ML
4P
4MP 4PJ
4 Plus
4M Plus4V4MV
1-10 Printer Features ENWW
Table 1-1A. PCL 5 Feature Support Matrix (continued)
FUNCTION COMMAND III IIID IIISi IIIP44M
RASTER GRAPHICS
Raster Resolution ?*t#R
75 Dots/Inch (75) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓
100 Dots/Inch (100) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
150 Dots/Inch (150) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
200 Dots/Inch (200)1 ns ns ns ns ✓✓ns 2✓✓✓
300 Dots/Inch (300) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
600 Dots/Inch (600) Graphics Presentation ?*r#F ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Raster Height (Source) ?*r#T ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Raster Height (Destination) ?*t#V ns ns ns ns ns ns ns ns ns ns ns Raster Width (Source) ?*r#S ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Raster Width (Destination) ?*t#H ns ns ns ns ns ns ns ns ns ns ns Scale Algorithm ?*t#K ns ns ns ns ns ns ns ns ns ns ns Start Raster Graphics ?*r#A
At logical page left
limit(0) At CAP (1) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ At logic. page left limit,
scaling ON (2) At CAP, scaling ON (3) ns ns ns ns ns ns ns ns ns ns ns
Y Offset ?*b#Y ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Set Compression Mode ?*b#M
Unencoded (0) ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Run-Length Encoded (1) ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ TIFF Encoded (2) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Delta Row Encoded (3) ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Mode 5 Adaptive (5) ns ns ns ✓✓ ✓ ✓ ✓ ✓ ✓ Replacement Delta
Row (9)
Transfer Raster (Row/Block) ?*b#W[data] ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ Transfer Raster (Plane) ?*b#V[data] ns ns ns ns ns ns ns ns ns ns ns End Graphics Version B ?*rB ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓
Version C (Preferred) ?*rC ns ns ✓✓✓ ✓ ✓✓ ✓ ✓ ✓
Indicates a command is supported. ns - Indicates a command is not supported.
1
Supported if printer resolution is 600 dpi.
2
The 4ML printer does not support 200 or 600 dpi operation.
1
ns ns ns ns ✓✓ns 2✓✓✓
✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
ns ns ns ns ns ns ns ns ns ns ns
ns ns ns ns ns ns ns ns ns ns ns
4Si
4Si Mx 4L
4ML
4P
4MP 4PJ
4 Plus
4M Plus4V4MV
ENWW Printer Features 1-11
Table 1-1A. PCL 5 Feature Support Matrix (continued)
FUNCTION COMMAND III IIID IIISi IIIP44M
RECTANGULAR AREA FILL
Horizontal Rectangle Size ?*c#A ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
?*c#H ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓
Vertical Rectangle Size ?*c#B ✓✓✓✓ ✓ ✓✓ ✓ ✓ ✓
?*c#V ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓
Pattern ID (Area Fill ID) ?*c#G
1-100 for Shading ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ 1-6 for Cross-hatch ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ 0-32767 for User-defined ns ns ns ✓✓ ✓ ✓ ✓ ✓ ✓
Fill Rectangle Area ?*c#P
Black (solid) (0) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ (Solid) White (erase) (1) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Shaded (gray) (2) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ Cross-hatch Pattern (3) ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ User-defined Pattern (4) ns ns ns ✓✓ ✓ ✓✓ ✓ ✓ Current Pattern (5) ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
STATUS READBACK
Set Status Readback Location Type
Set Status Readback Location Unit
Inquire Status Readback Entity
Free Space ?*s1M ns ns ns ns ✓✓✓✓✓ ✓ ✓ Flush All Pages ?&r#F ns ns ns ns ✓✓✓✓✓ ✓ ✓ Echo ?*s#X ns ns ns ns ✓✓✓✓✓ ✓ ✓
Indicates a command is supported. ns - Indicates a command is not supported.
?*s#T ns ns ns ns ✓✓✓✓✓ ✓ ✓
?*s#U ns ns ns ns ✓✓✓✓✓ ✓ ✓
?*s#I ns ns ns ns ✓✓✓✓✓ ✓ ✓
4Si
4Si Mx 4L
4ML
4P
4MP 4PJ
4 Plus
4M Plus4V4MV
1-12 Printer Features ENWW
Table 1-1A. PCL 5 Feature Support Matrix (continued)
FUNCTION COMMAND III IIID IIISi IIIP44M
PICTURE FRAME (for Vector Gra phics)
Picture Frame Horiz. Size ?*c#X ✓✓✓✓✓✓✓✓✓ ✓ ✓ Picture Frame Vert. Size ?*c#Y ✓✓✓✓✓✓✓✓✓ ✓ ✓ Set Picture Frame Anchor P oin t ?*c0T ✓✓✓✓✓✓✓✓✓ ✓ ✓ HP-GL/2 Horiz. Plot Size ?*c#K ✓✓✓✓✓✓✓✓✓ ✓ ✓ HP-GL/2 Vert. Plot Size ?*c#L ✓✓✓✓✓✓✓✓✓ ✓ ✓ Enter HP-GL/2 ?%#B _Stand-alone plotter (-1) ns ns ns ns ns ns ns ns ns ns ns _Previous HP-GL (0) ✓✓✓✓✓✓✓✓✓ ✓ ✓ _Current PCL CAP (1) ✓✓✓✓✓✓✓✓✓ ✓ ✓ _Current PCL coordinates and
old HP-GL/2 (2)
_Current PCL coordinates and
current CAP (3)
Enter PCL Mode ?%#A ✓✓✓✓✓✓✓✓✓ ✓ ✓
Display Functions
On ?Y ✓✓✓✓✓✓✓✓✓ ✓ ✓ Off ?Z ✓✓✓✓✓✓✓✓✓ ✓ ✓
End-Of-Line Wrap ?&s#C ✓✓✓✓✓✓✓✓✓ ✓ ✓
Indicates a command is supported. ns - Indicates a command is not supported.
ns ns ns ns ns ns ns ns ns ns ns
ns ns ns ns ns ns ns ns ns ns ns
PROGRAMMING HINTS
4Si
4SiMx 4L
4ML
4P
4MP 4PJ
4 Plus
4M Plus4V4MV
ENWW Printer Features 1-13
Table 1-1A. PCL 5 Feature Support Matrix (continued)
FUNCTION COMMAND III IIID IIISi IIIP44M
PCL 5 COLOR COMMANDS
Assign Color Index ?*v#I ns ns ns ns ns ns ns ns ns ns ns Color Component 1 ?*v#A ns ns ns ns ns ns ns ns ns ns ns Color Component 2 ?*v#B ns ns ns ns ns ns ns ns ns ns ns Color Component 3 ?*v#C ns ns ns ns ns ns ns ns ns ns ns Color Lookup Tables ?*l#W[data] ns ns ns ns ns ns ns ns ns ns ns Configure Image Data ?*v#W[data] ns ns ns ns ns ns ns ns ns ns ns Download Dither Matrix ?*m#W ns ns ns ns ns ns ns ns ns ns ns Foreground Color ?*v#S ns ns ns ns ns ns ns ns ns ns ns Gamma Correction ?*t#I ns ns ns ns ns ns ns ns ns ns ns Monochrome Print Mode ?&b#M ns ns ns ns ns ns ns ns ns ns ns Palette Control ID ?&p#I ns ns ns ns ns ns ns ns ns ns ns Palette Control ?&p#C ns ns ns ns ns ns ns ns ns ns ns Push/Pop Palette ?*p#P ns ns ns ns ns ns ns ns ns ns ns Render Algorithm ?*t#J
Range: 0 - 8 ns ns ns ns ns ns ns ns ns ns ns Range: 9 - 10 ns ns ns ns ns ns ns ns ns ns ns Range: 11 - 14 ns ns ns ns ns ns ns ns ns ns ns Range: 15 - 19 ns ns ns ns ns ns ns ns ns ns ns
Select Palette ?&p#S ns ns ns ns ns ns ns ns ns ns ns Set Viewing Illuminant ?*i#W[data] ns ns ns ns ns ns ns ns ns ns ns Simple Color ?*r#U ns ns ns ns ns ns ns ns ns ns ns
Indicates a command is supported. ns - Indicates a command is not supported.
4Si
4Si Mx 4L
4ML
4P
4MP 4PJ
4 Plus
4M Plus4V4MV
1-14 Printer Features ENWW
Table 1-1A. PCL 5 Feature Support Matrix (continued)
FUNCTION COMMAND III IIID IIISi IIIP44M
HP-GL/2 GRAPHICS
HP-GL/2—Commands listed in Table A-2 except as shown below
Advance Full Page PG ns ns ns ns ns ns ns ns ns ns ns Bezier BR, BZ ns ns ns ns ✓✓✓✓✓ ✓ ✓ Begin Plot BP ns ns ns ns ns ns ns ns ns ns ns Chord Tolerance Mode CT ns ns ns ns ns ns ns ns ns ns ns (Relative) Color Range CR ns ns ns ns ns ns ns ns ns ns ns Download Character DL ns ns ns ns ns ns ns ns ns ns ns Fill Type FT
Odd/Even ✓✓ ✓ ✓✓ ✓ ✓ ✓ ✓ ✓ Non-Zero Winding ns ns ns ns ✓✓✓✓✓ ✓ ✓
Frame Advance FR ns ns ns ns ns ns ns ns ns ns ns Label origin LO
1-9 / 11-19 ✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓ 21 ns ns ns ns ✓✓✓✓✓ ✓ ✓
Media Type MT ns ns ns ns ns ns ns ns ns ns ns Merge Control MC ns ns ns ns ns ns ns ✓✓ ✓ ✓ Number of Pens NP ns ns ns ns ns ns ns ns ns ns ns Output Error OE ns ns ns ns ns ns ns ns ns ns ns Output Hardcopy Limits OH ns ns ns ns ns ns ns ns ns ns ns Output Identification OI ns ns ns ns ns ns ns ns ns ns ns Output P1 and P2 OP ns ns ns ns ns ns ns ns ns ns ns Output Status OS ns ns ns ns ns ns ns ns ns ns ns Pen Color Assignment PC ns ns ns ns ns ns ns ns ns ns ns Pixel Placement PP ns ns ns ns ns ns ns ✓✓ ✓ ✓ Plot Size PS ns ns ns ns ns ns ns ns ns ns ns Quality Level QL ns ns ns ns ns ns ns ns ns ns ns Replot RP ns ns ns ns ns ns ns ns ns ns ns
Indicates a command is supported. ns - Indicates a command is not supported.
✓✓ ✓✓✓ ✓ ✓ ✓ ✓ ✓
4Si
4Si Mx 4L
4ML
4P
4MP 4PJ
4 Plus
4M Plus4V4MV
ENWW Printer Features 1-15
Table 1-1B. PCL 5 Feature Support Matrix
Color
Color
FUNCTION COMMAND
Configuration (AppleTalk)
Universal Exit/Start of PJL (UEL)
Reset ?E ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Number of Copies ?&l#X ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Simplex/Duplex Print ?&l#S ns ns ns ns ns ns ns ✓✓ns ns Left (Long-Edge) Offset
Registration Top (Short-Edge) Offset
Registration Unit Of Measure ?&u#D ns ns ✓✓ ✓ ✓ ✓ ✓✓ns Mechanical Print Quality ?*o#Q ns ns ns ns ns ns ns ns ns ✓✓ Media Type ?&l#M ns ns ns ns ns ns ns ns ns ✓✓ Negative Motion ?&a#N ns ns ns ns ns ns ns ns ns ✓✓ Self-Test ?z ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Paper Type ?&n5WdBond ns ns ns ns ns ns ns ns ns ns ns
Indicates a command is supported. ns - Indicates a command is not supported.
1
For custom paper, replace “CustomType” with the name of the paper, and replace “#” with the number of characters in the name, plus 1.
?&b#W[data] ✓✓✓ns ns ✓✓ ✓✓✓ ✓
?%–1245X ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
?&l#U ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
?&l#Z ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
?&n6WdPlain ns ns ns ns ns ns ns ns ns ns ns ?&n6WdColor ns ns ns ns ns ns ns ns ns ns ns ?&n7WdLabels ns ns ns ns ns ns ns ns ns ns ns ?&n9WdRecycled ns ns ns ns ns ns ns ns ns ns ns ?&n11WdLetterhead ns ns ns ns ns ns ns ns ns ns ns ?&n10WdCardstock ns ns ns ns ns ns ns ns ns ns ns ?&n11WdPrepunched ns ns ns ns ns ns ns ns ns ns ns ?&n11WdPreprinted ns ns ns ns ns ns ns ns ns ns ns ?&n13WdTransparency ns ns ns ns ns ns ns ns ns ns ns ?&n#WdCustomType1ns ns ns ns ns ns ns ns ns ns ns
LJ 5,5M4LJ
LJ
MISCELLANEOUS
JOB CONTROL
Pro 4LC
5L 6L
6L Gold5P5 MP6P6 MP
5Si 5Si Mx Mopier55M
Desk
Jet
1200C
Desk
Jet
1600C
1-16 Printer Features ENWW
Table 1-1B. PCL 5 Feature Support Matrix (continued)
FUNCTION COMMAND
Color
LJ
Color
LJ 5,5M4LJ
Pro 4LC
5L 6L
6L Gold5P5MP6P6MP
5Si
5SiMx
Mopier55M
Desk
Jet
1200C
Desk
Jet
1600C
PAGE CONTROL
Page (Job) Size ?&l#A
Executive (1) ✓✓✓✓ ✓ ✓✓ ✓✓ns ns Letter (2) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Legal (3) ✓✓1✓✓ ✓ ✓ ✓ ✓✓✓ ✓ Ledger (6) 4✓1ns ns ns ns ns ns ns ns A5 (25) ns ns ns ns ns ns ns ns ns A4 (26) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ A3 (27) ✓✓1ns ns ns ns ns ns ns ns JIS B5 Paper (45) ns ns ✓✓ ns ns ✓✓✓ns ns JIS B4 Paper (46) ns ns ns ns ns ns ns ns ns ns ns Monarch Envelope
(80) Com-10 Envelope
(81)
ns ns ✓✓ ✓ ✓ ✓ ✓✓ns ns
ns ns ✓✓ ✓ ✓ ✓ ✓✓✓ ✓
Intl. DL Envelope (90) ns ns ✓✓ ✓ ✓ ✓ ✓✓✓ ✓ Intl. C5 Envelope (91) ns ns ✓✓ ✓ ✓ ✓ ✓✓✓ ✓ Intl. B5 Envelo pe ( 100) ns ns ✓✓ ✓ ✓ ✓ ✓✓ns ns Custom (101) ns ns ✓✓ ns
2
✓✓✓3✓ ns ns Hagaki Postcard (71) ns ns ✓✓ ns ns ns ns ns ns ns Oufuku-Hagaki
Postcard (72)
ns ns ✓✓ ns ns ns ns ns
Orientation ?&l#O ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Page Side Selection4?&a#G ns ns ✓✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Job Separation ?&l1T ns ns ns ns ns ns ns ns ns ns ns Finish Mode ?&b#F ns ns ns ns ns ns ns ns ns ns ns
Indicates a command is supported. ns - Indicates a command is not supported.
1
Black & White only
2
For the HP LaserJet 5L printer, the printer driver sets the paper size to legal (3) when “custom” is selected.
3
The custom size is 11.7" x 17.7" on HP LaserJet 5Si, 5SiMx, and 5Si Mopier printers.
4
On non-duplex printers, this command causes a conditional page eject.
ENWW Printer Features 1-17
Table 1-1B. PCL 5 Feature Support Matrix (continued)
Color
Color
FUNCTION COMMAND
Paper (Media) Source ?&l#H
Eject Page (0) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Main (Front) Paper
Source (1) Manual (Top/Rear)
Feed (2) Manual Env. Feed (3) ns ns ✓✓ ✓ ✓ ✓ ✓ ✓ns ns Alt. Paper Source (4) ✓✓ns ns ns ✓✓ ✓✓ns ns Optional Source (5) ✓✓ns ns ns ns ns ✓✓✓ ns Envelope Feeder (6) ns ns ns ns ns ns ns ✓✓ns ns Auto Select (7) ns ns ns ns ns ns ns ✓✓ns Tray 1 (right side) (8) ns ns ns ns ns ns ns ns ns ns HCI T ra ys 2-21 (20-39) ns ns ns ns ns ns ns ns ns ns
Output (Media) Bin ?&l#G Automatic (0) ns ns ns ns ns ns ns ns ns ns Destination Tray 1 (1) ✓✓ns ns ns ns ns ✓✓ns ns Destination Tray 2 ✓✓ns ns ns ns ns ✓✓ns ns Destination Tray 3 ns ns ns ns ns ns ns ns ns ns Print Direction ?&a#P ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Character Text Path Dir. ?&c#T ns ns ✓✓ ns ✓✓ ✓✓ns ns Left Margin ?&a#L ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Right Margin ?&a#M ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Clear Horizontal
Margins Top Margin ?&l#E ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Text Length ?&l#F ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Perforation Skip ?&l#L ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Horizontal Motion Index ?&k#H ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Vertical Motion Index ?&l#C ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Line Spacing ?&l#D ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Alphanumeric ID ?&n#W[operation]
Indicates a command is supported. ns - Indicates a command is not supported.
?9 ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
ALPHANUMERIC ID (Media selection by type/PCL mass storage command)
[string]
LJ 5,5M4LJ
LJ
PAGE CONTROL (continued)
✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
ns ns ns ns ns ns ns ✓✓ns ns
Pro 4LC
5L 6L
6L Gold5P5MP6P6MP
5Si 5Si Mx Mopier55M
Desk
Jet
1200C
Desk
Jet
1600C
1-18 Printer Features ENWW
Table 1-1B. PCL 5 Feature Support Matrix (continued)
Color
Color
FUNCTION COMMAND
Horizontal Position ?&a#C ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
?*p#X ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ ?&a#H ✓ ✓
Vertical Position ?&a#R ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
?*p#Y ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ ?&a#V ✓✓✓✓ ✓✓✓ ✓✓ ✓ ✓
Half Line Feed ?= ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Line Termination ?&k#G ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Push/Pop Position ?&f#S ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
The Primary font commands in this table can be changed to Secondary by replacing the left parenthesis “(” in the command with a right parenthesis “)”.
Symbol Set (Primary) ?(ID ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Spacing (Primary) ?(s#P ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Pitch (Primary) ?(s#H ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Height (Primary) ?(s#V ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Style (Primary) ?(s#S ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Stroke Weight (Primary) ?(s#B ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Typeface (Primary) ?(s#T ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Font Selection By ID #
(Pri.) Select Default Font
(Primary) Underline ?&d#D ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Transparent Print Data ?&p#X[data] ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Text Parsing Method ?&t#P ns ns ✓✓ ns ✓✓ ✓✓✓1✓
Assign Font ID # ?*c#D ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Font Control ?*c#F ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Symbol Set ID Code ?*c#R ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Define Symbol Set ?(f#W[data] ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Symbol Set Control ?*c#S ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Indicates a command is supported. ns - Indicates a command is not supported.
1
Available in code versions “B” and “C” only (see the DeskJet 1200C section near the end of this chapter).
?(#X ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
?(3@ ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
?&d@ ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
LJ 5,5M4LJ
LJ
CURSOR POSITIONING
USER-DEFINED SYMBOL SET
Pro 4LC
FONT SELECTION
FONT MANAGEMENT
5L 6L
6L Gold5P5 MP6P6 MP
5Si
5SiMx
Mopier55M
Desk
Jet
1200C
Desk
Jet
1600C
ENWW Printer Features 1-19
Table 1-1B. PCL 5 Feature Support Matrix (continued)
Color
Color
FUNCTION COMMAND
Font Descriptor ?)s#W[data]
Range: 0 - 32767 ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Range: 0 - 65535 ✓✓ ✓✓ Character Code ?*c#E ✓✓✓✓ ✓ ✓✓ ✓✓ ✓ ✓ Download Character ?(s#W[data] ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Macro ID ?&f#Y ✓✓✓✓ ✓ ✓✓✓✓ ✓ ✓ Macro Control ?&f#X ✓✓✓✓ ✓ ✓✓ ✓✓ ✓ ✓
Source Transparency Mode
Pattern Transparency Mode
Area Fill (Pattern) ID ?*c#G ✓✓✓✓ ✓ ✓✓ ✓✓✓ Select Current Pattern ?*v#T
Solid Black (0) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Solid White (1) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
HP Shading
Pattern (2)
Cross-hatch Pattern
(3) (HP-hatch Pattern)
User-defined
Pattern (4) Logical Operation ?*l#O ✓✓✓✓ ✓ ✓✓ ✓✓ ✓ ✓ Pixel Placement ?*l#R ✓✓✓✓ ✓ ✓✓ ✓✓ ✓ ✓
Define (Download) Pattern
Range: 0 - 32767 ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Range: 0 - 65535 ✓✓ ✓✓ Set Pattern Reference
Point User-defined Pattern
Control
Indicates a command is supported. ns - Indicates a command is not supported.
?*v#N ✓✓✓✓ ✓ ✓✓ ✓✓✓
?*v#O ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
?*c#W[data] ✓✓✓✓ ✓ ✓✓ ✓✓✓
?*p#R ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
?*c#Q ✓✓✓✓ ✓ ✓✓ ✓✓✓
LJ 5,5M4LJ
LJ
SOFT FONT CREATION
PRINT MODEL IMAGING
✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
USER-DEFINED PATTERN
Pro 4LC
MACROS
5L 6L
6L Gold5P5 MP6P6 MP
5Si
5SiMx
Mopier55M
Desk
Jet
1200C
Desk
Jet
1600C
1-20 Printer Features ENWW
Table 1-1B. PCL 5 Feature Support Matrix (continued)
Color
Color
FUNCTION COMMAND
Raster Resolution ?*t#R
75 Dots/Inch (75) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
100 Dots/Inch (100) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
150 Dots/Inch (150) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
200 Dots/Inch (200)1 ns ns ✓✓ ✓ ✓ ✓ ✓✓ns
300 Dots/Inch (300) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
600 Dots/Inch (600) Graphics Presentation ?*r#F ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Raster Height (Source) ?*r#T ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Raster Height
(Destination) Raster Wi dth (Source) ?*r#S ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Raster Width (Destination) ?*t#H ✓✓ns ns ns ns ns ns ns ✓✓ Scale Algorithm ?*t#K ns ns ns ns ns ns ns ns ns ✓✓ Start Raster Graphics ?*r#A
At logical page left
limit(0)
At CAP (1) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
At logic. page left limit,
scaling ON (2)
At CAP, scaling ON (3) ✓✓ns ns ns ns ns ns ns ✓✓ Y Offset ?*b#Y ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Set Compression Mode ?*b#M
Unencoded (0) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Run-Length Encoded (1) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
TIFF Encoded (2) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Delta Row Encoded (3) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Mode 5 Adaptive (5) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Replacement Delta
Row (9) Transfer Raster
(Row/Block) Transfer Ra ster (Plane) ?*b#V[data] ✓✓ns ns ns ns ns ns ns ✓✓ End Graphics
Version B ?*rB ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Version C (Preferred) ?*rC ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Indicates a command is supported. ns - Indicates a command is not supported.
1
Supported if printer resolution is 600 dpi.
1
?*t#V ✓✓ns ns ns ns ns ns ns ✓✓
?*b#W[data] ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
LJ 5,5M4LJ
LJ
ns ns ✓✓ ✓ ✓ ✓ ✓✓ns
✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
✓✓ns ns ns ns ns ns ns ✓✓
ns ns ns ns ns ns ns ns ns ns
Pro 4LC
RASTER GRAPHICS
5L 6L
6L Gold5P5 MP6P6MP
5Si
5SiMx
Mopier55M
Desk
Jet
1200C
Desk
Jet
1600C
ENWW Printer Features 1-21
Table 1-1B. PCL 5 Feature Support Matrix (continued)
Color
Color
FUNCTION COMMAND
Horizontal Rectangle Size ?*c#A ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
?*c#H ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Vertical Rectangle Size ?*c#B ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
?*c#V ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Pattern ID (Area Fill ID) ?*c#G
1-100 for Shading ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
1-6 for Cross-hatch ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
0-32767 for User-defined ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Fill Rectangle Area ?*c#P
Black (solid) (0) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
(Solid) White (erase) (1) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Shaded (gray) (2) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Cross-hatch Pattern (3) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
User-defined Pat tern (4) ✓✓ ✓✓ ✓ ✓✓✓✓✓ ✓
Current Pattern (5) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Set Status Readback Location Type
Set Status Readback Location Unit
Inquire Status Readback Entity
Free Space ?*s1M ns ns ✓✓ ✓ ✓ ✓ ✓✓ns ns Flush All Pages ?&r#F ns ns ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Echo ?*s#X ns ns ✓✓ ✓ ✓ ✓ ✓✓ns ns
Indicates a command is supported. ns - Indicates a command is not supported.
?*s#T ns ns ✓✓ ✓ ✓ ✓ ✓ ✓ns ns
?*s#U ns ns ✓✓ ✓ ✓ ✓ ✓✓ns ns
?*s#I ns ns ✓✓ ✓ ✓ ✓ ✓ ✓ns ns
LJ 5,5M4LJ
LJ
RECTANGULAR AREA FILL
Pro 4LC
STATUS READBACK
5L 6L
6L Gold5P5 MP6P6MP
5Si
5SiMx
Mopier55M
Desk
Jet
1200C
Desk
Jet
1600C
1-22 Printer Features ENWW
Table 1-1B. PCL 5 Feature Support Matrix (continued)
Color
Color
FUNCTION COMMAND
PICTURE FRAME (for Vector Graphics)
Picture Frame Horiz. Size ?*c#X ns ✓✓ ✓ ✓ ✓ ✓✓✓ ✓ Picture Frame Vert. Size ?*c#Y ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Set Picture Frame Anchor
Point HP-GL/2 Horiz. Plot Size ?*c#K ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ HP-GL/2 Vert. Plot Size ?*c#L ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Enter HP-GL/2 ?%#B
_Stand-alone plotter (-1) ns ns ns ns ns ns ns ns ns 3 ns
_Previous HP-GL (0) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
_Current PCL CAP (1) ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
_Current PCL coordinates
and old HP-GL/2 (2)
_Current PCL coordinates
and current CAP (3)
Enter PCL Mode ?%#A ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Display Functions
On ?Y ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Off ?Z ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ End-Of-Line Wrap ?&s#C ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Indicates a command is supported. ns - Indicates a command is not supported.
?*c0T ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
LJ 5,5M4LJ
LJ
ns ns ns ns ns ns ns ns ns ✓✓
ns ns ns ns ns ns ns ns ns ✓✓
PROGRAMMING HINTS
Pro 4LC
5L 6L
6L Gold5P5MP6P6MP
5Si
5SiMx
Mopier55M
Desk
Jet
1200C
Desk
Jet
1600C
ENWW Printer Features 1-23
Table 1-1B. PCL 5 Feature Support Matrix (continued)
Color
Color
FUNCTION COMMAND
Assign Color Index ?*v#I ✓✓ns ns ns ns ns ns ns ✓✓ Color Component 1 ?*v#A ✓✓ns ns ns ns ns ns ns ✓✓ Color Component 2 ?*v#B ✓✓ns ns ns ns ns ns ns ✓✓ Color Component 3 ?*v#C ✓✓ns ns ns ns ns ns ns ✓✓ Color Lookup Tables ?*l#W[data] ✓✓ns ns ns ns ns ns ns ns ns Configure Image Data ?*v#W[data] ✓✓ns ns ns ns ns ns ns ✓✓ Download Dither Matrix ?*m#W ✓✓ns ns ns ns ns ns ns ✓✓ Foreground Color ?*v#S ✓✓ns ns ns ns ns ns ns ✓✓ Gamma Correction ?*t#I ✓✓ns ns ns ns ns ns ns ✓✓ Monochrome Print
Mode Palette Control ID ?&p#I ✓✓ns ns ns ns ns ns ns ns ns Palette Control ?&p#C ✓✓ns ns ns ns ns ns ns ns ns Push/Pop Palette ?*p#P ✓✓ns ns ns ns ns ns ns ✓✓ Render Algorithm ?*t#J
Range: 0 - 8 ✓✓ns ns ns ns ns ns ns ✓✓
Range: 9 - 10 ns ns ns ns ns ns ns ns ✓✓
Range: 11 - 14 ✓✓ns ns ns ns ns ns ns ✓✓
Range: 15 - 19 ns ns ns ns ns ns ns ns ns ns Select Palette ?&p#S ✓✓ns ns ns ns ns ns ns ns ns Set Viewing Illuminant ?*i#W[data] ✓✓ns ns ns ns ns ns ns ns ns Simple Color ?*r#U ✓✓ns ns ns ns ns ns ns ✓✓
Indicates a command is supported. ns - Indicates a command is not supported.
?&b#M ✓✓ns ns ns ns ns ns ns ns ns
LJ 5,5M4LJ
LJ
PCL 5 COLOR COMMANDS
Pro 4LC
5L 6L
6L Gold5P5MP6P6MP
5Si
5SiMx
Mopier55M
Desk
Jet
1200C
Desk
Jet
1600C
1-24 Printer Features ENWW
Table 1-1B. PCL 5 Feature Support Matrix (continued)
FUNCTION COMMAND
Color
LJ
Color
LJ 5,5M4LJ
Pro 4LC
5L 6L
6L Gold5P5MP6P6MP
5Si
5SiMx
Mopier55M
Desk
Jet
1200C
Desk
Jet
1600C
HP-GL/2 GRAPHICS
HP-GL/2—Commands listed in Table A-2 except as shown below
✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Advance Full Page PG ns ns ns ns ns ns ns ns ✓✓1ns Bezier BR, BZ ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Begin Plot BP ns ns ns ns ns ns ns ns ns Chord Tolerance Mode CT ns ns ns ns ns ns ns ns ns
1
ns
1
ns (Relative) Color Range CR ✓✓ns ns ns ns ns ns ns ✓✓ Download Character DL ns ns ns ns ns ns ns ns ns
1
ns Fill Type FT
Odd/Even ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Non-Zero Winding ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Frame Advance FR ns ns ns ns ns ns ns ns ns
1
ns Label origin LO
1-9 / 11-19 ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ 21 ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓
Media Type MT ns ns ns ns ns ns ns ns ns
1
ns Merge Control MC ✓✓✓✓ ✓ ✓✓ ✓✓✓ ✓ Number of Pens NP ✓✓ns ns ns ns ns ns ns ✓✓ Output Error OE ns ns ns ns ns ns ns ns ns Output Hardcopy Limits OH ns ns ns ns ns ns ns ns ns Output Identification OI ns ns ns ns ns ns ns ns ns Output P1 and P2 OP ns ns ns ns ns ns ns ns ns Output Status OS ns ns ns ns ns ns ns ns ns
1
ns
1
ns
1
ns
1
ns
1
ns Pen Color Assignment PC 3 3 ns ns ns ns ns ns ns 3 Pixel Placement PP 3 3 3 3 3 3 3 3 3 3 Plot Size PS ns ns ns ns ns ns ns ns ns Quality Level QL nsnsnsns ns nsns nsns Replot RP ns ns ns ns ns ns ns ns ns
Indicates a command is supported. ns - Indicates a command is not supported.
1
Supported in stand-alone HP-GL/2 Mode only (DeskJet 1200)
1
ns
1
ns
1
ns
ENWW Printer Features 1-25
Table 1-1C. PCL 5 Feature Support Matrix
1100
2100
4000
4500
5000
8000
8100
FUNCTION COMMAND
Configuration (AppleTalk) ?&b#W[data] ✓✓✓✓✓✓✓ns
Universal Exit/Start of PJL (UEL) ?%–12345X ✓✓✓✓✓✓✓✓ Reset ?E ✓✓✓✓✓✓✓✓ Number of Copies ?&l#X ✓✓✓✓✓✓✓✓ Simplex/Duplex Print ?&l#S ✓✓✓✓✓✓✓✓ Left (Long-Edge) Offset
Registration Top (Short-Edge) Offset
Registration Unit Of Measure ?&u#D ✓✓✓✓✓✓✓✓ Mechanical Print Quality ?*o#Q ns ns ns ns ns ns ns ns Media Type ?&l#M ns ns 3 ns 3 ns ns Negative Motion ?&a#N ns ns ns ns ns ns ns ns Self-Test ?z ✓✓✓✓✓✓✓✓ Paper Type ?&n5WdBond ns ns ✓✓✓✓✓✓
Indicates a command is supported. ns - Indicates a command is not supported.
1
For custom paper, replace “CustomType” with the name of the paper, and replace “#” with the number of characters in the name, plus1.
?&l#U ✓✓✓✓✓✓✓✓
?&l#Z ✓✓✓✓✓✓✓✓
?&n6WdPlain ns ns ✓✓✓✓✓✓ ?&n6WdColor ns ns ✓✓✓✓✓✓ ?&n6WdRough ns ns ✓✓✓✓✓ns ?&n6WdHeavy ns ns ns ns ns ns ?&n6WdGloss ns ns ns ns ns ns ?&n7WdLabels ns ns ✓✓✓✓✓✓ ?&n7WdVellum ns ns ns ✓✓ns ns ns ?&n8WdDefault ns ns ✓✓✓✓✓✓ ?&n9WdRecycled ns ns ✓✓✓✓✓✓ ?&n11WdLetterhead ns ns ✓✓✓✓✓✓ ?&n11WdCard Stock ns ns ✓✓✓✓✓✓ ?&n10WdCardstock ns ns ✓✓✓✓✓✓ ?&n11WdPrepunched ns ns ✓✓✓✓✓✓ ?&n11WdPreprinted ns ns ✓✓✓✓✓✓ ?&n13WdTransparency n s ns ✓✓✓✓✓✓ ?&n#WdCustomType
Series
MISCELLANEOUS
JOB CONTROL
1
ns ns ns ✓✓✓ns
Series
Series
Series
Series
Series
Series
8500
Series
1-26 Printer Features ENWW
Table 1-1C. PCL 5 Feature Support Matrix (continued)
1100
2100
4000
4500
5000
8000
8100
FUNCTION COMMAND
Page (Job) Size ?&l#A
Executive (1) ✓✓✓✓✓✓✓✓ Letter (2) ✓✓✓✓✓✓✓✓ Legal (3) ✓✓✓✓✓✓✓✓ Ledger (6) ns ns ns ns ns ns ns JISExec (Foolscap) (10) A5 (25) ✓✓✓✓✓✓✓✓ A4 (26) ✓✓✓✓✓✓✓✓ A3 (27) ns ns ns ns ns ns ns JIS B5 Paper (45) ✓✓✓✓✓✓✓✓ JIS B4 Paper (46) ns ns ns ✓✓ns ns Monarch Envelope (80) ✓✓✓✓✓✓✓✓ Com-10 Envelope (81) ✓✓✓✓✓✓✓✓ Intl. DL Envelope (90) ✓✓✓✓✓✓✓✓ Intl. C5 Envelope (91) ✓✓✓✓✓✓✓✓ Intl. B5 Envelope (100) ✓✓✓✓✓✓✓✓ Custom (101) Hagaki Postcard (71) ns ns ns ns ns ns Oufuku-Hagaki
Postcard (72) Orientation ?&l#O ✓✓✓✓✓✓✓✓ Page Side Selection Job Separation ?&l1T ns ns ns ns ns ns ns ns Finish Mode ?&b#F ns ns ns ns ns ns ns
Indicates a command is supported. ns - Indicates a command is not supported.
1
For some HP LaserJet printers, the custom size is configurable via the control panel.
2
On non-duplex printers, this command causes a conditional page eject.
1
2
?&a#G ✓✓✓✓✓✓✓✓
Series
Series
Series
Series
Series
Series
PAGE CONTROL
✓✓✓1✓✓✓✓✓
ns ns ns ns ns ns
Series
8500
Series
ENWW Printer Features 1-27
Table 1-1C. PCL 5 Feature Support Matrix (continued)
1100
2100
4000
4500
5000
8000
8100
FUNCTION COMMAND
Series
Series
Series
Series
Series
Series
PAGE CONTROL (continued)
Paper (Media) Source ?&l#H
In Tray (current tray)(0) ✓✓✓✓✓✓✓✓
1st Cassette (Main Paper
Src.) (1)
✓✓✓✓✓✓✓✓
Manual Feed Tray (2) ✓✓✓2✓✓2✓✓✓
Manual Feed Tray (3) ✓✓✓ns
2
✓✓✓
MultiPurpose Tray (4) ✓✓✓2✓✓2✓✓✓
2nd Cassette (Opt.
Source) (5)
Envelope Feeder (6) ✓✓✓ns
✓✓✓2✓✓2✓✓✓
2
✓✓✓
Auto Select (7) ✓✓✓✓✓2✓✓✓
3rd Cassette(8) ns ✓✓2✓✓2ns ns
HCI Trays 2-21 (20-39) ns ns
3
✓✓2✓✓✓
Output (Media) Bin ?&l#G Automatic (0) ns ns ns2ns2ns Destination Tray 1 (1) ✓✓ns2ns2ns Destination Tray 2 (2) ✓✓ns2ns2ns Destination Tray 3 (3) ns ns ns2ns2ns
2
ns ns ns
2
✓✓✓
2
✓✓✓
2
ns ns ns Print Direction ?&a#P ✓✓✓✓✓✓✓✓ Character Text Path Dir. ?&c#T ✓✓✓✓✓✓✓✓ Left Margin ?&a#L ✓✓✓✓✓✓✓✓ Right Margin ?&a#M ✓✓✓✓✓✓✓✓ Clear Horizontal Margins ?9 ✓✓✓✓✓✓✓✓ Top Margin ?&l#E ✓✓✓✓✓✓✓✓ Text Length ?&l#F ✓✓✓✓✓✓✓✓ Perforation Skip ?&l#L ✓✓✓✓✓✓✓✓ Horizontal Motion Index ?&k#H ✓✓✓✓✓✓✓✓ Vertical Motion Index ?&l#C ✓✓✓✓✓✓✓✓ Line Spacing ?&l#D ✓✓✓✓✓✓✓✓
ALPHANUMERIC ID (Media selection by type/PCL mass storage command)
Alphanumeric ID ?&n#W[operation] [string] ✓✓✓✓1✓✓✓✓
Indicates a command is supported. ns - Indicates a command is not supported.
1
The LaserJet 4500 series printers support any Alphanumeric ID command that does not reference anything stored on a hard disk.
2
For these printers, see the printer-specific sections in Chapter 2.
3
The LaserJet 4000 series printers support HCI trays 2 – 41 (20 – 59)
Series
8500
Series
1-28 Printer Features ENWW
Table 1-1C. PCL 5 Feature Support Matrix (continued)
1100
2100
4000
4500
5000
8000
8100
FUNCTION COMMAND
Horizontal Position ?&a#C ✓✓✓✓✓✓✓✓
?*p#X ✓✓✓✓✓✓✓✓ ?&a#H ✓✓✓✓ ✓✓✓
Vertical Position ?&a#R ✓✓✓✓✓✓✓✓
?*p#Y ✓✓✓✓✓✓✓✓ ?&a#V ✓✓✓✓✓ ✓✓✓
Half Line Feed ?= ✓✓✓✓✓✓✓✓ Line Termination ?&k#G ✓✓✓✓✓✓✓✓ Push/Pop Position ?&f#S ✓✓✓✓✓✓✓✓
The Primary font commands in this table can be changed to Secondary by replacing the left parenthesis “(” in the command with a right parenthesis “)”.
Symbol Set (Primary) ?(ID ✓✓✓✓✓✓✓✓ Spacing (Primary) ?(s#P ✓✓✓✓✓✓✓✓ Pitch (Primary) ?(s#H ✓✓✓✓✓✓✓✓ Height (Primary) ?(s#V ✓✓✓✓✓✓✓✓ Style (Primary) ?(s#S ✓✓✓✓✓✓✓✓ Stroke Weight (Primary) ?(s#B ✓✓✓✓✓✓✓✓ Typeface (Primary) ?(s#T ✓✓✓✓✓✓✓✓ Font Selection By ID # (Pri.) ?(#X ✓✓✓✓✓✓✓✓ Select Default Font (Primary) ?(3@ ✓✓✓✓✓✓✓✓ Underline ?&d#D ✓✓✓✓✓✓✓✓
?&d@ ✓✓✓✓✓✓✓✓ Transparent Print Data ?&p#X[data] ✓✓✓✓✓✓✓✓ Text Parsing Method ?&t#P ✓✓✓✓✓✓✓✓
Assign Font ID # ?*c#D ✓✓✓✓✓✓✓✓ Font Control ?*c#F ✓✓✓✓✓✓✓✓
USER-DEFINED SYMBOL SET
Symbol Set ID Code ?*c#R ✓✓✓✓✓✓✓✓ Define Symbol Set ?(f#W[data] ✓✓✓✓✓✓✓✓ Symbol Set Control ?*c#S ✓✓✓✓✓✓✓✓
Indicates a command is supported. ns - Indicates a command is not supported.
Series
Series
CURSOR POSITIONING
FONT SELECTION
FONT MANAGEMENT
Series
Series
Series
Series
Series
8500
Series
ENWW Printer Features 1-29
Table 1-1C. PCL 5 Feature Support Matrix (continued)
1100
2100
4000
4500
5000
8000
8100
FUNCTION COMMAND
Font Descriptor ?)s#W[data]
Range: 0 - 32767 ✓✓✓✓✓✓✓✓
Range: 0 - 65535 ✓✓ns Character Code ?*c#E ✓✓✓✓✓✓✓✓ Download Character ?(s#W[data] ✓✓✓✓✓✓✓✓
Macro ID ?&f#Y ✓✓✓✓✓✓✓✓ Macro Control ?&f#X ✓✓✓✓✓✓✓✓
Source Transparency Mode ?*v#N ✓✓✓✓✓✓✓✓ Pattern Transparency Mode ?*v#O ✓✓✓✓✓✓✓✓ Area Fill (Pattern) ID ?*c#G ✓✓✓✓✓✓✓✓ Select Current Pattern ?*v#T
Solid Black (0) ✓✓✓✓✓✓✓✓
Solid White (1) ✓✓✓✓✓✓✓✓
HP Shading Pattern (2) ✓✓✓✓✓✓✓✓
Cross-hatch Pattern (3)
(HP-hatch Pattern)
User-defined Pat tern (4) ✓✓✓✓✓✓✓✓ Logical Operation ?*l#O ✓✓✓✓✓✓✓✓ Pixel Placement ?*l#R ✓✓✓✓✓✓✓✓
USER-DEFINED PATTERN
Define (Download) Pattern ?*c#W[data] ✓✓✓✓✓✓✓✓
Range: 0 - 32767 ✓✓✓✓✓✓✓✓
Range: 0 - 65535 ✓✓ns Set Pattern Reference Point ?*p#R ✓✓✓✓✓✓✓✓ User-defined Pattern Control ?*c#Q ✓✓✓✓✓✓✓✓
Indicates a command is supported. ns - Indicates a command is not supported.
Series
Series
SOFT FONT CREATION
MACROS
PRINT MODEL IMAGING
✓✓✓✓✓✓✓✓
Series
Series
Series
Series
Series
8500
Series
1-30 Printer Features ENWW
Table 1-1C. PCL 5 Feature Support Matrix (continued)
1100
2100
4000
4500
5000
8000
8100
FUNCTION COMMAND
Raster Resolution ?*t#R
75 Dots/Inch (75) ✓✓✓✓✓✓✓✓
100 Dots/Inch (100) ✓✓✓✓✓✓✓✓
150 Dots/Inch (150) ✓✓✓✓✓✓✓✓
200 Dots/Inch (200)1 ✓✓✓✓✓✓✓✓
300 Dots/Inch (300) ✓✓✓✓✓✓✓✓
600 Dots/Inch (600) Graphics Presentation ?*r#F ✓✓✓✓✓✓✓✓ Raster Height (Source) ?*r#T ✓✓✓✓✓✓✓✓ Raster Height (Destination) ?*t#V ns ns ns 3 ns ns ns 3 Raster Wi dth (Source) ?*r#S ✓✓✓✓✓✓✓✓ Raster Width (Destination) ?*t#H ns ns ns ns ns ns Scale Algorithm ?*t#K ns ns ns ns ns ns ns Start Raster Graphics ?*r#A
At logical page left limit(0) ✓✓✓✓✓✓✓✓
At CAP (1) ✓✓✓✓✓✓✓✓
At logic. page left limit,
scaling ON (2)
At CAP, scaling ON (3) ns ns ns ns ns ns Y Offset ?*b#Y ✓✓✓✓✓✓✓✓ Set Compression Mode ?*b#M
Unencoded (0) ✓✓✓✓✓✓✓✓
Run-Length Encoded (1) ✓✓✓✓✓✓✓✓
TIFF Encoded (2) ✓✓✓✓✓✓✓✓
Delta Row Encoded (3) ✓✓✓✓✓✓✓✓
Mode 5 Adaptive (5) ✓✓✓✓✓✓✓✓
Replacement Delta Row (9) ns ns ns ns ns ns ns ns Transfer Raster (Row/Block) ?*b#W[data] ✓✓✓✓✓✓✓✓ Transfer Ra ster (Plane) ?*b#V[data] ns ns ns 3 ns ns ns End Graphics
Version B ?*rB ✓✓✓✓✓✓✓✓
Version C (Preferred) ?*rC ✓✓✓✓✓✓✓✓
Indicates a command is supported. ns - Indicates a command is not supported.
1
Supported if printer resolution is 600 dpi.
1
Series
Series
Series
Series
Series
RASTER GRAPHICS
✓✓✓✓✓✓✓✓
ns ns ns ns ns ns
Series
Series
8500
Series
ENWW Printer Features 1-31
Table 1-1C. PCL 5 Feature Support Matrix (continued)
1100
2100
4000
4500
5000
8000
8100
FUNCTION COMMAND
RECTANGULAR AREA FILL
Horizontal Rectangle Size ?*c#A ✓✓✓✓✓✓✓✓
?*c#H ✓✓✓✓✓✓✓✓
Vertical Rectangle Size ?*c#B ✓✓✓✓✓✓✓✓
?*c#V ✓✓✓✓✓✓✓✓
Pattern ID (Area Fill ID) ?*c#G
1-100 for Shading ✓✓✓✓✓✓✓✓
1-6 for Cross-hatch ✓✓✓✓✓✓✓✓
0-32767 for User-defined ✓✓✓✓✓✓✓✓ Fill Rectangle Area ?*c#P
Black (solid) (0) ✓✓✓✓✓✓✓✓
(Solid) White (erase) (1) ✓✓✓✓✓✓✓✓
Shaded (gray) (2) ✓✓✓✓✓✓✓✓
Cross-hatch Pattern (3) ✓✓✓✓✓✓✓✓
User-defined Pat tern (4) ✓✓✓ ✓✓✓✓✓
Current Pattern (5) ✓✓✓✓✓✓✓✓
Set Status Readback Location Type
Set Status Readback Location Unit ?*s#U ✓✓✓✓✓✓✓✓ Inquire Status Readback Entity ?*s#I ✓✓✓✓✓✓✓✓ Free Space ?*s1M ✓✓✓ns ✓✓✓✓ Flush All Pages ?&r#F ✓✓✓ns ✓✓✓✓ Echo ?*s#X ✓✓✓✓✓✓✓✓
Indicates a command is supported. ns - Indicates a command is not supported.
?*s#T ✓✓✓✓✓✓✓✓
Series
Series
STATUS READBACK
Series
Series
Series
Series
Series
8500
Series
1-32 Printer Features ENWW
Table 1-1C. PCL 5 Feature Support Matrix (continued)
1100
2100
4000
4500
5000
8000
8100
FUNCTION COMMAND
PICTURE FRAME (for Vector Graphics)
Picture Frame Horiz. Size ?*c#X ✓✓✓✓✓✓✓✓ Picture Frame Vert. Size ?*c#Y ✓✓✓✓✓✓✓✓ Set Picture Frame Anchor Point ?*c0T ✓✓✓✓✓✓✓✓ HP-GL/2 Horiz. Plot Size ?*c#K ✓✓✓✓✓✓✓✓ HP-GL/2 Vert. Plot Size ?*c#L ✓✓✓✓✓✓✓✓ Enter HP-GL/2 ?%#B
_Stand-alone plotter (-1) ns ns ns ns ns ns ns ns
_Previous HP-GL (0) ✓✓✓✓✓✓✓✓
_Current PCL CAP (1) ✓✓✓✓✓✓✓✓
_Current PCL coordinates and
old HP-GL/2 (2)
_Current PCL coordinates and
current CAP (3)
Enter PCL Mode ?%#A ✓✓✓✓✓✓✓✓
Display Functions
On ?Y ✓✓✓✓✓✓✓✓
Off ?Z ✓✓✓✓✓✓✓✓ End-Of-Line Wrap ?&s#C ✓✓✓✓✓✓✓✓
Indicates a command is supported. ns - Indicates a command is not supported.
Series
Series
ns ns ns ns ns ns ns ns
ns ns ns ns ns ns ns ns
PROGRAMMING HINTS
Series
Series
Series
Series
Series
8500
Series
ENWW Printer Features 1-33
Table 1-1C. PCL 5 Feature Support Matrix (continued)
1100
2100
4000
4500
5000
8000
FUNCTION COMMAND
PCL 5 COLOR COMMANDS
Assign Color Index ?*v#I ns ns ns ns ns ns Color Component 1 ?*v#A ns ns ns ns ns ns Color Component 2 ?*v#B ns ns ns ns ns ns Color Component 3 ?*v#C ns ns ns ns ns ns Color Lookup Tables ?*l#W[data] ns ns ns ns ns ns ns Configure Image Data ?*v#W[data] ns ns ns Download Dither Matrix ?*m#W ns ns ns ns ns ns ns Driver Function Config. ?*o3W643 ns ns ns ns ns ns ns
?*o3W646 ns ns ns ns ns ns ns ?*o3W647 ns ns ns ns ns ns ns
Foreground Color ?*v#S ns ns ns ns ns ns Gamma Correction ?*t#I ns ns ns ns ns ns ns Monochrome Print Mode ?&b#M ns ns ns ns ns ns Palette Control ID ?&p#I ns ns ns ns ns ns Palette Control ?&p#C ns ns ns ns ns ns Push/Pop Palette ?*p#P ns ns ns ns ns ns Render Algorithm ?*t#J
Range: 0 - 8 ns ns ns 0,3
Range: 9 - 10 ns ns ns ns ns ns ns
Range: 11 - 14 ns ns ns ns ns ns ns
Range: 15 - 19 ns ns ns 15,18
Select Palette ?&p#S ns ns ns ns ns ns Set Viewing Illuminant ?*i#W[data] ns ns ns ns ns ns ns Simple Color ?*r#U ns ns ns ns ns ns
Indicates a command is supported. ns - Indicates a command is not supported.
1
The HP LaserJet 4500 Series printers do not support Luminance-Chrominance and CIE Lab , the long fo rm of RGB/CMY, and the long form
of cRGB
Series
Series
Series
Series
Series
1
ns ns ns
ns ns ns
only
ns ns ns
only
Series
8100
Series
Series
8500
1-34 Printer Features ENWW
Table 1-1C. PCL 5 Feature Support Matrix (continued)
1100
2100
4000
4500
5000
8000
8100
FUNCTION COMMAND
HP-GL/2—Commands listed in Table A-2 except as shown below
Advance Full Page PG ✓✓✓ns ✓✓✓ns Bezier BR, BZ ✓✓✓✓✓✓✓✓ Begin Plot BP ns ns ns ns ns ns ns ns Chord Tolerance Mode CT ns ns ns ns ns ns ns ns (Relative) Color Range CR ns ns ns ns ns ns Download Character DL nsnsnsnsnsnsnsns Fill Type FT
Odd/Even ✓✓✓✓✓✓✓✓
Non-Zero Winding ✓✓✓✓✓✓✓✓ Frame Advance FR nsnsnsnsnsnsnsns Label origin LO
1-9 / 11-19 ✓✓✓✓✓✓✓✓
21 ✓✓✓✓✓✓✓✓ Media Type MT ns ns ns ns ns ns ns ns Merge Control MC ✓✓✓✓✓✓✓✓ Number of Pens NP ns ns ns ns ns ns Output Error OE nsnsnsnsnsnsnsns Output Hardcopy Limits OH ns ns ns ns ns ns ns ns Output Identification OI ns ns ns ns ns ns ns ns Output P1 and P2 OP ns ns ns ns ns ns ns ns Output Status OS ns ns ns ns ns ns ns ns Pen Color Assignment PC ns ns ns ns ns ns Pixel Placement PP ✓✓✓✓✓✓✓✓ Plot Size PS ns ns ns ns ns ns ns ns Quality Level QL nsnsnsnsnsnsnsns Replot RP ns ns ns ns ns ns ns ns
Indicates a command is supported. ns - Indicates a command is not supported.
Series
Series
HP-GL/2 GRAPHICS
✓✓✓✓✓✓✓✓
Series
Series
Series
Series
Series
8500
Series
ENWW Printer Features 1-35

Printable Area

The relationships between physical page, logical page, default picture frame, and printable area are illustrated in Figures 1-1 and 1-2. The tables list the variations in sizes for the different physical page sizes. For more information concerning printable area or logical/physical page differences, consult the PCL 5 Printer Language Technical Reference Manual.
1-36 Printer Features ENWW
DIMENSIONS (in dots at 300 DPI - double for 600 DPI)
PAPER SIZEABCDEFGH
Portrait Dimensi ons
Letter 2550 3300 2400 3300 75 0 50 150 Legal 2550 4200 2400 4200 75 0 50 150 Ledger 3300 5100 3150 5100 75 0 50 150 Executive 2175 3150 2025 3150 75 0 50 150 A4 2480 3507 2338 3507 71 0 50 150 A3 3507 4960 3365 4960 71 0 50 150 Com-10 1237 2850 1087 2850 75 0 50 150 Monarch 1162 2250 1012 2250 75 0 50 150 C5 1913 2704 1771 2704 71 0 50 150 B5 2078 2952 1936 2952 71 0 50 150 DL 1299 2598 1157 2598 71 0 50 150 JIS B4 3035 4299 2893 4299 71 0 50 150 JIS B5 2149 3035 2007 3035 71 0 50 150 Hagaki 1181 1748 1039 1748 71 0 50 150 Oufuku-hagaki 1748 23 62 1606 2362 71 0 50 150
Figure 1-1 Portrait Logical Page and Printable Area Boundaries
ENWW Printer Features 1-37
DIMENSIONS (in dots at 300 DPI - double for 600 DPI)
PAPER SIZE ABCDEFGH
Portrait Dimensi ons
Letter 2550 3300 2400 3300 75 0 50 150 Legal 2550 4200 2400 4200 75 0 50 150 Ledger 3300 5100 3150 5100 75 0 50 150 Executive 2175 3150 2025 3150 75 0 50 150 A4 2480 3507 2338 3507 71 0 50 150 A3 3507 4960 3365 4960 71 0 50 150 Com-10 1237 2850 1087 2850 75 0 50 150 Monarch 1162 2250 1012 2250 75 0 50 150 C5 1913 2704 1771 2704 71 0 50 150 B5 2078 2952 1936 2952 71 0 50 150 DL 1299 2598 1157 2598 71 0 50 150 JIS B4 3035 4299 2893 4299 71 0 50 JIS B5 2149 3035 2007 3035 71 0 50 Hagaki 1181 1748 1039 1748 71 0 50 150 Oufuku-hagaki 1748 2362 1606 2362 71 0 50 150
Figure 1-2 Landscape Logical Page and Printable Area Boundaries
1-38 Printer Features ENWW
Printer-Specific
2
Differences

Introduction

Each Hewlett-Packard printer implements minor variations of PCL 5 in order to best suit its intended use. This chapter describes specific differences that are important when developing applications for the various PCL 5 printers. The sections in this chapter describe such information as new commands not contained in the PCL 5 Printer Language Technical Reference Manual, and other misc ell an eou s differences in PCL operation particular to that printer.
Note For information about products newer than those included in this
book, see the PCL5 Comparison Guide Addendum, which includes product-specific information about newer products, as well as commands and variables added to support these newer products.

HP LaserJet III and IIID Printers

With the introduction of the HP LaserJet III printer, Hewlett-Packard introduced the PCL 5 printer language. The PCL 5 printer language incorporated many new features over the PCL 4 language. A few of the more significant features included such things as the addition of a scalable font technology, HP-GL/2 vector graphics language support, print model features, raster graphics enhancements, and the Print Direction command.
The HP LaserJet IIID printer language support is basically identical to the HP LaserJet III printer except for the addition of the duplex feature, dual input bin, envelope feeder support and their associated commands (see Table 1-1).
ENWW Printer-Specific Differ ences 2-1

HP LaserJet IIISi Printer

Several new PCL features were added to the PCL 5 language with the release of the HP LaserJet IIISi printer. These new features are summarized in Table 2-1 below.
Table 2-1. PCL Feature Additions for HP LaserJet IIISi Printer
Feature Status Comments
Number of Copies Modified Greater range, 1 to 32,767. Page Size Modified C5 Envelopes not supported. Output Bin Selection
Command End Raster Graphics
Command Job Separation New Command Causes the paper stacker to shift
Fonts New Additions Four variations of Univers
New Allows programmatic selection of
upper or lower output paper bins.
New/Modified Modified version of the existing End
Raster Graphics command.
positions to offset the output paper stack.
Condensed; ITC Zapf Dingbats in five symbol sets.

HP LaserJet IIIP Printer

Several new PCL features were added to the PCL 5 language with the release of the HP LaserJet IIIP printer. These new features are summarized in Table 2-2. One new feature listed here is adaptive compression (method 5) for the Raster Compression Mode command. In addition to compressing data for transmission, if certain rules are followed (discussed below), the HP LaserJet IIIP printer will store adaptive compressed data in compressed format and only decompress it when required for printing. There are certain requirements which must be met for this data to be stored in compressed format. These requirements are discussed following Table 2-2.
2-2 Printer-Specific Differences ENWW
Table 2-2. HP LaserJet IIIP PCL Feature Additions
Feature/Command Status Comments
Set Compression Method Modified Adds Adaptive Compression method to the
Set Compression Method command.
End Raster Graphics Command
Modified Modified version of the End Raster
Graphics command.
User-defined Patterns New Enables users to define and download
their own user-defined pattern.
User-defined Pattern Command
Set Pattern Reference Point
New Feature
Used to download the binary data for user-defined pattern.
New Sets pattern reference point.
Command Pattern Control Command New Used to make user-defined patterns
permanent or temporary, or to delete them.
Select Pattern & Fill Rectangular Area
Modified Adds a parameter to support user-defined
patterns.
Commands Pattern ID Command Modified In addition to selecting internal patterns,
this command is now used to assign an ID to a user-defined pattern as well as to select patterns. Also, parameter range is extended from 100 to 32,767.
User-defined Symbol Sets New
Feature
Define Symbol Set
New Identifies the characters for a user-defined
Command
Enables user to build a symbol set which contains user-selected characters.
symbol set.
Symbol Set ID Code Command
Symbol Set Cont rol Command
Unbound Scalable Fonts New
New Assigns a number for identification to the
user-defined symbol set.
New Used to make user-defined symbol sets
permanent or temporary, or to delete them. Allows typefaces (unbound fonts), not just
Feature
fonts (bound fonts) to be downloaded to the printer.
Unbound Scalable Font Descriptor
ENWW Printer-Specific Differ ences 2-3
New Addition of a new header used for unbound
fonts (font type 10).

Raster Graphics Adaptive Compression (IIIP)

Adaptive compression was added to the PCL language with the introduction of the HP LaserJet IIIP printer. Adaptive compression (or method 5 as it is referred to) is a method for compressing raster data using the raster Set Compression Method command (parameter value 5). (Refer to the Set Compression Method command in the PCL 5 Printer Language Technical Reference manual for detailed information on using this compression technique.) Also, refer to Chapter 5 in this document, “Raster Graphics Adaptive Compression (Method 5)” for additional information.

HP LaserJet 4 Printer

Several new PCL features were added to the PCL 5 language with the release of the HP LaserJet 4 printer. These new features are summarized in Table 2-3. Most of these features are described in the revised PCL 5 Printer Language Technical Reference Manual (part number 5961-0509). (This revised technical reference manual is supplied as part of the Technical Reference Documentation Package which can be obtained by ordering part number 5961-0601.) In addition, there are some additional differences for the HP LaserJet 4 printer that are not covered in the technical reference manual but are described below.
Note The HP LaserJet 4M printer, in addition to PCL, contains PostScript
and a LocalTalk I/O for printing in the Macintosh environment. PCL operation and the PCL internal fonts for this printer are identical to the HP LaserJet 4 printer. Thus, for PCL information for the HP LaserJet 4M printer, refer to the HP LaserJet 4 printer features.
2-4 Printer-Specific Differences ENWW
Table 2-3. PCL Feature Additions for HP LaserJet 4
Feature/Command Support Comments
Adaptive Compression System N ew Adaptive compression system enables the printer to
Configuration Command New Allows PCL jobs to be printed (using LocalTalk or
Number of Copies Modified Supports 1-32,767 copies as does the HP LaserJet IIISi
Units of Measure Command New Allows selection of the units of measure for cursor
Page Size Modified A parameter value is added for B5 enve lope size; the
Bitmap Font Support New Header Printer will expand 300 dpi bitmap fonts to 600 dpi. A
Scalable Font Support New Header A new Universal header has been added to allow
T rueType New TrueType scaling technology support has been added to
Internal Typefaces New Sev eral new Intellifont and TrueType internal typef ac es
Raster Resolution Command Modified Parameter values ha ve been added to support raster
User-defined Pattern New Header A new 300/600 dpi user-defined pattern header has
Continued on next page.
compress internal raster data when memory becomes low. This operation occurs automatically; there are no PCL commands for this feature (refer to Chapter 5 for ADC information).
EtherTalk MIO) using AppleT alk protocol.
printer.
moves, drawing rules, and for character spacing (font metrics).
HP LaserJet 4 printer supports the four standard paper sizes and five envelope sizes.
new 300/600 dpi bitmap font descriptor has been added to allow bitmap fonts to be created that work at either 1/300 or 1/600 inch printer resolution.
design of typefaces of different scaling technologies to be supported by one header. This header is used to support TrueType on the HP LaserJet 4 printer. (This header will be used to support any other new scaling technologies HP may add in the future).
the printer.
(and supporting symbol sets) are now provided in the printer.
resolutions of 200 dpi and 600 dpi.
been added to support patterns that work at either 1/300 or 1/600 inch printer resolution.
ENWW Printer-Specific Differ ences 2-5
Table 2-3. PCL Feature Additions for HP LaserJet 4 (continued)
Feature/Command Support Comments
Status Readback New Feature The addition of 6 new status readback commands
Location Type Command New Used to specify a status readback type of location
Location Unit Command New Specifies a status readback location unit (all,
Inquire Entity Command New Requests the status from the location (type and unit)
Flush All Pages Command New Allows the user to clear page data from printer
Free Memory Command New This command returns the current available memory. Echo Command New Allows the user to send a unique ID number to the
Bezier Curve Commands New HP-GL/2 commands (relative and absolute) that allow
Label Origin Modified Label position LO 21 is provided for correct alignment
Fill Polygon Modified Previously, the HP-GL/2 Fill Polygon command filled
Macros Modified HP-GL/2 is now supported in macros. Configuration Command New Added to allow the user to communicate with the MIO
enable the user to receive certain information back from the printer about fonts, symbol sets, macros, user-defined patterns, and available memory.
(current, all, internal, downloaded, cartridge, SIMMs).
temporary or permanent, highest-lowest priority, specific SIMM).
specified for fonts, symbol sets, macros, or user-defined patterns.
memory.
printer to be used as a “place holder.”
a user to draw complex curves with less data required than that required for arcs.
of HP-GL/2 text with PCL text.
polygons using the odd/even fill technique. A second technique, non-zero winding fill, has been added.
card in the printer.
2-6 Printer-Specific Differences ENWW
Configuration Command (AppleTalk)
The Configuration command allows a user to send PCL jobs to the printer over AppleT alk. This data is sent in the form of “key/value” data pairs (refer to “AppleTalk Configuration” below for more information).
?&b#W [key]<sp>[value]
# = Number of data bytes that follow command
Default =0
Range = 0 - 32767
[key] can be 1 character through 32765 characters. [value] can be 1 character through 32765 characters.
AppleTalk Configuration
The HP LaserJet 4 printer can be configured to receive PCL print jobs over an AppleTalk connection using the Configuration command. The HP LaserJet 4 MIO AppleTalk interfaces support three key values: RENAME, JOB, and TYPE. These keys are used for configuring an installed LocalTalk or EtherTalk MIO card to allow PCL print jobs generated by a Macintosh host to be printed.
ENWW Printer-Specific Differ ences 2-7
Note PostScript in the HP LaserJet 4 printer supports the PostScript level 1
operators setprintername, AppleTalktype, and jobname, and the PostScript level 2 setdevparams operator to allow PostScript print jobs to change the Name Binding Protocol (NBP) printer name and printer type, as well as change the print job name.
MIO sub-system in the printer accepts a new NBP printer name, NBP printer type, and job name from either the PCL or PostScript personalities. The printer passes that information across the MIO interface to the installed MIO card which indicated support for the MIO AppleTalk extensions. The MIO sub-system will treat the PCL NBP type and the PostScript NBP type separately.
For information about AppleTalk Name Binding Protocol refer to Inside AppleTalk published by Addison Wesley Company, Inc.
RENAME
RENAME changes the printer name portion of the printer’s AppleTalk Name Binding Protocol name field.
?&b#WRENAME<sp>printername
Valid characters for the printer name include 0-255 except for characters $00, “@” ($40), “:” ($3A), “*” ($2A), “=” ($3D), and $C5. The printername must contain at least one character, and only the first 31 characters are used. If an invalid character ($00 is not treated as an invalid character) is contained in the printername, the printer will ignore the escape sequence. If the printer encounters the NULL ($00) character, the printer uses the NULL character to terminate the printer name. All the characters preceding the NULL will be used. If another device on the AppleTalk network uses the same printer name, another character is added to the end of the printer name.
The default printername is the printer model (for example, “HP LaserJet 4”).
2-8 Printer-Specific Differences ENWW
JOB
JOB renames the current job name.
?&b#WJOB<sp>jobname
All characters are valid. For the job name the first 127 characters are used.
There is no default jobname.
TYPE
TYPE changes the type (device type) portion of the printer’s AppleTalk Name Binding Protocol type field.
?&b#WTYPE<sp>devicetype
Valid characters for the device type include 0-255 except for characters $00, “@” ($40), “:” ($3A), “*” ($2A), “=” ($3D), and $C5. The devicetype must contain at least one character, and only the first 31 characters are used. If an invalid character ($00 is not treated as an invalid character) is contained in the devicetype, the printer will ignore the escape sequence. If the printer encounters the NULL ($00) character in the devicetype, it uses the NULL character to terminate the device type. All the characters preceding the NULL will be used as the devicetype. If the device type is invalid then the printer's type is not changed.
The default device type for PCL is “HP LaserJet 4” and for PostScript is “LaserWriter”.
ENWW Printer-Specific Differ ences 2-9

HP LaserJet 4Si Printer

The HP LaserJet 4Si printer is the follow-on to the HP LaserJet IIISi printer. The HP LaserJet 4Si printer contains many new PCL features over the HP LaserJet IIISi. PCL support for the HP LaserJet 4Si printer is identical to the HP LaserJet 4 printer except for the addition of the duplex feature, dual output bin (see Table 1-1) and resource saving.
Like the HP LaserJet IIISi printer, the HP LaserJet 4Si supports the HP LaserJet IIISi features listed in Table 2-1 with two exceptions. First, is that the HP LaserJet 4Si does not support ITC Zapf Dingbats. Font s up p ort for the HP LaserJet 4 Si is identic al t o t h e HPLaserJet 4 printer (refer to Chapter 3, “Internal T ypefaces/Fonts and Symbol Sets,” for complete font support information). The other exception concerns job separation. The PCL Job Separation command is not supported. The HP LaserJet 4Si printer handles job separation through the control panel. If a PCL Job Separation command is received by the printer it will be ignored. Refer to the HP LaserJet 4Si User’s Manual (part number C2010-90901) for additional information.
Resource saving, a new feature in the HP LaserJet 4Si printer, allows saving information for the current language (PCL or PostScript) when switching to the other language. If resource saving is enabled (from the control panel or PJL; no PCL commands are required for this operation), all the permanent fonts, macros, and user-defined patterns plus some other miscellaneous data is saved in a reserved portion of printer memory. This data is stored until the language is enabled again. When the language is re-enabled, the stored data will be made a vailable for use.
2-10 Printer-Specific Differenc es ENWW

HP LaserJet 4L Printer

The HP LaserJet 4L printer is a smaller, low-cost HP LaserJet printer. The control panel on this printer is limited to one button with four indicators. Many of the control panel functions must be controlled programmatically using Hewlett-Packard’s Printer Job Language (refer to the Printer Job Language Technical Reference Manual, part number 5021-0380 for detailed PJL information).
The HP LaserJet 4L printer PCL command features are identical to those of the HP LaserJet 4 printer PCL features, except for some differences in parameter values (such as for paper source—refer to Table 1-1). Additional features which do not require PCL command control include EconoMode and HP Memory Enhancement technology (MEt). EconoMode causes the printer to print less dots, thus saving toner. Memory Enhancement technology involves some memory saving techniques to better utilize available memory (refer to Chapter 5, “Memory Usage” for additional information).
Typefaces in the HP LaserJet 4L printer are different from those of the HP LaserJet 4 printer. The HP LaserJet 4 printer contains both Intellifont and TrueType scaling technologies, but the 4L contains only Intellifont scaling technology. T hus, the 4L does not contain any of the TrueType typefaces, with one modification. The TrueType Wingdings typeface has been converted to Intellifont format and is available in the printer as an Intellifont typeface (refer to Chapter 3, “Internal Typefaces/Fonts and Symbol Sets” for additional information). The Line Printer bitmap font is not present on the HP LaserJet 4L printer.
ENWW Printer-Specific Differences 2-11

HP LaserJet 4ML Printer

The HP LaserJet 4ML printer is similar to the HP LaserJet 4L printer, however, the 4ML includes PostScript and a LocalTalk I/O for printing in the Macintosh environment. The HP LaserJet 4ML printer also includes some new PCL features: print model logical operation (ROP3) and pixel placement, as described on the following pages.
The HP LaserJet 4ML supports the typefaces that the HP LaserJet 4 printer supports. Several of the typefaces in the HP LaserJet 4ML printer have additional support for the Latin 2 and Latin 5 symbol sets (refer to Chapter 3, “Internal Typefaces/Fonts and Symbol Sets,” for complete font support information). The Line Printer bitmap font is not present on the HP LaserJet 4L printer.
Table 2-4. PCL Feature Additions for HP LaserJet 4ML
Feature Status Comments
Paper (Job) Size Command
Logical Operations New Modifies the print model to allow logical
Pixel Placement (PCL) New Allows user to select either grid intersection
Pixel Placement (HP-GL/2)
Merge Control New Allows the user to use logical operations
Modified An additional parameter (101) has been
added to provide support for custom size.
operations (such as AND, OR, XOR, NOT) to be performed on source, texture, and destination.
or grid centered placement of pixels when rendering an image in PCL.
New Allows user to select either grid intersection
or grid centered placement of pixels when rendering an image in HP-GL/2.
(ROP’s) in HP-GL/2.
2-12 Printer-Specific Differenc es ENWW

Logical Operations

With the introduction of the HP LaserJet 4ML printer the print model was expanded to include logical operations.
The basic print model defines how a pattern, source image, and destination image are applied to each other using the print model’s transparent and opaque modes to produce a resulting image (refer to the PCL 5 Printer Language Technical Reference Manual for detailed information about the basic print model operation). The Logical Operations ( AND, OR, XOR, NOT) to any of these operands except transparency, which must be specified first.
The print model process consists of the following steps:
1 Specify source and/or pattern transparency modes, if desired. 2 Specify the logical operation (or use the default). 3 Define the desired operands (source, destination, pattern).
Definitions
?*l#O) command can apply logical functions (e.g.,
Source: The source image may be one of the following:
• HP-GL/2 primitives
• Rules
• Characters
• Raster images (single plane mask or multiplane color)
Destination: The destination image contains whatever is currently defined on the page. It includes any images placed through previous operations.
Pattern or Texture: The pattern is defined by Current Pattern (
?*v#T). The terms pattern and texture are used interchangeably in
this section. Transparency Modes: The white pixels of the source and/or pattern
may be made transparent (source transparency 0, pattern transparency 0). The destination shows through these areas.
Transparency modes are set by the Source Transparency ( and Pattern Transparency ( Printer Language Technical Reference Manual).
ENWW Printer-Specific Differences 2-13
?*v#O) commands (refer to the PCL 5
?*v#N)
The print model allows logical operations, such as AND, OR, XOR, NOT, to be performed on source, texture, and destination images. Transparency modes and Logical Operation must be specified before printable data is sent.
Operators
• Source Transparency (specified before logical operation; default is transparent)
• Pattern Transparency (specified before logical operation; default is transparent)
• Logical Operators (default is Texture OR Source)
Operands
• Source objects: character cell, raster image, rule, HP-GL/2 vectors and polygons
• Texture: pattern mask
• Destination: current page definition
Assuming three bits per pixel, the following diagram shows the print model process.
Note The Logical Operation command (?*l#O) provides 255 possible
logical operations. All of these logic operations map directly to their ROP3 (raster operation) counterparts (see the Microsoft Document, Reference, Volume 2, Chapter 11, Binary and Ternary Raster Operation Codes).
The logical operations were defined by Microsoft Windows for an RGB color space (a “1” is white and a “0” is black).
2-14 Printer-Specific Differenc es ENWW

Logical Operations and Transparency Interactions

As described above, transparency modes operate in addition to logical operations. The logical operations in Table 2-5, Logical Operations (ROP3), on the following pages, are true only if source and pattern transparency (for white pixels) are explicitly set to opaque (
?*v1N and ?*v1O). If source and/or pattern transparency modes
are transparent (defaulted), the additional operations shown on the following page must be performed to achieve the final result.
The four basic interactions are:
Case 1: Source and Pattern are opaque. Return ROP3 (Dest, Src, Texture).
Case 2: Source is opaque, Pattern is transparent. Temporary_ROP3 = ROP3 (Dest, Src, Texture).
Image_A = Temporary_ROP3, & Not Src. Image_B = Temporary_ROP3 & Pattern. Image_C = Not Pattern & Src & Dest. Return Image_A | Image_B | Image_C
Case 3: Source is transparent, Pattern is opaque. Temporary_ROP3 = ROP3 (Dest, Src, Texture).
Image_A = Temporary_ROP3 & Src. Image_B = Dest & Not Src. Return Image_A | Image_B
Case 4: Source and Pattern are transparent Temporary_ROP3 = ROP3 (Dest, Src, Texture).
Image_A = Temporary_ROP3 & Src & Pattern. Image_B = Dest & Not Src. Image_C = Dest & Not Pattern. Return Image_A | Image_B | Image_C.
ENWW Printer-Specific Differences 2-15

Logical Operation Command

Specifies the logical operation to be performed in RGB color space on the destination, source and texture to produce new destination data.
?*l#O
# = Logical operation value (see Table 2-6)
Default = 252 (TSo)
Range = 0 to 255
Note When source and/or pattern transparency modes are set opaque (not
defaulted), values specified by this command map directly to the ROP3 (raster operation) table values on the following page. However, when source and/or pattern transparency modes are set transparent, the additional operations shown on the previous page must be performed to achieve the final result.
Logical operations in the table are shown in RPN (reverse polish notation). For example, the value 225 corresponds to TDSoxn, the logical function of
NOT (texture XOR (source OR destination))
Note This command is the PCL Version of the HP-GL/2 MC command.
This command sets the ROP value which affects not only PCL operation but also the HP-GL/2 ROP value.
2-16 Printer-Specific Differenc es ENWW
Example:
The Logical Operation default value is 252 (TSo), corresponding to a logical function of:
(texture | source) The result is computed below for both case 1 (source and pattern
opaque) and case 4 (source and pattern transparent) on the previous page. Note that the ROP3 value of 252 results only with case 1, when both source and pattern transparency modes are set to opaque.
Table 2-5. Logical Operation (ROP3)
Bits
7 6 5 4 3 2 1 0
Texture 1 1 1 1 0 0 0 0 Source 1 1 0 0 1 1 0 0 Destination 1 0 1 0 1 0 1 0 ROP3 (source & pattern are opaque) 11111100
(decimal 252)
ROP3 Transparencies (source & pattern are transparent)
Each column of destination, source, and texture values are the input to the logical function. The result, 252, is the value that would be sent to identify the logical operation (source and pattern transparency modes are opaque). The last row, “ROP3 + Transparencies (source & pattern are transparent)” shows the result if source and pattern transparency modes are transparent (the default transparency mode).
11101010
ENWW Printer-Specific Differences 2-17
Table of Logical Operations
Table 2-6, Logical Operations (ROP3), shows the mapping between input values and their logical operations. Note that the logical operations are specified as RPN (reverse polish notation) equations. Here is a key to describe what the Boolean Function values mean;
S = Source a = AND T = Texture o = OR D = Destination n = NOT
x = EXCLUSIVE OR
Note Since logical operations are interpreted in RGB space (white = 1 and
black = 0) rather than in CMY space (white = 0 and black = 1), the results may not be intuitive. For e xample, ORing a white object with a black object in RGB space yields a white object. This is the same as ANDing the two objects in CMY space. It must be remembered that the printer operates in something similar to a CMY space and inverts the bits and reverses the order.
2-18 Printer-Specific Differenc es ENWW
Table 2-6. Logical Operations (ROP3)
Input Value Boolean Function Input Value Boolean Function
0 0 27 SDTSxaxn 1 DTSoon 28 TSDTaox 2 DTSona 29 DSTDxaxn 3 TSon 30 TDSox 4 SDTona 31 TDSoan 5DTon32DTSnaa 6 TDSxnon 33 SDTxon 7 TDSaon 34 DSna 8 SDTnaa 35 STDnaon
9 TDSxon 36 STxDSxa 10 DTna 37 TDSTanaxn 11 TSDnaon 38 SDTSaox 12 STna 39 SDTSxnox 13 TDSnaon 40 DTSxa 14 TDSonon 41 TSDTSaoxxn 15 Tn 42 DTSana 16 TDSona 43 SSTxTDxaxn 17 DSon 44 STDSoax 18 SDTxnon 45 TSDnox 19 SDTaon 46 TSDTxox 20 DTSxnon 47 TSDnoan 21 DTSaon 48 TSna 22 TSDTSanaxx 49 SDTnaon 23 SSTxDSxaxn 50 SDTSoox 24 STxTDxa 51 Sn 25 SDTSanaxn 52 STDSaox 26 TDSTaox 53 STDSxnox
ENWW Printer-Specific Differences 2-19
Table 2-6. Logical Operations (ROP3) continued
Input Value Boolean Function Input Value Boolean Function
54 SDTox 81 DSTnaon 55 SDToan 82 DTSDaox 56 TSDToax 83 STDSxaxn 57 STDnox 84 DTSonon 58 STDSxox 85 Dn 59 STDnoan 86 DTSox 60 TSx 87 DTSoan 61 STDSonox 88 TDSToax 62 STDSnaox 89 DTSnox 63 TSan 90 DTx 64 TSDnaa 91 DTSDonox 65 DTSxon 92 DTSDxox 66 SDxTDxa 93 DTSnoan 67 STDSanaxn 94 DTSDnaox 68 SDna 95 DTan 69 DTSnaon 96 TDSxa 70 DSTDaox 97 DSTDSaoxxn 71 TSDTxaxn 98 DSTDoax 72 SDTxa 99 SDTnox 73 TDSTDaoxxn 100 SDTSoax 74 DTSDoax 101 DSTnox 75 TDSnox 102 DSx 76 SDTana 103 SDTSonox 77 SSTxDSxoxn 104 DSTDSonoxxn 78 TDSTxox 105 TDSxxn 79 TDSnoan 106 DTSax 80 TDna 107 TSDTSoaxxn
2-20 Printer-Specific Differenc es ENWW
Table 2-6. Logical Operations (ROP3) continued
Input Value Boolean Function Input Value Boolean Function
108 SDTax 135 TDSaxn 109 TDSTDoaxxn 136 DSa 110 SDTSnoax 137 SDTSnaoxn 111 TDSxnan 138 DSTnoa 112 TDSana 139 DSTDxoxn 113 SSDxTDxaxn 140 SDTnoa 114 SDTSxox 141 SDTSxoxn 115 SDTnoan 142 SSDxTDxax 116 DSTDxox 143 TDSanan 117 DSTnoan 144 TDSxna 118 SDTSnaox 145 SDTSnoaxn 119 DSan 146 DTSDToaxx 120 TDSax 147 STDaxn 121 DSTDSoaxxn 148 TSDTSoaxx 122 DTSDnoax 149 DTSaxn 123 SDTxnan 150 DTSxx 124 STDSnoax 151 TSDTSonoxx 125 DTSxnan 152 SDTSonoxn 126 STxDSxo 153 DSxn 127 DTSaan 154 DTSoaxn 128 DTSaa 155 SDTSoaxn 129STxDSxon156 STDnax 130DTSxna157DSTDoaxn 131 STDSnoaxn 158 DSTDSaoxx 132SDTxna159TDSxan 133 TDSTnoaxn 160 DTa 134 DSTDSoaxx 161 TDSTnaoxn
ENWW Printer-Specific Differences 2-21
Table 2-6. Logical Operations (ROP3) continued
Input Value Boolean Function Input Value Boolean Function
162 DTSnoa 189 SDxTDxan 163 DTSDxoxn 190 DTSxo 164 TDSTonoxn 191 DTSano 165TDxn192 TSa 166 DSTnax 193 STDSnaoxn 167 TDSToaxn 194 STDSonoxn 168 DTSoa 195 TSxn 169DTSoxn196STDnoa 170 D 197 STDSxoxn 171 DTSono 198 SDTnax 172 STDSxax 199 TSDToaxn 173DTSDaoxn200 SDToa 174 DSTnao 201 STDoxn 175DTno202DTSDxax 176 TDSnoa 203 STDSaoxn 177TDSTxoxn204 S 178 SSTxDSxox 205 SDTono 179 SDTanan 206 SDTnao 180 TSDnax 207 STno 181 DTSDoaxn 208 TSDnoa 182 DTSDTaoxx 209 TSDTxoxn 183SDTxan210TDSnax 184 TSDTxax 211 STDSoaxn 185DSTDaoxn212SSTxTDxax 186 DTSnao 213 DTSanan 187DSno214TSDTSaoxx 188 STDSanax 215 DTSxan
2-22 Printer-Specific Differenc es ENWW
Table 2-6. Logical Operations (ROP3) continued
Input Value Boolean Function Input Value Boolean Function
216 TDSTxax 236 SDTao 217 SDTSaoxn 237 SDTxno 218 DTSDanax 238 DSo 219STxDSxan239 SDTnoo 220 STDnao 240 T 221SDno241TDSono 222 SDTxo 242 TDSnao 223 SDTano 243 TSno 224 TDSoa 244 TSDnao 225TDSoxn245 TDno 226 DSTDxax 246 TDSxo 227TSDTaoxn247 TDSano 228 SDTSxax 248 TDSao 229TDSTaoxn249 TDSxno 230 SDTSanax 250 DTo 231 STxTDxan 251 DTSnoo 232 SSTxDSxax 252 TSo 233 DSTDSanaxxn 253 TSDnoo 234 DTSao 254 DTSoo 235DTSxno255 1
ENWW Printer-Specific Differences 2-23

Pixel Placement Command

This command determines how pixels are rendered in images.
?*l # R
# = 0 - Grid intersection
1 - Grid centered
Default =0
Range = 0, 1 (command is ignored for other values)
Two models are used for rendering pixels when an image is placed on paper:
• Grid Intersection Mode l
• Grid Centered Model
This command can be invoked multiple times during a page. It has no effect except to switch the model being used for imaging.
Note The PCL Pixel Placement command determines how pixels are
placed for both PCL and HP-GL/2 operation.
The example shown in Figure 2-1 illustrates the concepts of the two models. Assume a rectangle extends from coordinate position (1,1) to position (3,4). As shown below, each model produces a different result. (Since PCL printers print only at intersections, grid centered pixel placement is implemented as shown on the right.)
2-24 Printer-Specific Differenc es ENWW
Figure 2-1 Pixel Placement
The grid centered model produces a rectangle that is one dot row thinner and one dot row shorter than the grid intersection model. The grid intersection model is the PCL default.
Note The grid centered method is used by Microsoft Windows.
ENWW Printer-Specific Differences 2-25
Placement Variations
PCL and HP-GL/2 (see following pages for HP-GL/2 pixel placement command description) provide two pixel placement modes: grid intersection (the default) and grid centered. Grid intersection places pixels on the intersections of the grid (see Figure 2-2). Grid centered places pixels in the center of the grid. In Figure 2-2, a rectangle extends from position (1,1) to (3,4). The grid centered model produces a rectangle one dot thinner and one dot shorter then the grid intersection model.
When rectangular area fills are used and grid intersection is used, an overlapping of pixels can occur if rectangular area fills are placed adjacent to one another (as shown below). Depending on the raster operation presently in effect, this overlap can produce undesirable results in the final printed image. To avoid this problem, use the grid centered method.
Note Since PCL printers print only at intersections, grid centered is
implemented as shown on the right.
Figure 2-2 Pixel Placement Variations
2-26 Printer-Specific Differenc es ENWW

Pixel Placement Command (HP-GL/2)

The Pixel Placement (PP) command controls how pixels are placed on the layout grid during polygon fills. Two pixel placement modes are grid intersection or grid centered.
PP [mode] ;
Pixel Placement Command (HP-GL/2)
Parameter Format Functional Range Default
mode clamped integer 0 or 1 0 (grid intersection)
mode
0 = grid intersection; device draws pixels centered at grid
intersections (see Figure 2-1).
1 = grid centered; device draws pixels centered inside the boxes
created by the grid (see Figure 2-1).
The command is the HP-GL/2 version of the PCL Pixel Placement command. Whatever mode is selected, using the HP-GL/2 PP command also applies to PCL operation. Likewise the PCL Pixel Placement command also affects HP-GL/2 pixel placement.
Note Microsoft Windows fills polygons based on grid centered method.
This command determines how pixels will be placed for both HP-GL/2 and PCL operation.
The PP command is not defaulted by an IN command.
ENWW Printer-Specific Differences 2-27

Merge Control Command (HP-GL/2)

The Merge Control (MC) command specifies the raster operation (ROP's) to be performed in HP-GL/2. Raster Operations specify how source, destination, and patterns are combined to produce final images. This command supports all 256 Microsoft Windows ternary (ROP3) raster-operation codes.
MC [mode, [opcode] ] ;
Merge Control Command (HP-GL/2)
Parameter Format Functional Range Default
mode clamped integer 0 or 1 0 (ROP 252)
opcode clamped integer 0...255
1
For opcode ROP values refer to Table 2-6, Logical Operation.
mode
0 = opcode value is ignored; printer sets ROP to 252.
1
168, 252
1 = opcode value is used as the ROP value. If no opcode value is
sent, printer sets ROP to 168. If opcode is out of range (some value other then 0-255), the command is ignored and the default ROP of 252 is used. (For example: MC1,60; MC1,60-; MC1,+60; MC1,60+; all set the ROP to 60; however, MC1,-60; or MC1,300; set the ROP to the default value (252).
Note This command is the HP-GL/2 version of the PCL Logical Operation
command. This command sets a ROP value which affects not only HP-GL/2
operation but also the PCL ROP value. The MC command is defaulted by an IN command.
2-28 Printer-Specific Differenc es ENWW
Note When using the MC command, some pattern types will not produce
the expected ROP result. This only occurs when using the FT (Fill Type) command pattern types 1, 2, 3, and 4, and the ROP includes an XOR operation. (This problem is due to the fact that these patterns are the result of a vector operation and do not produce raster data for use by a ROP operation.) All other Fill Type command patterns (types, 10, 11, 21, or 22) operate as expected.
opcode
The operation code (opcode) specifies the logical operations that are performed on a source, destination, and patterned image prior to drawing the final image. The opcodes are created by listing all possible combinations of a single pattern, source and destination pixel, and constructing the desired final pixel values. The following table shows three common opcodes (also see Table 2-6).
Table 2-3. Common Opcodes
Pixel Combinations Desired Destination Values
Pattern Pixel Source Pixel Destination
Pixel 000000 001011 010111 011110 100000 10 1011 110111 111110
Resulting Opcode 204 (0xCC) 238 (0xEE) 102 (0x66)
Source
Overwrite
Transparency
(TR command)
Source
Destination
ENWW Printer-Specific Differences 2-29

HP LaserJet 4P and 4MP Printers

The HP LaserJet 4P printer is the follow-on to the HP LaserJet IIIP printer. The HP LaserJet 4MP printer is the multi-platform (PostScript) version of the 4P printer. PCL operation and the internal fonts in these two printers are identical to that of the HP LaserJet 4ML printer. The 4P and 4MP printers have a control panel unlike the 4L and 4ML printers. Refer to Table 1-1, PCL Feature Support Matrix, for the commands these printers support and to Chapter 3, “Internal Typefaces/Fonts and Symbol Sets,” for font support information.
2-30 Printer-Specific Differenc es ENWW

HP LaserJet 4PJ Printer

The HP LaserJet 4PJ printer is a modified version of the HP LaserJet 4P printer designed specifically for the Japanese market. The enhanced PCL 5 printer language in this printer includes all of the PCL 5 features of the HP LaserJet 4P, plus special features which specifically support the Asian printing market. These features include large font support, support for vertical printing, and the ESC/P printer language. Table 2-8 lists the PCL feature additions for this printer.
Table 2-4. PCL Feature Additions for HP LaserJet 4PJ
Feature Status Comments
Text Parsing Method Command
Character Text Path Direction Command
Font Header Format Modified Adds Font Format 16, a font header which
Fonts New Additions
Page Size Command New Additions Adds support for JIS B5 paper (
New Provides a method for specifying character
codes to select characters in large fonts (> 256 characters).
New Allows vertical printing for Asian markets,
which use both horizontal and vertical printing.
supports large TrueType fonts. Five new font header segments are supported.
The resident typefaces are different than
and Deletions
those in the HP LaserJet 4P printer. Two large fonts (fonts containing a large number of characters) are included to support the Japanese market: MS Mincho and MS Gothic. The printer also contains some Western TrueType typefaces (Arial and Times Roman families). The printer does not have any Intellifont typefaces except the Courier family.
?&l45A)
and two Japanese postcard sizes: Hagaki (
?&l71A) and Oufuku-Hagaki (?&l72A).
Character Enhancements
ENWW Printer-Specific Differences 2-31
New Allows pseudo-bold and pseudo-italic
enhancements to be applied to MS Mincho, MS Gothic, and certain downloaded TrueType fo nts.
Descriptions of the Text Parsing Method Command, Character Text Path Direction Command, and Font Format 16 are provided in the following paragraphs. Following that, a “LaserJet 4PJ Programming Tips” section offers examples and tips for performing specific tasks using PCL 5.

Text Par sing Method Command

The Text Parsing Method command informs the PCL parser whether character codes should be interpreted as 1-byte or 2-byte character codes as described below.
?&t#P
# = 0, 1 - All character codes are processed as one-byte
characters.
21 - Character codes are processed as one-byte or two-byte
characte rs as described below.
31 - Character codes are processed as one-byte or two-byte
characte rs as described below.
38 - Character codes are processed as one-byte or two-byte
characte rs as described below.
Default = 0 or 31 (if the default symbol set is WIN3 1J , th e v a lue is
31; otherwise it is 0)
Range = 0, 1, 21, 31, 38
If the value field is 21, character codes in the range 0x21-0xFF are processed as the first byte of a two-byte character. The following byte is processed as the second byte of the two-byte character. All character codes outside this range are processed as one-byte values. This method can be used for parsing characters in Asian seven-bit encoding specifications, including JIS X0208 (Japan), GB 2312-80 (China), and KS C 5601-1992 (Korea).
If the value field is 31, character codes in the range 0x81-0x9F and 0xE0-0xFC are processed as the first byte of a two-byte character. The following byte is processed as the second byte of the two-byte character. All character codes outside this range are processed as one-byte values. This method can be used for parsing characters in the Shift-JIS encoding specification.
2-32 Printer-Specific Differenc es ENWW
If the value field is 38, character codes in the range 0x80-0xFF are processed as the first byte of a two-byte character. The following byte is processed as the second byte of the two-byte character. All character codes outside this range are processed as one-byte values. This method can be used for parsing Asian eight-bit encoding specifications, such as the Big Five and TCA encoding specifications (Taiwan), and KS C 5601-1992 and GB 2312-80, which can be either 7 or 8 bit.

Character Text Path Direction Command

This command allows the user to vertically rotate text for use in vertical writing applications.
?&c#T
# = 0 - Horizontal printing
-1 - Vertical rotated printing
Default =0
Range =0, 1
?&c0T, the printer’s current active position (CAP) advances
Using left to right, and linefeed advances top to bottom with horizontal, upright characters.
Using
?&c–1T, the following actions occur:
• Full-width characters in large fonts are rotated counter-clockwise 90 degrees (“vertical rotated” characters).
• Vertical sub sti tute s ar e made for characters which ch ange their appearance, orientation, or positioning when written vertically.
• All other characters are unaffected by this setting.
• The vertical-rotated printing mode ( transforming a portrait page with horizontal text into a landscape page with vertical text. The PCL Print Direction command can be used to achieve other text orientations.
ENWW Printer-Specific Differences 2-33
?&c-1T) has the effect of
Vertical substitution characters are those characters which change their appearance, orientation, or positioning when written vertically. Examples in Japanese fonts include parentheses, brackets, punctuation and small kana. In the example above, the two small characters are replaced with vertical substitutes. Vertical substitution characters are accessed through the Vertical Substitutes Character Segment, which is described in more detail later in this chapter.

Font Header Format 16

The HP LaserJet 4PJ printer provides support for large fonts. Large fonts, such as the MS Mincho and MS Gothic fonts supplied in the printer, are fonts which are bound to large symbol sets. The LaserJet 4PJ printer supports a new font header to accommodate large bound fonts. New segments are provided for support of vertical substitutes, galley characters, typeface strings, and character enhancements.
The Font Header Command, described beginning on page 11-6 of the PCL 5 Printer Language Technical Reference Manual, has several different header formats. The support of large fonts adds Font Header Format 16 (Universal Font Header). Font Header Format 16 is identical in structure to format 15 (Universal Scalable Font Header) except that the size field for data segments has been enlarged from 16 bits to 32 bits, and a new Font Type has been added for large fonts (Font Type 3).
2-34 Printer-Specific Differenc es ENWW

New Font Format Header Segments

For the HP LaserJet 4PJ printer, Font Header Format 15 has been extended to include optional data segments for supporting galley characters, typeface strings, and character enhancements. Font Format 16 supports these segments plus optional segments for supporting vertical substitution and a vertical rotation offset. (Segmented Font Data is described beginning on page 11-45 of the PCL 5 Printer Language Technical Reference Manual.)
Galley Character Segment
If an application requests a character that does not exist within the current font, the printer checks the Galley Character Segment for a substitute character to print.
Vertical Substitution Character Segment
The Vertical Substitution Character Segment is used to identify vertical substitute glyphs for characters which change their appearance, orientation, or positioning when written vertically.
Typeface String Segment
The Typeface String Segment allows names of permanent downloaded fonts to be displayed, using non-Latin characters, in the appropriate typeface on the Typeface List.
Vertical Rotation Segment
When the character text path direction is set to vertical rotation, full-width characters are rotated counter-clockwise 90°. The Vertical Rotation Segment sets the point around which the character rotates, so that character alignment is compatible with the way Windows 3.1J rotates characters.
Character Enhancement Segment
The HP LaserJet 4PJ printer can apply pseudo-bold and pseudo-italic enhancements to MS Mincho, MS Gothic, and certain downloaded TrueType fonts. This segment is used to indicate that a particular downloaded font is able to have these character enhancements applied.
ENWW Printer-Specific Differences 2-35
Table 2-5. Printer Segment Support for Font Format 16
Segment
1
LJ 4PJ LJ 4V/
4MV
LJ 4LC LJ 4LJ
Pro
DJ 1600 LJ 5P
Galley Character – GC ✓✓✓✓✓✓ Vertical Substitution – VT ✓✓✓✓✓✓ Typeface string – TF ✓✓✓✓✓ns Vertical Rotation – VR ✓✓✓✓✓✓ Character Enhancement –
✓✓✓✓✓✓
CE Bitmap Resolution – BR* ns ✓✓✓ns TrueType fonts ✓✓✓✓✓✓ Bitmap fonts* ns ✓✓✓ns
ns – not supported * Format 16 bitmap font support is described beginning on page 2-63.
1
These segments are supported for the HP LaserJet 5Si and all later LaserJet printers.

Description of Font Header Segments

Each font header data segment contains three parts:
• Segment Identifier
• Data Segment Size
• Data Segment
2-36 Printer-Specific Differenc es ENWW
Segment Identifier Values
The Segment Identifier Values for the Galley Character, Vertical Substitution Character, Typeface String, Vertical Rotation, and Character Enhancement Segments are as shown in the following table.
Value Mnemonic* Data Segment
18243 GC Galley Character Segment 22100 VT Vertical Substitute Segment 21574 TF T ypeface String Segment 22098 VR Vertical Rotation Segment 17221 CE Character Enhancement Segment
* The mnemonic is obtained when the two bytes of this big-endian word are treated as
ASCII characters.
Data Segment Size
The Data Segment Size indicates the number of bytes in the immediately following Data Segment. The size of this field is 4 bytes for Font Format 16 fonts, and 2 bytes for Font Format 15 fonts. The rest of the data segments are identical for both font formats.
Galley Character Segment
If an application requests a character that does not exist within the current font, the printer checks the Galley Character Segment for a substitute character to print instead. The Galley Character Segment specifies the character codes of the substitute characters to be printed. A different galley character can be specified for different regions of the symbol set. For example, this segment can be set up so that an asterisk prints when a non-existent character is selected in the region 0x81 - 0x9F, and a question mark for characters in the region 0xE0-0xFC.
Byte 15 (MSB) 8 7 (LSB) 0 Byte
0 GC (18243) 1 2
Data Segment Size (6*n+6) * 3
4 6Format = 0 7 8 Default Galley Character 9
ENWW Printer-Specific Differences 2-37
5
Byte 15 (MSB) 8 7 (LSB) 0 Byte
10 Number of Regions (n) 11 12 Region #1 Upper Left Character Code 13 14 Region #1 Lower Right Character Code 15 16 Region #1 Galley Character 17
. . . . . .
6*n+6 Region #n Upper Left Character Code 6*n+7 6*n+8 Region #n Lower Right Character Code 6*n+9
6*n+10 Region #n Galley Character 6*n+11
* This segment is for Font Format 16. The Data Segment Size field for Font Format 16
fonts is 4 bytes; the segment for Font Format 15 fonts is identical except the Data Segment Size field is 2 bytes instead.
Default Galley Character (UI). Character code of the character to be printed when a specified character is not within any of the defined regions.
Number of Regions (UI). Number of regions for which galley characters are defined. Regions are defined for a table in which the first character code byte specifies the row and the second byte specifies the column.
Region #x Upper Left Character Code (UI). Character code defining upper left corner of Region #x.
Region #x Lower Right Character Code (UI). Character code defining lower right corner of Region #x.
Region #x Galley Character (UI). Character code of the character to be printed when a character within Region #x is missing from the selected font.
If the value of the galley character field is 0xFFFF, then if the font contains a missing character glyph, that glyph is printed. The missing character glyph can be downloaded using the PCL Download Character command with a character code = 0xFFFF and a glyph ID = 0.
If both the character specified by the original character code and by the galley character code are missing, the CAP is advanced in accordance with previous PCL rules for missing characters, that is, it is advanced according to the current setting of HMI (Horizontal Motion Index).
2-38 Printer-Specific Differenc es ENWW
The Galley Character Segment will be invalid if the format number is not supported or if the segment size declared in the Segment Size field is larger or smaller than required for the number of regions (N). If the segment is invalid, the font download will be ignored.
Galley Character Segments can be downloaded with any Font Format 15 or 16 font, regardless of font type.
The Galley Character Segment can be used to implement a requirement of the Microsoft Windows Version 3.1, J apan ese Version, Microsoft Standard Character Set Specification (March 11, 1993), which states “when there is an output request for a character of a specified typeface, even if the glyph corresponding to the specified character code does not exist, some glyph data will be output. For double-byte characters, the glyph of the default character defined for the given TrueType font is used. For single-byte characters, the glyph at 0xA5 (small dot, U+FF65) is used.”
The following table shows a Galley Character Segment which follows the Japanese Windows specification.
Byte 15 (MSB) 8 7 (LSB) 0 Byte
0 GC (18243) 1 2
Data Segment Size (12) * 3
4
5 6Format = 0 7 8 Default Galley Character = 0xFFFF 9
10 Number of Regions (n) = 1 11 12 Region #1 Upper Left
13
Character Code = 0x0000
14 Region #1 Lower Right
15
Character Code = 0x00FF
16 Region #1 Galley Character = 0x00A5 17
* This segment is for Font Format 16. The Data Segment Size field for Font Format 16
fonts is 4 bytes; the segment for Font Format 15 fonts is identical except the Data Segment Size field is 2 bytes instead.
ENWW Printer-Specific Differences 2-39
In this example segment, there is one galley character region. This region is applied to all one-byte characters (character codes 0x0000-0x00FF); any missing character in this region is replaced with the character at character code location 0x00A5. Any missing characters falling into this region (e.g. character codes 0x0100 ­0xFFFF) are replaced with the default galley character. Since in this example the Default Galley Character field = 0xFFFF, the missing character glyph is printed if it is present in the font.
Vertical Substitution Segment
The Vertical Substitution Segment contains pairs of glyph IDs. Each pair specifies the horizontal and vertical glyph ID for a character. The segment can be built directly from a TrueType mort table which contains a vertical substitution array . The segment definition is shown in the table below.
Byte 15 (MSB) 8 7 (LSB) 0 Byte
0 VT (22100) 1 2
Data Segment Size (4*n+4) * 3
4 6 Horizontal Glyph ID #1 7
5
8 Vertical Glyph ID #1 9
. . . . . .
4*n+2 Horizontal Glyph ID #n 4*n+3 4*n+4 Vertical Glyph ID #n 4*n+5 4*n+6 End of table mark #1 = 0xFFFF 4*n+7 4*n+8 End of table mark #2 = 0xFFFF 4*n+9
The Horizontal Glyph ID field is used by TrueType as an ID number for the horizontal glyph data associated with a given character. The Vertical Glyph ID field contains the ID number for the vertical glyph data associated with the same character.
The vertical glyphs can be downloaded using the PCL Character Definition Command using a character code = 0xFFFF.
2-40 Printer-Specific Differenc es ENWW
A TrueType mort table typically contains a header of 76 bytes, followed by the vertical substitution array which follows the segment format described here. However, the mort table header is designed to be variable-length, and the location of the vertical substitution data may be located elsewhere in mort tables in future fonts.
If the Font Type is not Type 3 (16-bit fonts), this data segment is ignored.
If the value pairs are not sorted by horizontal glyph ID, the data segment is invalid. If the End of Table mark #1 is not 0xFFFF, the data segment is invalid. The location of the end of the table is determined using the Data Segment Size field. If the segment is invalid, the font download is ignored.
Typeface String Segment
The purpose of this segment is to provide a substitute string to print for a permanent downloaded font when doing a PCL Typeface List printout. It has the following structure:
Byte 15 (MSB) 8 7 (LSB) 0 Byte
0 TF (21574) 1 2
Data Segment Size (2*n+2) * 3
4 6 Embedded Font
Name Flag
Substitute String Length (n)
5 7
8 Substitute String Character List 9
. . . . . .
* This segment is for Font Format 16. The Data Segment Size field for Font Format 16
fonts is 4 bytes; the segment for Font Format 15 fonts is identical except the Data Segment Size field is 2 bytes instead.
Embedded Font Name Flag (UB)—A zero value in this field is used to indicate that the ASCII name of the font (from the Font Name field) should be printed in addition to the substitute string. A non-zero value is used to indicate that only the substitute string should be printed.
• Substitute String Length (UB)—the number of UI characters in the Substitute String Character List.
ENWW Printer-Specific Differences 2-41
• Substitute String Character List (array of UI)—the characters which make up the substitute string. Each character is represented as a UI value. If the font is a bound font, then the values are accessed by their character codes values; if the font is unbound, then the Unicode index numbers (see Appendix D) are used.
The Typeface String Segment will be invalid if the Data Segment Size declared in the Data Segment Size field is larger or smaller than required for substitute string length, or if the Data Segment Size is an odd number of bytes. If the segment is invalid, the font download will be ignored.
Typeface String Segments can be downloaded with any Font Format 15 or Font Format 16 font, regardless of font type.
The following tables are examples of Typeface String Segments for two downloaded fonts. The first is for MS Mincho, and has the embedded font name flag set to true. The second is for MS Gothic, and has the embedded font name flag set to false.
MS Mincho
Byte 15 (MSB) 8 7 (LSB) 0 Byte
0 TF (21574) 1 2
Data Segment Size
4
(10) *
6 Embedded Font
Name Flag = 1 Substitute String Character List =
0x826c (Note: these are full-width
8 10 12 14
2-42 Printer-Specific Differenc es ENWW
0x8272 Shift-JIS character codes 0x96be for “MS” and Kanji “Mincho”) 0x92a9
Substitute String Length = 4
3 5
7
9 11 13 15
MS Gothic
Byte 15 (MSB) 8 7 (LSB) 0 Byte
0 TF (21574) 1 2
Data Segment Size
4
(14) *
3
5
6 Embedded Font
Name Flag = 0
Substitute String Length = 6
7
Substitute String Character List = 0x826c (Note: these are full-width
8 10 12 14 16 18
* This segment is for Font Format 16. The Data Segment Size field for Font Format 16
fonts is 4 bytes; the segment for Font Format 15 fonts is identical except the Data Segment Size field is 2 bytes instead.
0x8272 Shift-JIS character codes 0x8353 for “MS” and Katakana for 0x8356 “Gothic”) 0x8362 0x834e
9 11 13 15 17 19
ENWW Printer-Specific Differences 2-43
The following illustration shows how the PCL Typeface List would look.
Vertical Rotation Segment
The Vertical Rotation Segment is used to define the lower boundary of the rotation box used when the character text path direction is set to vertical rotation. This is an optional segment which may be downloaded with Font Format 16 TrueType fonts.
The following illustration shows an example of character rotation. The boxes around each character represent the vertical rotation box. The distance between the baseline and the bottom of the character box is represented by the Descender value in the Vertical Rotation Segment.
2-44 Printer-Specific Differenc es ENWW
The structure of the Vertical Rotation Segment is:
Byte 15 (MSB) 8 7 (LSB) 0 Byte
0 VR (22098) 1 2
Data Segment Size (4) * 3
4
5
6Format (0) 7 8 Descender value 9
* This segment is for Font Format 16. The Data Segment Size field for Font Format 16
fonts is 4 bytes; the segment for Font Format 15 fonts is identical except the Data Segment Size field is 2 bytes instead.
• Format (UINT16)—Set this value to 0.
• Descender Value (SINT16)—Set this value to equal the “sTypoDescender” value from the “OS/2” table of the T rueType font.
ENWW Printer-Specific Differences 2-45
• If the Vertical Rotation Segment is not downloaded with the font definition, a default value is used for the Descender value. The default value is set to the following:
Descender value = -36/256 * ScaleFactor Where: ScaleFactor is Bytes 64 and 65 from the Font Format
16 Font Header.
Character Enhancement Segment
This segment indicates whether the pseudo-bold or pseudo-italic enhancements can be performed on a downloaded font.
The structure of the Character Enhancement Segment is:
Byte 15 (MSB) 8 7 (LSB) 0 Byte
0 CE (17221) 1 2 Data Segment Size (8) 3 45 6Style 7
89 10 Stroke Weight 11 12 Reserved 13
* This segment is for Font Format 16. The Data Segment Size field for Font Format 16
fonts is 4 bytes; the segment for Font Format 15 fonts is identical except the Data Segment Size field is 2 bytes instead.
• Style (UINT32)—This field specifies the style types that the
printer is allowed to perform on the font characters.
31 4 3 0
Reserved Posture
Bit Positions (#) = Posture
1 = Italics
0, 2, 3 = Reserved
2-46 Printer-Specific Differenc es ENWW
• Stroke Weig ht (UINT16)—This field specifies the stroke
weights which the printer is allowed to provide using the pseudo-bold enhancement algorithm.
15 0
Stroke weight
Bit Position (#) = Stroke Weight
0 = Reserved 8 = “Book” or “Text” Weight 1 = U ltra T hin 9 = Semi-Bold 2 = Ex tra Thin 10 = Demi-Bold 3 = Th in 11 = Bold 4 = Ex tra Light 12 = Extra Bold 5 = L ig ht 13 = Black 6 = D emi Light 14 = Extra Black 7 = Semi Light 15 = Ultra Black
Note Only stroke weights greater than the stroke weight of the font can be
provided using the pseudo-bold enhancement algorithm.
ENWW Printer-Specific Differences 2-47

HP LaserJet 4PJ Programming Tips

This section provides programming tips concerning specific considerations for the HP LaserJet 4PJ printer. This section covers general print job initialization, font metric calculation, vertical writing, and other issues which are pertinent to printing Japanese text on the HP LaserJet 4PJ printer using PCL 5.
General Print Job Initialization
This example demonstrates the general print job initialization procedure for the HP LaserJet 4PJ printer, which is slightly different than that used for other HP LaserJet printers.
Output from pre-LaserJet 4PJ PCL drivers (for example, a HP LaserJet 4P driver) will only print correctly on the HP LaserJet 4PJ printer if the default PCL symbol set is set to a value other than the Japanese Windows 3.1 (Win3.1J) symbol set. This is because the default PCL text parsing method is set based on the default PCL symbol set. When the default PCL symbol set is set to Win3.1J, the default text parsing method is Shift-JIS parsing; for any other value, such as Roman-8, the default text parsing method is 1-byte parsing. To set the default PCL symbol set value, use PJL or the control panel.
The first example given here is nearly identical to the initialization used for other HP LaserJet 4 family printers. The only difference is that it includes a PJL command to set the default PCL symbol set to Roman-8.
?%-12345X@PJL<CR><LF>
@PJL SET RESOLUTION=600<CR><LF> @PJL PAGEPROTECT=OFF<CR><LF> @PJL RET=MEDIUM<CR><LF> @PJL COMMENT *** This command is added *** @PJL SET LPARM:PCL SYMSET=ROMAN8<CR><LF> @PJL ENTER LANGUAGE=PCL<CR><LF>
?E?&l1x1s1h2a0o8c6e54F?&a5L?(0U?(s1p9vs3b41 ~01T
The commands in the above example are explained in more detail in the PCL 5 and PJL technical reference manuals.
2-48 Printer-Specific Differenc es ENWW
The second example given here initializes a PCL 5 print job for printing Japanese text. The major differences from the previous example are that it specifies A4 paper, initializes the text parsing method to Shift-JIS, selects Win3.1J as the primary symbol set, selects MS-Mincho as the primary font.
?%-12345X@PJL<CR><LF>
@PJL SET RESOLUTION=600<CR><LF> @PJL PAGEPROTECT=OFF<CR><LF> @PJL RET=MEDIUM<CR><LF> @PJL ENTER LANGUAGE=PCL<CR><LF>
?E?&l1x1h26a0o8c6e60F?&a5L?&t31P?(19K ~?(s1p10v0s0b28752T
The last line (2 lines, as shown) in the above example is a PCL 5 initialization string. This set of commands resets the printer, specifies 1 copy, specifies the paper tray as a paper source, chooses A4-size paper, selects portrait orientation, VMI=8 (6LPI), sets top margin to 6 lines, selects a text length of 60 lines, a 5-column left margin, Shift-JIS parsing, WIN3.1J symbol set, and a proportional, 10-point, upright, text-weight MS-Mincho font.
After the PCL print data, the following commands would be used to complete the job:
?E?%-12345X
Font Metric Calculation
Accurate character placement relies on the ability to predict character width and height. As a character’s point size changes, so does its width and height. (CAP displacement, the distance the CAP moves for vertically rotated text, is a full-width calculation.)
In proportionally spaced fonts, character widths also vary from character to character within the font. Variable character widths add complexity to maintaining accurate line widths, page breaks, or WYSIWYG operation. To support most proportionally spaced fonts, font metrics must be extracted from the font metric files.
ENWW Printer-Specific Differences 2-49
In the MS-Mincho and MS-Gothic fonts provided in the HP LaserJet 4PJ, font metric calculation is somewhat easier than for the Latin-based fonts. Width calculations are easier because all characters of these fonts conform to one of two different character widths at a particular point size. The characters are either considered full-width or half- width. One-byte characters are always half-width and two-byte characters are always full-width.
Full-width characters occupy the entire EM width at a particular point size. Half-width characters occupy half of an EM width. The following equations show how to calculate the EM width and character widths for a full-width and a half-width character.
ppem = round (DeviceResolution * PointSize/72)
FullWidthDeltaX = round (ppem * PCLUni ts/ D eviceResolution)
HalfWidthD eltaX=round ((ppem/2) * PCLUnits/DeviceResolution)
where:
ppem = EM width in pixels
DeviceResolution = current device resolution in dots per inch (600 or 300dpi)
PointSize = point size requested
FullWidthDeltaX = character width of full-width character in PCL Units
HalfWidthDeltaX = character width of half-width character in PCL Units
PCLUnits = PCL Units
The PCL Unit of measure is explained in more detail in the PCL 5 Technical Reference Manual. The default PCL Unit size is 1/300th of
an inch, but the Unit of M easure command can be used to set the PCL Unit size to other values.
Note that HalfWidthDeltaX may not be exactly half of FullWidthDeltaX because of rounding. For example, if FullWidthDeltaX = round(99.0) = 99, then the corresponding HalfWidthDeltaX = round(99.0/2) = round(49.5) = 50.
2-50 Printer-Specific Differenc es ENWW
Character Enhancements
The HP LaserJet 4PJ printer supports PCL pseudo-bold and pseudo-italic character enhancements. These enhancements can be applied to the internal MS-Mincho and MS-Gothic fonts. They can also be applied to a TrueType soft font if a suitable “Character Enhancement” Segment is downloaded with the font header.
The enhancements are selected using PCL font selection commands. The pseudo-italic enhancement can be selected using the Style command. The pseudo-bold enhancement can be selected using the Stroke Weight command. The bold levels which can be applied to the internal MS-Mincho and MS-Gothic fonts are Semi Bold, Demi Bold, Bold, and Extra Bold. For example, to select a 10-point, Extra Bold, Italic, MS-Mincho font, use the following PCL command:
?(19K?(s1p10v1s4b28752T
In the above command, Italics style (1s) and Extra Bold weight (4b) are selected. Since there is not an Extra Bold Italic MS-Mincho font resident in the printer, pseudo-italics and pseudo-bolding algorithms are applied to characters printed from the regular MS-Mincho font.
If a soft font is selected using the “Font Selection by ID” command (e.g.
?(#X ), the font is selected without any character
enhancements applied. To select a soft font by ID with character enhancements, first select the font by ID, then select the desired attributes. For example, assume a soft font is downloaded with ID = 1 and a Character Enhancement Segment indicating that pseudo-bold and pseudo-italics character enhancements can be applied. The following command can be used to select that font with those enhancements:
?(1X?(s1s3B
Other font effects, such as character shadowing, strike-through, and gray-shading can be accomplished using the print model.
ENWW Printer-Specific Differences 2-51
Note HP-GL/2 as implemented in HP LaserJet printers has no mechanism
for parsing 2-byte characters. Therefore, HP-GL/2 character transformations (e.g. SI and SR commands) cannot be applied to these characters.
HP-GL/2 as implemented in HP LaserJet printers has no mechanism for parsing 2-byte characters. Therefore, HP-GL/2 character transformations (e.g. SI and SR commands) cannot be applied to these characters.
Vertical Writing
Vertical writing can be accomplished using the vertical rotated (“-1”) mode of the Character Text Path command ( vertical rotated text path direction, full-width characters are rotated and printed “on their sides.” All other characters are unaffected and the CAP is still advanced in the horizontal direction. The “-1” mode has the effect of transforming a portrait page with horizontal full-width characters into a landscape page with vertical full-width characters. This can be combined with the Print Direction command ( achieve the desired text orientation (e.g. portrait, landscape, reverse portrait, or reverse landscape).
?&c-1T). When using a
?&a#P) to
An example of horizontal and vertical rotat ed writing is shown below. The first line of text is horizontal writing and the second line is vertical rotated writing. Note that the “~” character is replaced with a vertical substitute on the second line. The C program that follows was used to generate the PCL commands for this example.
2-52 Printer-Specific Differenc es ENWW
Loading...