HP (Hewlett-Packard) PCL 5 Printer User Manual


 
Download
Pattern Command
The Download Pattern command provides the means for
downloading the binary pattern data that defines the user
pattern.
? * c # W [pattern data]
# = Number of pattern data bytes
Default = 0
Range = 0 – 32767 (values outside the range
are ignored)
The value field (#) identifies the number of pattern data
bytes that follow the Download Pattern command. In
addition to the binary pattern data, there are eight bytes of
pattern descriptor (header) information included in this
pattern data. The format for a 300 dpi resolution header is
shown in Table 5-3, below.
Byte 15 - MSB 8 7 LSB-0 Byte
0 Format (0) Continuation (0) 1
2 Pixel Encoding (1) Reserved (0) 3
4 Height in Pixels 5
6 Width in Pixels 7
8 Pattern image
Table 5-3.Table 5-3. User-Defined Pattern Header (300 dpi resolution)User-Defined Pattern Header (300 dpi resolution)
5-36 The PCL Print Model5-36 The PCL Print Model