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)}. Al l attribute parameters
except the style parameter (p1) are ignored by POSTNET, althou gh they are processed, saved,
and would apply to a subsequent bar code of another st yle if not overwritten. To select
POSTNET, you need to send only ESC [50}. You cannot pr int human-readable characters with
this bar code style.
There are three variations of POSTNET. They are ZIP, ZIP+4, a nd ABC. The printer determines
which variation is being called for by the number of charac ters in the symbol string. Legal
characters are the numerals 0 - 9 (30 hex - 39 hex) and t he dash symbol (2D hex), which is
ignored. Any other printable characters in the symbol string ca use 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 com plete ZIP symbol.
If you do not send a check digit, then the printer com putes it and prints it. If you do send a check
digit, the printer compares your check digit with its i nternal computation; and if the two numbers
do not agree, then an error character is printed.