Codabar, Syntax data structure, Example – Tally Genicom 6600 User Manual

Page 241

Advertising
background image

CODABAR

241

CODABAR

Syntax

Data Structure

ASCII

DC4

Start code

n ... n

Stop code

DC4

hex.

14

Start code

n ... n

Stop code

14

dec.

20

Start code

n ... n

Stop code

20

Example

10 REM codabar barcode

20 LPRINT CHR$(27);"[?11~";

30 LPRINT CHR$(26);" G3;111";CHR$(25);

40 LPRINT CHR$(20);"*123*";CHR$(20);

50 LPRINT CHR$(27);"[?10~"

Figures/Characters (n)

Start Code

Stop Code

Not fixed,

recommended:

Not fixed,

recommended:

ASCII

"0" to "9", "A" to "D" and

"$", "+", "-", ".", "/", ":"

"a" to "e" and

"n", "t", "*"

"a" to "e" and

"n", "t", "*"

hex.

30 to 39 and

24, 2B, 2D, 2E, 2F, 3A

61 to 65 and

6E, 74, 2A

61 to 65 and

6E, 74, 2A

dec.

48 to 57 and

36, 43, 45, 46, 47, 58

97 to 101 and

110, 116,42

97 to 101 and

110, 116,42

Advertising