Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Print ASCII or POSTSCRIPT files.
pri [-m mode] [-p paper] [-P printer] [-t type] [-w] [file1 [file2 ...]]
pri prints ASCII or POSTSCRIPT files on a POSTSCRIPT printer with a variety of formatting options. If no files are specified the input is taken from stdin.
If the file is in standard POSTSCRIPT form in which the first line begins with %! it will be sent to the POSTSCRIPT printer without conversion. Otherwise, it will be converted to POSTSCRIPT using the lwf_a (p) utility. This behaviour can be explicitly overridden with the -t option.
If no printer is specified via the -P option, the printer is that returned by the prd (p) command.
A space is allowed between the option letter and its value (if any).
p
Portrait mode.
l
Landscape mode.
72
Two-column portrait mode for files with lines not exceeding 72
characters in length.
80
Two-column landscape mode for files with lines not exceeding 80
characters in length.
3 or A3
Metric A3
4 or A3
Metric A4
l or letter
Letter
txt
ASCII text file.
ps
POSTSCRIPT file.
All other options are passed to lwf_a (p).
A3
metric A3
A4
metric A4 (default)
letter
American letter size
The command:
pri -m 80 aips.h
would print aips.h in two-column landscape format.
getrc (p), query AIPS++ resource database.
lwf_a (p), POSTSCRIPT filter.
pra (p), print AIPS++ class implementation files.
prd (p), report the default printer.
prm (p), delete entries from the printer queue.
prq (p), list contents of the default printer queue.
Original: 1992/03/04 by Mark Calabretta, ATNF.