Code UPC A With HRI

Code UPC A With HRI

Syntax

 

Figures (n)

Check

Start Code

Separation

Stop Code

 

Number (c)

Code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASCII

"0" to "9"

Calculation

":"

":"

":"

 

 

see “Check

 

 

 

hex.

30 to 39

3A

3A

3A

Number

 

 

 

 

 

dec.

48 to 57

Calculation”

58

58

58

on page 258.

 

 

 

 

 

 

 

 

 

 

 

Data Structure

ASCII DC4 Start code nnnnnn Separation code nnnnnc Stop code DC4 hex. 14 Start code nnnnnn Separation code nnnnnc Stop code 14 dec. 20 Start code nnnnnn Separation code nnnnnc Stop code 20

Example

10 REM code UPC A with HRI

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

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

40LPRINT CHR$(20);":012345:678901:";CHR$(20);

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

247

Page 247
Image 247
Tally Genicom 6600 manual Code UPC a With HRI