A SERVICE OF

logo

78
PQ-8P, PQ-8S
Example:
1.To define the color red and
store the customized “red”
command in the interface under
the macro name U3 type the
following:
&%Z04,0(1B 2A 76 36 57 00 00 08
08 08)
[This string sets up the color
palette.]
&%Z04,3(1B 2A 76 32 35 35 61 30
62 30 63 31 69 31 53)
[This command defines and prints
the color red. Notice that the
defined color consists of red (255)
only. Green and blue components
have been given the value 0 (hex
30).]
2.To print the word “red” in this
sentence red, type:
To print the word&%U0
&%U3”red”¬C08 in this sentence
red, type:
NOTE
The ¬C08 in the above
example returns the print
color back to black.
6.5 Printing Bar Codes
When generating bar codes on an
IBM AS/400 or S/3X, the PQ-8 must
be attached to a PCL laser printer
and emulate an IBM 3812-1 printer,
or to a dot-matrix printer operating
in either Epson or IBM Proprinter
mode and emulate an IBM 4214 or
5224/25/56 printer.
The following applies to printing
bar codes on laser printers as well as
on dot-matrix printers, unless
specified otherwise.
Using the bar-code feature, the
following bar codes can be easily
printed:
Table 6-1. Bar Codes.
Type Bar Code
1 Code 3 of 9
2 Code 128
3 Interleaved 2 of 5
4 POSTNET
5 UPC A
6 EAN 8
7 EAN 13