User Preferences & Miscellaneous Digital Scanner Options 5 - 41
Example 2a
To decode a Code128 (Code Type=8) on the top half of the image and a PDF417 (Code Type=15) on the
bottom half of the image, as in Figure 5-3, program the expression as follows:
The expression in decimal is (formatted for readability):
2 C 2 0 8 R 4 0 0 100 50 ; C 2 0 15 R 4 0 50 100 100 ;
To program the expression via scanning parameters the sequence is:
[MultiCode-Expression] 02 C 02 00 08 R 04 00 00 64 32 ; C 02 00 0F R 04 00 32 64 64 ; [End Of Message]
To program the expression via host command (SSI/SNAPI) the sequence is:
0x02 0x43 0x02 0x00 0x08 0x52 0x04 0x00 0x00 0x64 0x32 0x3B 0x43 0x02 0x00 0x0F 0x52 0x04 0x00
0x32 0x64 0x64 0x3B
NOTE The CR0078-S cradle supports SSI. The CR0078-P cradle supports SNAPI.
Example 2b
In Figure 5-3, if the bottom PDF417 bar code must transmit first, reverse the sequence of the two bar codes:
The expression in decimal is (formatted for readability):
2 C 2 0 15 R 4 0 50 100 100 ; C 2 0 8 R 4 0 0 100 50 ;
To program the expression via scanning parameters the sequence is:
[MultiCode-Expression] 02 C 02 00 0F R 04 00 32 64 64 ; C 02 00 08 R 04 00 00 64 32 ; [End Of Message]
To program the expression via host command (SSI/SNAPI) the sequence is:
0x02 0x43 0x02 0x00 0x0F 0x52 0x04 0x00 0x32 0x64 0x64 0x3B 0x43 0x02 0x00 0x08 0x52 0x04 0x00 0x00
0x64 0x32 0x3B
NOTE The CR0078-S cradle supports SSI. The CR0078-P cradle supports SNAPI.
Figure 5-3
Multicode Expression Example 2
PDF417 Code
(0,0)
Code 128 Code
(0,50)
(160,100)
(100,50)
50%
0%
100%
0%
50%
100%