HP (Hewlett-Packard) PJL Photo Scanner User Manual


 
EN User-Defined Pattern Command 13-19
User-defined Pattern Example
This example shows how the user-defined pattern command is used
to create a user-defined patterns. For this example, a pattern of
triangles is used. The first step is to design the base pattern triangle
(in this case, using 64 bytes of data). The base pattern binary data is
shown below:
11111111111111111111111111111111
01111111111111111111111111111110
00111111111111111111111111111100
00011111111111111111111111111000
00001111111111111111111111110000
00000111111111111111111111100000
00000011111111111111111111000000
00000001111111111111111110000000
00000000111111111111111100000000
00000000011111111111111000000000
00000000001111111111110000000000
00000000000111111111100000000000
00000000000011111111000000000000
00000000000001111110000000000000
00000000000000111100000000000000
00000000000000011000000000000000
This translates into the following 64 bytes in hexadecimal values:
Table 13-5
FF FF FF FF
7F FF FF FE
3F FF FF FC
1F FF FF F8
0F FF FF F0
07 FF FF E0
03 FF FF C0
01 FF FF 80
00 FF FF 00
00 7F FE 00
00 3F FC 00
00 1F F8 00
00 0F F0 00
00 07 E0 00
00 03 C0 00
00 01 80 00