Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7 25
Chapter 2 Program Instructions
BARRATIO (BR)
Field of Application
Statement specifying the ratio between the wide and the narrow
bars in a bar code.
Syntax BARRATIO|BR<nexp
1
>,<nexp
2
>
<nexp
1
> is the thickness of the wide bars relative to the narrow bars.
<nexp
2
> is the thickness of the narrow bars relative to the wide bars.
Default value: 3:1
Reset to default by: PRINTFEED execution.
Remarks
This statement specifi es the ratio between the wide and the narrow bars in a
bar code in relative terms. To decide the width of the bars in number of dots,
the ratio must be multiplied by the BARMAG value.
Example:
The default BARRATIO is 3:1 and the default BARMAG is 2.
(3:1) × 2 = 6:2
that is, the wide bars are 6 dots wide and the narrow bars are 2 dots wide.
Note that certain bar codes have a fi xed ratio, for example EAN and UPC
codes. In those cases, any BARRATIO statement will be ignored. Refer to
Chapter 5, “Bar Codes” later in this manual.
BARRATIO can be replaced by two parameters in the BARSET statement.
Example
Programming a Code 39 bar code, selecting a barfont for all directions and
enabling the printing of the bar code interpretation:
10 PRPOS 30,400
20 DIR 1
30 ALIGN 7
40 BARTYPE "CODE39"
50 BARRATIO 2,1
60 BARHEIGHT 120
70 BARMAG 3
80 BARFONT "Swiss 721 BT"ON
90 PRBAR "ABC"
100 PRINTFEED
A more compact method is illustrated by the example for BARSET
statement.