Printing Guide

Bar Code Usages and Formats
3-28
Bar Code Symbols and Formats
3
NOTE
UPS MaxiCode expects the secondary message to be padded with a total of 84 fill characters. The
Bar Code Printing function automatically pads the data to the right of the MaxiCode. (The fill
character is '!' ASCII 33, HEX 21.)
The secondary message cannot be longer than 84 characters. Therefore, the destination
'
s address
length must be truncated if the total length of the secondary message is greater than 84 characters.
A destination address is optional in the MaxiCode data. If the MaxiCode data is too long, the Bar
Code Printing function will not print the MaxiCode, and instead prints an error message indicating
how many characters exceeded the maximum length of 84.
Blank fields must also include the <Gs> separator.
After the <Eot> character, the application must immediately send a PCL escape sequence to
switch to a font other than MaxiCode.
The following is the escape sequence for switching from MaxiCode to Courier font 10CPI:
<Esc>(s0p10h12vbs4099T
NOTE
If you use a character set other than PC-8, you should resend the character set selection
before selecting the new font.
Example:
<Esc>(s24800T1,1,2,152382802,840,001,[)><RS>01<GS>96995011234<GS>840<GS>
025<GS>1Z07000168<GS>UPSN<GS>WX9031<GS>272<GS><GS>1/1<GS>15<GS>
Y<GS>123<FS>300<GS><GS>AK<RS><EOT><Esc>(s0p10h12vbs4099T