Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>hp_setup()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HP_SETUP()
   Sets up an HPGL device prior to printing.

   Syntax
         HP_SETUP(nPlotterType)

   Arguments
         nPlotterType Sets the default orientation for the HPGL output device.
                      0 - Default Landscape - HPGL      HP7475A
                      1 - Default Portrait  - HPGL/2    HP LaserJet III
                      2 - Default Landscape - HPGL/2    HP7550 plus

   Returns
         None

   Description
         An HPGL device such as an HP plotter or LaserJet III has a default
         orientation. The plotter defaults to landscape, while the LaserJet
         III defaults to a portrait orientation. nPlotterType indicates the
         default orientation: 0 for landscape and 1 for portrait. When you set
         up the device with HP_SETUP(), you must indicate the default
         orientation.

   Note: For Summer '87 users.
         The Clipper RS_232 Serial Printer Routine (SET PRINTER TO COM) was
         used to send the HPGL instructions to the plotter. However, when the
         plotter's buffer gets full, it sends a signal to stop the data from
         being sent. When this happens, the ERRORSYS.PRG file will print on
         the screen that the printer has stopped. A small modification has
         been made to the ERRORSYS.PRG so that it will wait and retry when the
         plotter instructions are being sent. You will find the new version of
         ERRORSYS.PRG in your LIBRARY subdirectory within the directory you
         had FLIPPER installed. It must be included on the link line at the
         time you link your application. ERRORSYS.PRG will not work if
         included in the library.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson