Black Box Switch PQ-8P Manual De Usuario

Descargar
Página de 168
117
PQ-8P, PQ-8S 
6.7.4 L
ABELS
/T
ITLE
/S
UBTITLE
/L
EGEND
All text was created through text
rotation command strings. Text was
always printed in the selected font.
In the example, Universe Medium
was used in different point sizes
(¬Q...). The legend consists of three
separate boxes followed by text
rotation commands. The parameters
are shown below:
¬GX'Font Change Command'
¬Q4808
¬GX'Labels X-Axis'
¬GT300;3100;0;'Monday'
¬GT600;3100;0;'Tuesday'
¬GT900;3100;0;'Wednesday'
¬GT1200;3100;0;'Thursday'
¬GT1500;3100;0;'Friday'
¬GT1800;3100;0;'WEEKDAY'
¬GX'Labels Y-Axis'
¬GT200;2700;0;'10'
¬GT200;2400;0;'20'
¬GT200;2100;0;'30'
¬GT200;1800;0;'40'
¬GX'Legend (boxes with text)'
¬GT200;1650;0;'# OF CALLS'
¬GB1;1700;1650;1750;1700;10
¬GT1760;1700;0;' = BOYD'
¬GB1;1700;1750;1750;1800;75
¬GT1760;1800;0;' = GARY'
¬GB1;1700;1850;1750;1900;50
¬GT1760;1900;0;' = SHAWN'
¬GX;'Font Change Command'
¬Q4813
¬GX'Title'
¬GT500;1500;0;'SALES CALLS PER
DAY'
¬GX'Font Change Command'
¬Q4808
¬GX'Subtitle'
¬GT600;1550;0;'Week of:'
¬GT900;1550;0;'March 24, 1995'
6.8 Linking Graphical Output to a
Host Application
There are several ways to link the
graphical output to a host
application. One method is to simply
add the IOGL commands to the
application code. This means that
whenever the application is used and
sent to the printer, the IOGL
commands are also sent.
Another method is to design a
separate subroutine that sends the
IOGL output to the printer as a
macro. The IOGL macro will only be
sent to the printer once and resides
in the printer’s active memory until
the printer is powered down. The
application code requires only a
macro call and does not require the
complete graphic to be downloaded
when a report is printed.
To store the IOGL output as a
printer macro, begin the IOGL
routine with a PCL command that
begins a macro by typing:  ¬E&f#y0X
For the # symbol, substitute a
number that identifies the macro.
Make sure this command precedes
all IOGL commands. Also, be aware
that PCL is case-sensitive.
At the end of the IOGL routine,
stop the macro and save it
permanently (until the printer is
powered down) in the printer’s
memory. To end the macro, type:
¬E&f#y1X
To save the macro permanently
(until the printer is powered down)
type: ¬E&f#y10X. Store this macro in
the printer’s memory by “printing” it.