Postal bar code printing, Postnet bar codes, Chapter 2: emulations – Dascom T2250 User Guide IGP for Dot Matrix Printers User Manual

Page 51

Advertising
background image

Chapter 2: Emulations

51

Postal Bar Code Printing

POSTNET Bar Codes

POSTNET Bar Code Mode allows you to make use of the mail handling systems that the United
States Postal Service (USPS) has implemented. In addition, POSTNET Bar Codes allow you to
take advantage of postal discounts available through USPS for mail pieces using POSTNET Bar
Codes for regular 5 digit, Zip+4, and Advanced Bar Code (ABC) zip codes. The basic sequence
is:

ESC P b data

1B 50 62 data

After entering POSTNET Mode, any ASCII characters can be sent. However, only the characters
0–9 will be printed. All others, except the reserved control codes and the Space character (Hex
20) are ignored. All reserved control codes, except the ESC (HEX 1B) and the HT (HEX 09)
control codes, cancel POSTNET Mode. After POSTNET Mode is canceled, the printer will
perform the requested function, such as Line Feed or Form Feed.

The Space character can be used to space between bar codes. If placed inside a bar code, it
will terminate the current bar code and cause the framing bar to print. Then the cursor will move
the equivalent of one space. Additional spaces can be sent and the cursor position will move the
requested number of spaces, then another bar code can be printed. Use the Space character
between bar codes only.

The ESC Control Code is used in some applications to select different parameters while in
POSTNET Mode.

The HT Control Code is used while in POSTNET Mode to control horizontal space between bar
codes. To use the HT Control Code, the procedure is:

If you are NOT going to use the Default Tabs, begin here:

Clear all current Horizontal Tab settings.

Set desired Horizontal Tabs.

If you ARE going to use the Default Tabs, begin here:

3.

Enter POSTNET Mode.

4.

Send data + HT....data + HT....

5.

Exit POSTNET Mode.

Example:

ESC

P b 9 9 9 9 9 HT 9 8 9 8 9 CR

1B 50 62 39 39 39 39 39 09 39 38 39 38 39 0D

The above sequence would cause bar codes representing the digits 99999 and 98989 to print on
the same line, spaced at whatever distance the Horizontal Tabs designate, then the printer would
exit the POSTNET Mode.

Advertising