Code 39, Syntax data structure, Example – Tally Genicom 6600 User Manual

Page 240

Advertising
background image

240

Chapter

11

Data Formats of Barcode Types

Code 39

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 code 39 barcode

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

30 LPRINT CHR$(26);" F3;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 "Z" and "$",

"%", "*", "+", "-", ".", "/"

“*”

“*”

hex.

30 to 39, 41 to 5A and

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

2A

2A

dec.

48 to 57, 65 to 90 and

36, 37, 42, 43, 45, 46, 47

42

42

Advertising