17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

BARRATIO (BR)<br />

Chapter 2 Program Instructions<br />

Field of Application Statement specifying the ratio between the wide and the narrow bars in<br />

a bar code.<br />

Syntax BARRATIO|BR,<br />

1 2<br />

1<br />

2<br />

Default value:<br />

is the thickness of the wide bars relative to the narrow bars.<br />

is the thickness of the narrow bars relative to the wide bars.<br />

3:1<br />

Reset to default by: PRINTFEED execution.<br />

Remarks This statement specifies the ratio between the wide and the narrow bars in a<br />

bar code in relative terms. To decide the width of the bars in absolute terms<br />

(i.e. number of dots), the ratio must be multiplied by the BARMAG value.<br />

Example:<br />

The default BARRATIO is 3:1 and the default BARMAG is 2.<br />

(3:1) × 2 = 6:2<br />

i.e. the wide bars are 6 dots wide and the narrow bars are 2 dots wide.<br />

Note that certain bar codes have a fixed ratio, e.g. EAN and UPC codes. In<br />

those cases, any BARRATIO statement will be ignored. Refer to the chapter<br />

“Bar Codes” later in this manual.<br />

BARRATIO can be replaced by two parameters in the BARSET statement.<br />

Example Programming a Code 39 bar code, selecting a barfont for all directions and<br />

enabling the printing of the bar code interpretation:<br />

10 PRPOS 30,400<br />

20 DIR 1<br />

30 ALIGN 7<br />

40 BARTYPE "CODE39"<br />

50 BARRATIO 2,1<br />

60 BARHEIGHT 120<br />

70 BARMAG 3<br />

80 BARFONT "Swiss 721 BT"ON<br />

90 PRBAR "ABC"<br />

100 PRINTFEED<br />

A more compact method is illustrated by the example for BARSET statement.<br />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!