Programming instructions

PRBUF-Protocol,
cont.
Specifi cation of the RLL format
<begin><toggling pixelruns><end>
<- total width of RLL pattern ->
<begin> := <linereps>|<small white pixelrun>
<end> := <begin>|<empty>
<toggling pixelruns> := <whiteAndBlack pixelruns>|
<blackAndWhite pixelruns>|
<white pixelrun>|<empty>
<whiteAndBlack pixelruns> := <white pixelrun><black pixelrun>|
<small white pixelrun><black pixelrun>
<blackAndWhite pixelruns> := <black pixelrun><white pixelrun>
<linereps> := ((-1)-(-128))*-1 number of equal lines
<small white pixelrun> := 0-127, number of white pixels
<black pixelrun> := 0-255, number of black pixels
<white pixelrun> := 0-255, number of white pixels
<empty> := empty, extreme if the entire line ts in
one pixelrun.
If there is no line repetion, there does not have to be any line repeat. If the
pixelrun is out of range, it must be split into several runs.
Example of RLL format for an eight bit pattern:
-*-*-*-* 1,1,1,1,1,1,1,1,0 Note the last 0 to end with a white pixelrun
*-*-*-*- 0,1,1,1,1,1,1,1,1 begins with a white pixelrun of 0 pixels
--**--** 2,2,2,2,0 repetion, stopped with a white pixelrun of 0
pixels
**--**-- -2,0,2,2,2,2,-2 line and pixel repetions
**--**--
Example of coding a black square of 800 dots to valid RLL format:
-128,0,255,0,255,0,255,0,35,0,-128
-128,0,255,0,255,0,255,0,35,0,-128
-128,0,255,0,255,0,255,0,35,0,-128
-128,0,255,0,255,0,255,0,35,0,-128
-128,0,255,0,255,0,255,0,35,0,-128
-128,0,255,0,255,0,255,0,35,0,-128
-32,0,255,0,255,0,255,0,35,0,-32
Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 287
Chapter 3 Image Transfer