Black Box manual Linking Graphical Output to a Host Application, A/C-7P RO, A/C-7S RO

Models: A/C-7S RO A/C-7P RO

1 149
Download 149 pages 3.02 Kb
Page 105
Image 105
6.7.4LABELS/TITLE/SUBTITLE/LEGEND

A/C-7P RO, A/C-7S RO

6.7.4LABELS/TITLE/SUBTITLE/LEGEND

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.8Linking 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

106

Page 105
Image 105
Black Box manual Linking Graphical Output to a Host Application, A/C-7P RO, A/C-7S RO, Labels/Title/Subtitle/Legend