HP L 5 manual Continuation Byte, Pixel Encoding Byte, Reserved Byte, Height in Pixels Bytes 4

Models: L L 5

1 286
Download 286 pages 16 Kb
Page 103
Image 103

Continuation (Byte 1)

This field, byte 1, must be set to “0.” (This byte is for future printer support and does not currently provide any continuation operation.)

Pixel Encoding (Byte 2)

The bits/index field may be either 1 or 8. If the value is 1, the color of each pattern dot is specified by a single bit, supporting a two-color palette, which need not be black and white. If the value is 8, the color of each pattern dot is specified by one byte of data, allowing 256 colors. If the value of any byte is greater than the current palette size, the modulo function is applied when rendering.

7

5

4

3

0

 

 

 

 

 

000

 

Unused

 

Bits/Index

 

 

 

 

 

Reserved (Byte 3)

This field, byte 3, is not currently used and must be set to 0.

Height in Pixels (Bytes 4 and 5)

This field, bytes 4 and 5, identifies the number of raster rows (height) of the pattern, specified at device resolution. If the height is 0, the data is ignored and no pattern is defined. Pattern height must be less than 32767 pixels.

Width in Pixels (Bytes 6 and 7)

This field, bytes 6 and 7, identifies the number of pixels (width) of the pattern, specified at device resolution. If the width is 0, the data is ignored and no pattern is defined. Pattern width must be less than 32767 pixels.

Pattern Image

This field contains the raster data for the pattern. Data rows must be word-aligned. Pattern image data is formatted differently for each format type (see the data description under “Format (Byte 0)” on the previous page).

EN

The PCL Print Model 5-39

Page 103
Image 103
HP L 5 manual Continuation Byte, Pixel Encoding Byte, Reserved Byte, Height in Pixels Bytes 4, Width in Pixels Bytes 6