HP (Hewlett-Packard) PCL 5 Printer User Manual


 
Byte Counts
The byte count of the value field in the Transfer Raster
Data command has precedence over the literal, or the
command byte, byte count. For example, the command,
?*b2m3W [binary data]
sets compression method=2 and sends 3 bytes of raster data
for the row. Suppose the binary data appears as follows:
00000010 00000001 00000001 00000001
The control (first) byte value of +2 indicates that 3 bytes of
literal (unencoded) raster data will follow. The Transfer
Raster Data command, however, specified only three bytes
total (including the control byte) in the raster row. The
control byte and the following two data bytes are read, and
the remaining data byte is ignored.
If the last byte indicated by the value field in the Transfer
Raster Data command is a control byte, that byte is
ignored.
Note If a Transfer Raster Data command is received without an
accompanying Start Raster Graphics command, any
preceding start raster values are used (such as left graphics
margin, raster height and width, etc.).
6-38 Raster Graphics6-38 Raster Graphics