Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: printer - Constructor Up: misc - Module Previous: about - Function


printer - Tool



Package utility
Module misc


Postscript file available

Print files

include "printer.g"

Constructors
printer Create a printer access tool
Functions
gui Send some files to the printer using a GUI
print Send some files to the printer
printvalues Print some Glish values
reinit Reset the printing parameters



Description
The printer class provides access to ``printing'' text and postscript files both to a printer or to ghostview. The printing can take place in a number of formats (portrait, landscape, two-up) and paper formats (letter, A3, A4). The actual work is carried out behind the scenes by the pri shell script, which in turn calls lwf_a. Both of these are documented in the system manual.

A GUI control panel is also provided by this class - this is suitable for use both by users directly, and through a ``Print...'' item on a GUI.

The major change that is needed is that defaults should be pulled in from aipsrc rather than assumed (printer.default is used though if the PRINTER environment variable is not set).



Example
- p := printer()
- p.gui()




next up previous contents index
Next: printer - Constructor Up: misc - Module Previous: about - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15