Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 27
Chapter 2 Program Instructions
BARSET, cont.
Remarks, cont.
Aspect Ratios:
The aspect height ratio and aspect width ratio is used for complex bar codes
to de ne the relation between height and width of the pattern. This method of
de ning the bar code size has lower priority than rows and colomns, see below.
Refer to the speci cations of the bar code for allowed input.
Default values:
1 for aspect ratio height
2 for aspect ratio width.
Rows and Columns:
The rows in bar code and columns in bar code parameters have priority over
the aspect height ratio and aspect width ratio, but have the same purpose.
Refer to the speci cations of the bar code for allowed input.
Default value: 0
Truncate Flag:
The truncate ag is used in some complex bar codes to omit parts of the code
pattern. Refer to the speci cations of the bar code for allowed input.
Default value: 0
Examples
This example shows how a BARSET statement is used to specify a Code 39 bar
code (compare for example with the example for BARTYPE stmt):
10 PRPOS 30,400
20 DIR 1
30 ALIGN 7
40 BARSET "CODE39",2,1,3,120
50 BARFONT "Swiss 721 BT",10,8,5,1,1 ON
60 PRBAR "ABC"
70 PRINTFEED
This example shows how BARSET is used to print a two-dimensional
PDF 417 bar code:
10 PRPOS 30,400
20 DIR 1
30 ALIGN 7
40 BARSET "PDF417",1,1,3,15,0,1,4,0,14,0
50 A$="123456789012345678901234567890
123456789012345678901234567890123456789012"
60 B$="123456789012345678901234567890
123456789012345678901234567890123456789012"
70 C$="123456789012345678901234567890
123456789012345678901234567890123456789012"
80 PRBAR A$; B$; C$
90 PRINTFEED