Genicom GEK 00031B Printer User Manual


 
GEK-00029B 5000 Series Programmer’s Manual
265
APPENDIX C. POSTNET BAR CODES
ENTERING AND EXITING POSTNET BAR CODES
Selecting POSTNET Style Bar Codes
The following sequence selects the style of bar code to be printed. In
this case POSTNET is chosen:
Mnemonic: ESC [50;p2;p3;p4;p5;p6;p7;p8;p9;p10}
BASIC: LPRINT CHR$(27);''[50;9;1;2;6;2;6;2;0;0}"
or simply:
ESC [50}
LPRINT CHR$(27);"[50}"
Parameters p2 - p10 do not affect POSTNET but if they are sent. they
will be stored and used if another bar code style is selected.
POSTNET symbols can neither be rotated nor have their size or
density modified.
Before the printer can print input data as POSTNET bar code
symbols, the bar code mode must be both selected and activated.
There are two ways for this to be accomplished depending on the
setting of ANSI emulation option 1.
ANSI emulation option 1 is used to enable the SI (shift In) and SO
(shift out) ASCII codes to activate and deactivate special mode
functions. In this case, the special mode function is bar codes. With
ANSI emulation option 1 in (active), code SO will turn on or activate
the bar code mode. SI will turn bar codes off.
Enter the POSTNET bar code mode of printing with the following
control sequence sent by the host:
Mnemonic: ESC [ 3 t
BASIC: LPRINT CHR$(27);"[3t";";
Data sent after the above sequence is interpreted and printed as
POSTNET bar code symbols.
Exit POSTNET bar code mode using:
Mnemonic: ESC [ O t
BASIC: LPRINT CHR$(27);"[0t;
Mnemonic: ESC [3 t
BASIC: LPRINT CHR$(27);"[3t";
Selects the bar code special mode.
Mnemonic: SO
BASIC: LPRINT CHR$(14);
Activates POSTNET bar codes and prints received data as POSTNET
symbols (only after it has been selected by ESC[3t above).