psroff(1) psroff(1)NAME psroff - troff to a POSTSCRIPT printer SYNOPSIS psroff [-t] [troff-option...] [spool-option...] [file...] DESCRIPTION psroff is a shell script that runs troff(1) in an environ- ment to produce output on a POSTSCRIPT printer. It uses psdit to convert troff intermediate output to POSTSCRIPT format, and spools this for printing. If no files are specified, the standard input is used. In addition to the standard troff options, the following op- tions are understood by psroff. -t Send the POSTSCRIPT output to the standard output rather than spooling it to a printer. Note that this overrides the meaning of the troff -t option; if that option is needed, then run troff directly. The following spooler options are passed on to lp. -ddest Causes the output to be sent to the named destina- tion. -nn Causes n copies of the output to be produced. The default is one. -h Suppresses the printing of the job burst page. -r Doesn't page-reverse the output. -s Suppresses messages from lp. -m Sends mail after files have been printed. -w Writes to the user's terminal after files have been printed. Using psroff is equivalent to using the standard pipeline of commands troff -Tpsc options | psdit | lp options Using psroff instead of this pipeline involves less typing, but the entire sequence may take slightly more time since a shell script will be executed. ENVIRONMENT LPDEST The name of a printer (as in the -d option) for lp to use. If no -d option is specified, lp April, 1990 1
psroff(1) psroff(1)will use this printer. If neither -d nor LPDEST is set, psroff will spool to a printer class named PostScript. FILES /usr/bin/psroff /usr/lib/tmac/tmac.* standard macro files /usr/lib/font/devpsc/* troff description files for POSTSCRIPT virtual device. SEE ALSO daiw(1), eqn(1), lpr(1), lp(1), pic(1), psdit(1), refer(1), tbl(1), troff(1). ``nroff/troff Reference'' in A/UX Text Processing Tools. BUGS The eqn supplied with troff is different than the original. Use the options -r576 -m2 for best results. Other programs (for example, pic) distributed with troff have the device names compiled in (so much for device independence!). Use -T576 with the pic distributed with the Documenter's Work- bench. If your output is destined for an Apple ImageWriter II printer, use the -Tiw flag option for both pic and eqn. 2 April, 1990