Code upc e with hri type p – Tally Genicom Matrix Printer User Manual

Page 383

Advertising
background image

Code UPC E with HRI

Type P

Syntax

Figures (n)

Check Number (c)

Start code

Stop code

ASCII
hex.
dec.

"0" to "9"

30 to 39
48 to 57

Calculation

see section

"Check Number

Calculation"

":"

3A

58

":"

3A

58

Data Structure

ASCII

DC4

Start code

nnnnnnnc

Stop code DC4

hex.

14

Start code

nnnnnnnc

Stop code 14

dec.

20

Start code

nnnnnnnc

Stop code 20

Example

10 REM

code UPC E with HRI

20 LPRINT CHR$(27);"[?11~";
30 LPRINT CHR$(26);" P3;111";CHR$(25);
40 LPRINT CHR$(20);":01234567:";CHR$(20);
50 LPRINT CHR$(27);"[?10~"

28

Barcode Printing

Advertising