Contents viii ENCID Color Palettes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-13Device RGB a
5-36 The PCL Print Model ENPattern Reference PointThe pattern reference point is a position on the logical page at which the base pattern is position
EN The PCL Print Model 5-37Figure 5-11 Moving Pattern Reference Point for Pattern Filling
5-38 The PCL Print Model ENDownload Pattern CommandThe Download Pattern command provides the means for downloading the binary pattern data that defin
EN The PCL Print Model 5-39Continuation (Byte 1)This field, byte 1, must be set to “0.” (This byte is for future printer support and does not currentl
5-40 The PCL Print Model ENUser-defined Pattern ExampleThis example shows how the user-defined pattern command is used to create new patterns. For th
EN The PCL Print Model 5-41When using the 300 dpi User-Defined Pattern header (see Table 5-5), set the eight bytes of header information to the follow
5-42 The PCL Print Model ENSend the pattern header and binary data:00 00 01 00 00 10 00 20FF FF FF FF7F FF FF FE3F FF FF FC1F FF FF F80F FF FF F007 F
EN The PCL Print Model 5-43Set Pattern Reference Point CommandThe Set Pattern Reference Point command causes the printer to tile patterns with respect
5-44 The PCL Print Model ENPattern Control CommandThe Pattern Control command provides a means for manipulating user-defined patterns.? * c # QFor va
EN The PCL Print Model 5-45Rectangular Area Fills (Rules)Rectangular area fills are a special case of source images—the source transparency mode has n
EN Contents ixRectangular Fill Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-52Solid Fill (Black/W
5-46 The PCL Print Model ENHorizontal Rectangle Size (PCL Units)This command specifies the horizontal rectangle size in PCL Units.? * c # AThe horizo
EN The PCL Print Model 5-47Vertical Rectangle Size (PCL Units)This command specifies the vertical rectangle size in PCL Units.? * c # BThe vertical re
5-48 The PCL Print Model ENFill Rectangular AreaThe Fill Rectangular Area command determines the type of pattern used to fill the rectangle.? * c # P
EN The PCL Print Model 5-49Note The current pattern is not applied to a rectangular area unless specified by this command.The order in which data (pat
5-50 The PCL Print Model ENPattern Transparency for Rectangular Area FillPattern transparency affects how a pattern is applied to the rectangular fil
EN The PCL Print Model 5-51Figure 5-12 Effect of Transparency Modes on Rectangular AreasThis example is a monochrome example and assumes the default R
5-52 The PCL Print Model ENRectangular Fill ExamplesFollowing are two examples that demonstrate the way to print and fill rectangular shapes. The fir
EN The PCL Print Model 5-537 Select the white fill and print.Figure 5-13 Solid Fill Example?*c1P
5-54 The PCL Print Model ENShaded FillTo print a 900 by 1500 Unit 25% shaded rectangle (3 inches by 5 inches at 300 units-per-inch), perform the foll
EN The PCL Print Model 5-555 Print the rectangular shaded area:Figure 5-14 Shaded Fill Example?*c2P This example prints the following:
Contents x ENAppendix A Color Printing Overview (Color LaserJet, 5, 5M, DeskJet)Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-56 The PCL Print Model EN
EN Raster Graphics 6-16Raster GraphicsIntroductionA raster image is a made up of a series of discrete picture elements—pixels. Pictures such as those
6-2 Raster Graphics ENThere is a direct connection between the resolution and the size of an image. The image size is the number of pixels in the ima
EN Raster Graphics 6-3This pixel format is sufficient to represent black and white images, gray scale images, and color images. Furthermore, this form
6-4 Raster Graphics ENPCL 5 Color Raster GraphicsThe PCL 5 color raster graphics command set provides support for specifying an image's:• Dimens
EN Raster Graphics 6-5An image’s width and height define the extent of the image, that is, the number of pixels in a row and the number of rows in the
6-6 Raster Graphics ENRaster Graphics Command SequencePCL raster commands include: Start Raster Graphics and End Raster Graphics commands, Transfer R
EN Raster Graphics 6-7The emphasis in the previous command sequence is that the Raster Presentation Mode, Raster Resolution, Raster Height, and Raster
6-8 Raster Graphics ENRaster Graphics Resolution CommandRaster graphics can be printed at various resolutions. This command designates the resolution
EN Raster Graphics 6-9Figure 6-2 Raster Graphics Expansion - at 300 dpiNote Rectangular area fills and character data are not affected by changes in r
EN Contents xiProgramming Color Palettes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-20Color Component One .
6-10 Raster Graphics ENRaster Graphics Presentation Mode CommandThe Raster Graphics Presentation command specifies the orientation of the raster imag
EN Raster Graphics 6-11Figure 6-3 Raster Graphics Presentation Mode for Portrait OrientationRasterPresentationModeOrientation Default Graphics Margin0
6-12 Raster Graphics ENFigure 6-4 Raster Graphics Presentation Mode for Landscape Orientation
EN Raster Graphics 6-13Source Raster Height CommandThe Raster Height command specifies the height in raster rows of the raster area. Height is the dir
6-14 Raster Graphics ENThis command is ignored after the Start Raster Graphics or Transfer Raster Data commands until the next End Raster Graphics co
EN Raster Graphics 6-15Source Raster Width CommandThe Raster Width command specifies the width in pixels of the raster area. Width is in the direction
6-16 Raster Graphics ENFigure 6-6 Maximum Raster Width
EN Raster Graphics 6-17Start Raster Graphics CommandThe Start Raster Graphics command identifies the beginning of the raster data and also specifies t
6-18 Raster Graphics EN• Set Raster Graphics Resolution• Palette Commands• CID Command• Color Treatment• Render AlgorithmNote An implied End Raster G
EN Raster Graphics 6-19Raster Y Offset CommandThe Raster Y Offset command moves the cursor position vertically the specified number of raster lines fr
Contents xii EN
6-20 Raster Graphics ENSet Compression Method CommandThe Set Compression Method command allows you to encode the data in a given raster transfer, eit
EN Raster Graphics 6-21The Set Compression Mode command has the following form:? * b # MUnencoded (Method 0)This is a simple transfer of binary data w
6-22 Raster Graphics ENThe sign of the number in the control byte identifies whether the byte or bytes that follow represent a literal pattern or byt
EN Raster Graphics 6-23Note Another method to calculate the number needed in the control byte for some number of repetitions is to subtract the number
6-24 Raster Graphics ENRun-length Encoding?*r1A?*b1m6W(3)U(0)A(1)T?*rCTIFF Encoding?*r1A?*b2m6W(-3)U(0)A(-1)T or ?*b2m6W(-3)U(2)ATT?*rCIn the TIFF en
EN Raster Graphics 6-25The command byte identifies two things: 1) the number of replacement (delta) bytes that follow; and 2) where to position the re
6-26 Raster Graphics ENAs mentioned, the offset contained in the lower five bits of the command byte allows for offset values from 0 to 31. Compressi
EN Raster Graphics 6-27The seed row is updated by every raster graphic transfer, regardless of the compression method. This allows the delta compressi
6-28 Raster Graphics EN?*r1A – The start raster graphics command initializes the seed row to all zeros.Row 1 – ?*b3m2W(00000001)(11111111)The 3m sele
EN Raster Graphics 6-29The size of a block is limited to 32,767 bytes. (32,767 bytes is the number of compressed bytes and not the size of the uncompr
EN Color Printing Overview 1-11Color Printing OverviewIntroductionThis chapter provides an overview of color printing with Hewlett-Packard printers. A
6-30 Raster Graphics ENFor command byte values 0 - 3, the two <# of bytes/rows> bytes specify the number of bytes (row length) for the row. For
EN Raster Graphics 6-31Adaptive Compression Operation HintsNote Some HP LaserJet printers perform internal compression techniques to support full-page
6-32 Raster Graphics EN• For Method 3—since delta row compression requires that the seed row be available whenever raster graphics mode is entered, t
EN Raster Graphics 6-33Transfer Raster Data by PlaneThis command sends a plane of data to the printer and advances to the next plane (not to the next
6-34 Raster Graphics ENThe value field (#) identifies the number of bytes in the raster row. These bytes are interpreted as one row of raster graphic
EN Raster Graphics 6-35End Raster Graphics CommandThe End Raster Graphics command signifies the end of a raster graphic data transfer.? * r CReceipt o
6-36 Raster Graphics ENRaster ScalingRaster scaling provides the ability to enlarge or reduce raster images using the Destination Raster Width and De
EN Raster Graphics 6-37Destination Raster WidthThe Destination Raster Width command defines the width in decipoints of the destination raster picture
6-38 Raster Graphics ENRaster Graphics ExampleTo transfer an unencoded arrow-shaped raster graphic image (see Figure 6-7) in the shape of an arrow, p
EN Raster Graphics 6-398 Specify the raster compression mode:9 Transfer the raster data to the printer:10 Signify the end of the raster image transfer
1-2 Color Printing Overview ENWorking with color documentsA document can be thought of as a series of text characters, vector graphics objects and im
6-40 Raster Graphics ENThe brackets and commas are not part of the raster data command; they are used only to delineate the data.17 11111111 11111111
EN Raster Graphics 6-41Figure 6-7 Example of Raster Graphic Image Data
6-42 Raster Graphics ENColor Raster Graphics ExampleThis example demonstrates the Indexed by Pixel PEM of the CID command. It produces a one inch wid
EN Raster Graphics 6-43Looking at the PCL commands, you'll notice that the first row is sent unencoded and then the remaining rows replicated by
6-44 Raster Graphics ENW\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0W\e*b0
EN Color Vector Graphics (HP-GL/2) 7-17Color Vector Graphics (HP-GL/2)IntroductionThe process involved in using HP-GL/2 with the HP Color LaserJet fam
7-2 Color Vector Graphics (HP-GL/2) ENEnter HP-GL/2 ModeThis command causes the printer to interpret subsequent commands as HP-GL/2 commands, instead
EN Color Vector Graphics (HP-GL/2) 7-3z The ?%#A command closes HP-GL/2, prints the current page, and performs an ?E before entering PCL.z The default
7-4 Color Vector Graphics (HP-GL/2) EN• The PCL palette and color configuration are transferred between contexts.• The current logical operation and
EN Color Vector Graphics (HP-GL/2) 7-5• Redefining the PCL Picture Frame size or setting the anchor point:z Defaults P1 and P2 (IP, IR commands)z Rese
EN Color Printing Overview 1-3The PCL language also allows users to use patterns in combination with colors. These patterns and colors can be combined
7-6 Color Vector Graphics (HP-GL/2) ENMC (Merge Control)The MC command controls the color of pixels where two or more page marking primitives interse
EN Color Vector Graphics (HP-GL/2) 7-7• Opcode — Specifies the logical operations performed on a source, destination, and pattern prior to drawing the
7-8 Color Vector Graphics (HP-GL/2) ENNote When using the MC command, some pattern types will not produce the expected ROP result. This only occurs w
EN Color Vector Graphics (HP-GL/2) 7-9Table 7-1. Logical Operations (ROP3)Input ValueBoolean Function Input ValueBoolean Function0 0 27 SDTSxaxn1 DTSo
7-10 Color Vector Graphics (HP-GL/2) ENTable 7-1. Logical Operations (ROP3) (continued)Input ValueBoolean Function Input ValueBoolean Function54 SDTo
EN Color Vector Graphics (HP-GL/2) 7-11Table 7-1. Logical Operations (ROP3) (continued)Input ValueBoolean Function Input ValueBoolean Function108 SDTa
7-12 Color Vector Graphics (HP-GL/2) ENTable 7-1. Logical Operations (ROP3) (continued)Input ValueBoolean Function Input ValueBoolean Function162 DTS
EN Color Vector Graphics (HP-GL/2) 7-13Table 7-1. Logical Operations (ROP3) (continued)Input ValueBoolean Function Input ValueBoolean Function216 TDST
7-14 Color Vector Graphics (HP-GL/2) ENPC (Pen Color) This command changes the pen color in a palette created by the IN or CID command (?*v#W). The P
EN Color Vector Graphics (HP-GL/2) 7-15The “PC;” command defaults the colors of all pens as shown in the table below. The “PC pen;” command defaults t
1-4 Color Printing Overview ENColor can be described in ways other than amounts of red, green, and blue light. Generally, these color specification s
7-16 Color Vector Graphics (HP-GL/2) ENNote In the “shading” Fill Type command (FT10;), the shading levels are mapped between white (0% shading) and
EN Color Vector Graphics (HP-GL/2) 7-17NP (Number of Pens)The NP command resizes the palette after the IN or ?*v#W commands. NP [n;]orNP[;]* The defau
7-18 Color Vector Graphics (HP-GL/2) ENIf the currently selected pen is outside the range of the new palette size, the SP command modulo function is
EN Color Vector Graphics (HP-GL/2) 7-19CR (Color Range)The CR command sets the range for specifying relative color data. Note This command is only sup
7-20 Color Vector Graphics (HP-GL/2) ENPP (Pixel Placement)When printing, the printer places pixels at the intersection of the squares of a theoretic
EN Color Vector Graphics (HP-GL/2) 7-21Figure 7-1 Pixel Placement
7-22 Color Vector Graphics (HP-GL/2) ENPP, Pixel Placement CommandThe Pixel Placement (PP) command controls how pixels are placed on the layout grid
EN Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) A-1AColor Printing Overview (Color LaserJet, 5, 5M, DeskJet)IntroductionThis appendix prov
A-2 Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) ENWhen printing color pages, a user can choose one of several color modes, depending on
EN Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) A-3Color ConceptsThis section describes some of the concepts and terminology used in this
EN Color Printing Overview 1-5Note HP’s ICC profiles are available through normal HP software distribution channels. For those who want the additional
A-4 Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) ENDevice-Dependent vs. Device-Independent ColorDevice-dependent color spaces are relativ
EN Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) A-5Example:Assuming the white and black references are set as follows:Scenario 1Scenario 2
A-6 Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) ENThe number of colors in the palette dictates the number of bits per pixel of raster da
EN Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) A-7Encoding by PixelWhen encoding by pixel, each pixel is fully specified before any bits
A-8 Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) ENDevice-Dependent Color SpacesThe following PCL commands can alter color processing for
EN Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) A-9• Cluster Ordered Dither (?*t7J, ?*t8J)• Ordered Dither (?*t11J, ?*t12J)Color processin
A-10 Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) ENDevice-Independent ColorThe PCL language characterizes color as either device-depende
EN Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) A-11With proper calibration, any device can provide a transform from device-independent co
A-12 Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) ENColor Appearance MatchingColor appearance matching goes beyond true color matching by
EN Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) A-13Illumination ModelsIllumination sources have different spectral distributions, causing
1-6 Color Printing Overview ENPalettes and Color SelectionThe PCL 5 language allows the user to define a palette of colors. Each color is specified b
A-14 Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) ENProcessing Color DocumentsTo process a color page, PCL provides ways of specifying an
EN Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) A-15Color Processing FunctionsGiven these two color uses, page marking primitives and colo
A-16 Color Printing Overview (Color LaserJet, 5, 5M, DeskJet) EN
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-1BUsing Color Modes (Color LaserJet, 5, 5M, DeskJet)This appendix describes how color commands
B-2 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENIntroductionThe PCL printer language has four color modes:• Black-and-White•Simple Color• PC
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-3HP-GL/2 Imaging ModeIn HP-GL/2, the Initialize (IN) command starts color imaging and performs
B-4 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENSimple Color ModeThe Simple Color command (?*r#U) specifies color selection from a fixed pal
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-5The Simple Color palettes are shown below:Single Plane (value = 1)3-Plane RGB (value = 3)3-Pl
B-6 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENPCL Imaging ModeThe PCL Imaging mode, entered using the Configure Image Data (CID) command (
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-7Common 6-Byte HeaderThe short and long forms of the CID command use a common 6-byte header, r
EN Color Printing Overview 1-7z An RGB, eight-entry palette with the following colors starting at index 0: black, red, green, yellow, blue, magenta, c
B-8 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENNote Colorimetric RGB color spaces are based on the 1931 standard 2-degree observer and spec
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-9You need one plane or one bit/pixel for each power of two colors in the palette. For example,
B-10 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENExample:MODE 1: INDEXED BY PIXELIn mode 1, each pixel in a row is fully specified before an
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-11Example:MODE 2: DIRECT BY PLANEIn mode 2, the color raster data for each row is downloaded b
B-12 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENExample:MODE 3: DIRECT BY PIXELIn mode 3, the color raster data is downloaded pixel by pixe
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-13Example:Byte 2 (Number of Bits per Index)In all pixel encoding modes, this byte sets the siz
B-14 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENA value of 0 defaults the black and white reference values for primary #1 according to the
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-15Short Form of CID Command (Configure Image Data)The Short Form of the CID command involves s
B-16 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) EN• Luminance-Chrominance (YUV) ?*v6W[0x04, . . . ]YUV, which is a linear transformation fr
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-17Long Form of CID Command (Configure Image Data)In addition to the short form, there is also
1-8 Color Printing Overview ENThe PCL 5 color command set supports several Pixel Encoding Modes. The PEMs are categorized first by whether the pixel
B-18 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENDevice CMY (Long Form)The long form for the Device CMY color space (value field is 18) prov
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-19Note Although the data ranges may extend beyond the default data ranges specified in the sho
B-20 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENFLOATING POINT FORMATThe following format is used for device-independent color floating poi
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-2122 x Chromaticity for blue primary (msw) 2324 x Chromaticity for blue primary (lsw) 2526 y C
B-22 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENNote HP Color LaserJet 5 and 5M printers bypass the Colorimetric RGB process. In place of i
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-2322 Encoding for primary #2 G (msw) 2324 Encoding for primary #2 G (lsw) 2526 Encoding for pr
B-24 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENNote CIE L*a*b* color space support is at HP Color LaserJet level for HP Color LaserJet 5 a
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-25Examples Using the CID CommandThe following examples illustrate using the CID command's
B-26 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENCIE L*a*b*SHORT FORMLONG FORMNon-Linear SMPTE RGB, 2.2 Gamma, 1.0 GainSHORT FORMLONG FORMNo
EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-27LONG FORMYUV Chrominance-Luminance Color SpaceSHORT FORMCID(4,3,0,8,8,8) YUV, di
EN Color Printing Overview 1-9Well-Behaved RasterPCL raster images are processed most efficiently when the height and width of the image are specified
B-28 Using Color Modes (Color LaserJet, 5, 5M, DeskJet) ENHP-GL/2 Imaging ModeThe HP-GL/2 Imaging Mode provides a way of using vector commands in pri
EN Using Palettes (Color LaserJet, 5, 5M, DeskJet) C-1CUsing Palettes (Color LaserJet, 5, 5M, DeskJet)IntroductionA palette is a collection of color s
C-2 Using Palettes (Color LaserJet, 5, 5M, DeskJet) ENIn non-raster mode, the current palette contains all the colors available to the printer. In ra
EN Using Palettes (Color LaserJet, 5, 5M, DeskJet) C-3Saving the PaletteThe current palette is destroyed when a new palette is created. The Push/Pop P
C-4 Using Palettes (Color LaserJet, 5, 5M, DeskJet) ENPushing a palette does not save the following parameters.• Foreground color• Color components:
EN Using Palettes (Color LaserJet, 5, 5M, DeskJet) C-5Palette Management by IDAll palettes have a unique ID (identification number). The default black
C-6 Using Palettes (Color LaserJet, 5, 5M, DeskJet) ENManagement by ID allows applications to tag data, have multiple raster configurations, and have
EN Using Palettes (Color LaserJet, 5, 5M, DeskJet) C-7This command can be used to de-select the active palette and select as the new active palette a
C-8 Using Palettes (Color LaserJet, 5, 5M, DeskJet) ENPalette Control IDThe Palette Control ID command specifies the ID number to be used by the Pale
EN Using Palettes (Color LaserJet, 5, 5M, DeskJet) C-9Palette ControlThe Palette Control command provides a mechanism for marking and deletion of pale
1-10 Color Printing Overview EN
C-10 Using Palettes (Color LaserJet, 5, 5M, DeskJet) ENThe Palette Control command provides a way of managing system memory by deleting palettes in e
EN Using Palettes (Color LaserJet, 5, 5M, DeskJet) C-11Simple Color PalettesThe Simple Color command (?*r#U) provides a quick way to select colors fro
C-12 Using Palettes (Color LaserJet, 5, 5M, DeskJet) EN3-Plane CMY (value = –3)Index Color0White1Cyan2 Magenta3Blue4Yellow5Green6Red7Black
EN Using Palettes (Color LaserJet, 5, 5M, DeskJet) C-13CID Color PalettesThe Configure Image Data command, explained in detail in Appendix B, creates
C-14 Using Palettes (Color LaserJet, 5, 5M, DeskJet) ENBits/Index = 3 through 8Index Color0Black1Red2Green3Yellow4Blue5 Magenta6Cyan7Whiten > 7 Bl
EN Using Palettes (Color LaserJet, 5, 5M, DeskJet) C-15Device CMY and Device-Independent PalettesA CID command specifying either a device-independent
C-16 Using Palettes (Color LaserJet, 5, 5M, DeskJet) ENHP-GL/2 PalettesRegardless of the color space, a default PCL palette is always different than
EN Using Palettes (Color LaserJet, 5, 5M, DeskJet) C-17Eight PensPen Number Color0White1Black2Red3Green4Yellow5Blue6 Magenta7Cyann > 7 Black
C-18 Using Palettes (Color LaserJet, 5, 5M, DeskJet) ENForeground ColorAll PCL marking entities utilize “foreground” color, which is selected from th
EN Using Palettes (Color LaserJet, 5, 5M, DeskJet) C-19Note Foreground color interacts with color raster images. In the printer, all color raster is r
EN Using Color Modes 2-12Using Color ModesIntroductionThe PCL printer language has four color modes:• Black-and-White•Simple Color• PCL Imaging• HP-GL
C-20 Using Palettes (Color LaserJet, 5, 5M, DeskJet) ENProgramming Color PalettesExcept for the default black and white palette or the Simple Color p
EN Using Palettes (Color LaserJet, 5, 5M, DeskJet) C-21Color Component ThreeThis command specifies the third primary of the palette entry designated b
C-22 Using Palettes (Color LaserJet, 5, 5M, DeskJet) EN
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-1DModifying Output Color (Color LaserJet, 5, 5M, DeskJet)IntroductionThe previous appendi
D-2 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) EN• The Driver Configuration command provides a way for a driver to calibrate the output
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-3Halftone Render AlgorithmsThe HP color printers have the capability of applying differen
D-4 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) ENSnap to PrimariesThis algorithm converts each component of a color specification to its
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-5Ordered Dither and Clustered Ordered DitherThe ordered dither or cluster ordered dither
D-6 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) ENNon-Continuous Tone AlgorithmsHP Color LaserJet 5 and 5M printers remap non-continuous
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-7A user-defined matrix is defined in additive colors (RGB values). The dither matrix pixe
2-2 Using Color Modes ENPCL Imaging ModePCL Imaging Mode, enabled by the Configure Image Data command (?*v#W), allows a maximum of 24 bits per pixel
D-8 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) ENA downloaded user-defined dither will not take effect until after explicitly selecting
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-9FormatThis byte should be set to 0.Number of PlanesThis byte designates how many dither
D-10 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) ENEach dither matrix must be completely specified. Otherwise, the width and height value
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-11ExampleThis example produces a 4 x 4 dither matrix that is applied to all three color p
D-12 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) ENThe byte-aligned binary data field (shown as ASCII for clarity) would be:Note Do not u
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-13Color Lookup TablesColor lookup tables provide a way to re-map color data for the follo
D-14 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) ENFigure D-1 Color Lookup TablesThis command enables the color lookup tables until an ?E
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-15As shown below, the 256 point-by-point transformation curve for each primary color is d
D-16 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) ENByte 0 (Color Space)A color lookup table can be attached to one or more of the color s
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-17Gamma Correction Color monitors, which are by nature non-linear, appear incorrect when
EN Using Color Modes 2-3Simple Color ModeThe Simple Color command (?*r#U) specifies color selection from a fixed palette. RGB or CMY raster data must
D-18 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) ENViewing IlluminantPrinted colors undergo a hue shift when viewed under different illum
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-19The PCL default viewing illuminant is D65 (6500K). Below is a table of viewing illumina
D-20 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) ENMonochrome PrintingThe Monochrome Print Mode command converts each color value to its
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-21Driver Configuration CommandThis command specifies the Lightness, Saturation, and Scali
D-22 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) EN1 For the original Color LaserJet printer, the color treatment arguments were slightly
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-23No AdjustmentThis setting provides linearization only (that is, the user sees the devic
D-24 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) ENNote For screen matching, the long form of the Configure Image Data command is used an
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-25Out of Gamut Cluster-OutOfGamut-DD 17Disperse-OutOfGamut-DD 18Scatter-OutOfGamut-DD 19E
D-26 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) ENDevice-IndependentNo AdjustmentCluster-No Adjust-DI 51Disperse-No Adjust-DI 52Scatter-
EN Index-1IndexAadaptive compressionblock size 6-28, 6-31compression methods 6-29control bytes 6-29cursor position 6-31data block 6-28delta
2-4 Using Color Modes ENThe Simple Color palettes are structured as follows:Single Plane (value = 1)3-Plane RGB (value = 3)3-Plane CMY (value = –3)In
Index-2 ENtransfer raster data 6-32user-defined pattern 5-38compressionadaptive 6-29adaptive (operation hints) 6-31byte counts 6-34delta row 6
EN Index-3transparency mode 5-2user-defined patterns 5-33grid centered, pixel 5-27grid intersection, pixel 5-27Hhalftone render algorithms 4-2
Index-4 ENpixels and pixel encoding 1-7plane encoding A-6position, rectangular area 5-49PP (pixel placement) command 7-20, 7-22PP command, HP-
EN Index-5Set Pattern Reference Point command 5-33, 5-43shaded fillpattern selection 5-29patterns 5-30short form CID command B-15Simple Color co
Index-6 EN
EN Using Color Modes 2-5PCL Imaging ModeThe PCL Imaging mode, entered using the Configure Image Data (CID) command (?*v#W), creates a variable-sized p
PCL 5 Color Technical Reference Manual
2-6 Using Color Modes ENThe bytes are ordered as follows and are unsigned bytes:Invalid configurations of the CID command are ignored and the data di
EN Using Color Modes 2-7Byte 1 (Pixel Encoding Mode)This byte designates the format of any subsequent raster images. The range of the value is zero to
2-8 Using Color Modes ENPEM 0: INDEXED BY PLANEIn Pixel Encoding Mode 0, successive planes of data are sent for each raster row. A plane contains one
EN Using Color Modes 2-9PEM 1: INDEXED BY PIXELIn this mode, each pixel in a row is fully specified before any bits are sent for the next pixel. The b
2-10 Using Color Modes ENMODE 2: DIRECT BY PLANEIn this mode, a pixel is composed of three, one-bit components. The data is transferred a plane at a
EN Using Color Modes 2-11MODE 3: DIRECT BY PIXELThis mode specifies a pixel as three, eight-bit components, thus the name 24-bit direct color. Assumin
2-12 Using Color Modes EN• In the Indexed-by-Pixel PEM, where the raster data is interpreted as palette indices, this value determines how to interpr
EN Using Color Modes 2-13HP-GL/2 Imaging ModeThe HP-GL/2 Imaging Mode provides a way of using vector commands in printing documents. Although the defa
2-14 Using Color Modes EN
EN Using Palettes 3-13Using PalettesIntroductionA palette is a collection of color specifications selected using index numbers. The figure below illus
Hewlett-Packard Company11311 Chinden BoulevardBoise, Idaho 83714 U.S.A.NoticeThe information contained in this document is subject to change without n
3-2 Using Palettes ENIn non-raster mode, the current palette contains all the available colors. In raster mode, indexed color selection uses the pale
EN Using Palettes 3-3Saving the PaletteThe current palette is destroyed when a new palette is created. The Push/Pop Palette command (?*p#P) can save (
3-4 Using Palettes ENPushing a palette does not save the following parameters.• Foreground color• Color components: 1st, 2nd, and 3rd• Finish mode• M
EN Using Palettes 3-5Palette Management by IDAll palettes have a unique ID (identification number). The default black and white palette created on pow
3-6 Using Palettes ENManagement by ID allows applications to tag data, have multiple raster configurations, and have palettes for different color spa
EN Using Palettes 3-7When a palette creation command is received such as Configure Image Data (?*v#W), Simple Color (?*r#U), or an HP-GL/2 IN, the cre
3-8 Using Palettes ENPalette Control IDThe Palette Control ID command specifies the ID number to be used by the Palette Control Command.?&p#IThe
EN Using Palettes 3-9Palette ControlThe Palette Control command provides a mechanism for making and deleting palettes.?&p#C• A value of 0 deletes
3-10 Using Palettes ENThe Palette Control command provides a way of managing system memory by deleting palettes in either the stack or store that are
EN Using Palettes 3-11Simple Color PalettesThe Simple Color command (?*r#U) provides a quick way to select colors from a fixed, non-programmable palet
iiiInside This ManualWhat You Can Learn From This ManualThis manual describes the PCL 5 commands used to print color on the HP Color LaserJet printer
3-12 Using Palettes EN3-Plane CMY (value = –3)Index Color0White1Cyan2 Magenta3Blue4Yellow5Green6Red7Black
EN Using Palettes 3-13CID Color PalettesThe Configure Image Data command, explained in detail in Chapter 2, creates a palette based upon the parameter
3-14 Using Palettes ENDevice CMY PalettesBits/Index = 1Bits/Index = 2Bits/Index = 3 through 8Index Color0White1BlackIndex Color0White1Cyan2 Magenta3B
EN Using Palettes 3-15HP-GL/2 PalettesRegardless of the color space, a default PCL palette is always different than a default HP-GL/2 palette. The fol
3-16 Using Palettes ENEight PensPen Number Color0White1Black2Red3Green4Yellow5Blue6 Magenta7Cyann > 7 Black
EN Using Palettes 3-17Foreground ColorAll PCL marking entities utilize “foreground” color, which is selected from the current palette using the Foregr
3-18 Using Palettes ENNote Foreground color interacts with color raster images. In the printer, all color raster is resolved into three binary raster
EN Using Palettes 3-19Programming Color PalettesExcept for the default black and white palette or the Simple Color palettes (?*r#U), palette entries c
3-20 Using Palettes ENColor Component ThreeThis command specifies the third component of the palette entry designated by the Assign Color Index comma
EN Modifying Output Color 4-14Modifying Output ColorIntroductionThe previous chapters of this manual have been concerned with giving an overview of th
ivManual OrganizationThis manual contains seven chapters and four appendices. Chapters 2 through 4 describe command usage for the HP Color LaserJet 45
4-2 Modifying Output Color ENHalftone Render AlgorithmsThe HP color printers have the capability of applying different halftone render algorithms to
EN Modifying Output Color 4-3Monochrome PrintingThe Monochrome Print Mode command converts each color value to its grayscale equivalent. This improves
4-4 Modifying Output Color ENDriver Configuration CommandThis command specifies the color treatment applied to each color specification.?*o#W[device_
EN Modifying Output Color 4-5Screen MatchDue to the emergence of sRGB (standard Red Green Blue) as an international color data standard, there is no l
4-6 Modifying Output Color ENFinish Mode CommandThe Finish Mode command allows the user to specify the finish, matte or glossy, to be applied to the
EN The PCL Print Model 5-15The PCL Print ModelIntroductionThe Print Model feature allows images and characters to be filled with color, with any of th
5-2 The PCL Print Model EN• Pattern—The design which is “painted” through the non-white area of the source image onto the destination image. The patt
EN The PCL Print Model 5-3• Pattern Transparency Mode—The transparency or opaqueness of the “white pixels” in the pattern (see the note below). When s
5-4 The PCL Print Model ENFigure 5-3 demonstrates the transparency modes. In the first example (1a), the transparency mode for both the source image
EN The PCL Print Model 5-5Figure 5-3 Effect of Transparency Modes on Images
vChapter 7. Color Vector Graphics (HP-GL/2)This chapter discusses printing color pages using HP-GL/2, the vector graphics language included on all PCL
5-6 The PCL Print Model ENCommand SequenceThe table below shows the Print Model command sequence for selecting a current pattern and using it to fill
EN The PCL Print Model 5-7Source Transparency Mode CommandThe Select Source Transparency Mode command sets the source image's transparency mode t
5-8 The PCL Print Model ENPattern Transparency Mode CommandThe Pattern Transparency Mode command sets the pattern's transparency mode to transpa
EN The PCL Print Model 5-9Logical OperationsThe basic print model defines how a pattern, source image, and destination image are applied to each other
5-10 The PCL Print Model ENOperators• Source Transparency (specified before logical operation; default is transparent)• Pattern Transparency (specifi
EN The PCL Print Model 5-11Assuming three bits per pixel, the following diagram shows the process.Figure 5-4 Logical Operations and the Print ModelNot
5-12 The PCL Print Model ENLogical Operations and Transparency InteractionsAs described above, transparency modes operate in addition to logical oper
EN The PCL Print Model 5-13Logical Operation CommandSpecifies the logical operation (ROP) to be performed in RGB color space on destination, source an
5-14 The PCL Print Model ENFor example, the logic equation for ROP 252 in the RGB color space is T OR S, which is shown as TSo in Table 5-4. The trut
EN The PCL Print Model 5-15Table 5-1. RGB ROP Truth TablesROPs in the CMY Color SpaceThe CMY ROP truth tables in Table 5-2 shows examples of how the R
viRelated DocumentsThe following documents provide related information about Hewlett-Packard PCL 5 printers. PCL 5 Printer Language Technical Referenc
5-16 The PCL Print Model ENTable 5-2. CMY ROP Truth TablesUsing a ROPThe first step in using a ROP is to determine which color space you're in:
EN The PCL Print Model 5-17Note Since PCL logical operations are interpreted in RGB space (white = 1, black = 0) rather than in CMY space (white = 0,
5-18 The PCL Print Model ENThe result is computed below (source and pattern opaque).Table 5-3. Logical Operation (ROP3)Each column of destination, so
EN The PCL Print Model 5-19Table 5-4. Logical Operations (ROP3)Input ValueBoolean Function Input ValueBoolean Function0 0 27 SDTSxaxn1 DTSoon 28 TSDTa
5-20 The PCL Print Model ENTable 5-4. Logical Operations (ROP3) (continued)Input ValueBoolean Function Input ValueBoolean Function54 SDTox 81 DSTnaon
EN The PCL Print Model 5-21Table 5-4. Logical Operations (ROP3) (continued)Input ValueBoolean Function Input ValueBoolean Function108 SDTax 135 TDSaxn
5-22 The PCL Print Model ENTable 5-4. Logical Operations (ROP3) (continued)Input ValueBoolean Function Input ValueBoolean Function162 DTSnoa 189 SDxT
EN The PCL Print Model 5-23Table 5-4. Logical Operations (ROP3) (continued)Input ValueBoolean Function Input ValueBoolean Function216 TDSTxax 236 SDTa
5-24 The PCL Print Model ENPixel PlacementHP PCL 5 printers place pixels at the intersection of the squares of a theoretical, device-dependent grid c
EN The PCL Print Model 5-25Figure 5-5 Pixel PlacementNote The grid-centered method is used by Microsoft Windows.When rectangular area fills are used a
EN Contents viiContentsPCL 5 Color Technical Reference ManualInside This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-26 The PCL Print Model ENNote Since PCL printers print only at intersections, grid- centered pixel placement is implemented as shown on the right.F
EN The PCL Print Model 5-27Pixel Placement CommandDetermines how pixels are rendered in images.?*l # RTwo models are used for rendering pixels when an
5-28 The PCL Print Model ENFilling with PatternsThe procedure for applying patterns to text, raster images, and rectangular areas is essentially the
EN The PCL Print Model 5-29Pattern ID (Area Fill ID) CommandThe Pattern ID command (formerly called Area Fill ID) identifies the specific shading, cro
5-30 The PCL Print Model ENFigure 5-7 Shading Patterns
EN The PCL Print Model 5-31Figure 5-8 Cross-Hatch Patterns
5-32 The PCL Print Model ENSelect Current Pattern CommandThe Select Current Pattern command identifies the type of pattern to be applied onto the des
EN The PCL Print Model 5-33User-Defined Pattern GraphicsIn addition to the eight shading patterns and six cross-hatch patterns, users can design their
5-34 The PCL Print Model ENNote For efficient memory usage and improved performance, it is strongly recommended that user-defined patterns should be
EN The PCL Print Model 5-35Figure 5-10 Pattern Layout Across the Printable Area
Comments to this Manuals