7265 Programmer’s Manual 42
Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar Codes
Delimiters
A bar code delimiter is a character or control function that tells the printer where one bar code symbol ends and
an adjacent symbol begins. Different bar code styles accep t different delimiters, which might be spaces,
commas, asterisks, horizontal tabs, or horizontal position-relative commands. Valid delimiters for the various
styles are listed in the Bar Code Style Characteristics section.
There is always a minimum one-fourth inch of white spac e called the quiet zone on either side of a bar code
symbol, so there is always an irreducible half-inch sp ace between adjacent symbols, no matter which delim iter is
used. The space character occupies an additional tenth of an inch. Neither the comma nor the asterisk imposes
any additional space between symbols. Asterisks ar e valid delimiters in Code 3 of 9 (style 4) only, and ar e
normally used in pairs.
110 LPRINT CHR$(27);"[0;9;1}"; 'height 3/4", hr = on, interleaved 2 of 5
120 LPRINT CHR$(27);"[3t"; 'turn on bar code
140 LPRINT "001234,001234"; 'comma delimiter
150 LPRINT CHR$(27);"[0t"; 'turn off bar code
160 LPRINT "comma delimiter"
170 LPRINT
180 LPRINT CHR$(27);"[3t"; 'turn on bar code
190 LPRINT "001234 001234"; 'space delimiter
200 LPRINT CHR$(27);"[0t"; 'turn off bar code
210 LPRINT "space delimiter"
220 LPRINT
230 LPRINT CHR$(27);"[4}"; 'style 4 = 3 of 9
240 LPRINT CHR$(27);"[3t"; 'turn on bar code
250 LPRINT "*1234**1234*"; 'as terisk delimiter
260 LPRINT CHR$(27);"[0t"; 'turn off bar code
270 LPRINT
280 LPRINT "asterisk delimiters are used in pairs"