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 (HP Color LaserJet 8500 extends the range |
|
| to 0 to 65535; 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
Table
Byte | 15 - MSB | 8 | 7 |
| 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 |
|
|
|
|
|
|
|
|
|
|
Format (Byte 0)
This field indicates the downloadable pattern format:
Format 0 | 1 bit per pixel: |
| “1” bit indicates black or foreground color for a color |
| pattern. A “0” indicates either white or transparency, |
| depending on the source and pattern transparency |
| modes. A “0” cannot be colored. |
|
|
Format 1 | 1 or 8 bits per pixel. This format uses the current |
| palette. Data is sent pixel by pixel, and the bits/index |
| field of the pixel encoding byte determines the |
| number of bits defining a pixel. |
|
|
| EN |