beautypg.com

Upc/ean 5 supplement (styles 21 and 23), Postnet (style 50) – Tally Genicom Matrix Printer User Manual

Page 60

background image

7265 Programmer’s Manual 56

Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar Codes

POSTNET (Style 50)

You cannot adjust POSTNET bar code attributes with ESC[(p1);..(p12)}. All attribute parameters

except the style parameter (p1) are ignored by POSTNET, although they are processed, saved,

and would apply to a subsequent bar code of another style if not overwritten. To select

POSTNET, you need to send only ESC [50}. You cannot print human-readable characters with

this bar code style.
There are three variations of POSTNET. They are ZIP, ZIP+4, and ABC. The printer determines

which variation is being called for by the number of characters in the symbol string. Legal

characters are the numerals 0 - 9 (30 hex - 39 hex) and the dash symbol (2D hex), which is

ignored. Any other printable characters in the symbol string cause an error character (diamond) to

be printed.

ZIP

5 digits plus 1 check digit

ZIP+4

9 digits plus 1 check digit

ABC

11 digits plus 1 check digit

The check digit is the digit that makes the sum of the digits in the symbol string, including the

check digit, evenly divisible by 10. For example, if you send the ZIP symbol string "12345", then

the sum of those five digits is 15, so "123455" would be the complete ZIP symbol.

If you do not send a check digit, then the printer computes it and prints it. If you do send a check

digit, the printer compares your check digit with its internal computation; and if the two numbers

do not agree, then an error character is printed.