man.bsd.lv manual page server

Manual Page Search Parameters

PSROFF(1) General Commands Manual PSROFF(1)

psroff - ditroff to a POSTSCRIPT printer

psroff [ -t ] [ troff options ] [ spool options ] [ files ]

psroff is a shell script that runs [di]troff(1) in an environment to produce output on a POSTSCRIPT printer. It uses psdit to convert ditroff 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 ditroff options, the following options are understood by psroff.

sends the POSTSCRIPT output to the standard output, rather than spooling it to a printer. Note that this overrides the meaning of the ditroff -t option; if you want that, run ditroff directly.

In 4.2bsd UNIX systems, the following spooler options are passed on to lpr.

causes the output to be sent to the named printer.
-#n
causes n copies of the output to be produced. The default is one.
suppress the printing of the job burst page.
set the job classification for use on the burst page.
set the job name for use on the burst page. Otherwise, the name of the first input file will be used.
send mail after files have been printed.

In System V UNIX systems, the following spooler options are passed on to lp.

causes the output to be sent to the named destination.
causes n copies of the output to be produced. The default is one.
suppress the printing of the job burst page.
don't page-reverse the output.
suppress messages from lp.
send mail after files have been printed.
write to user's terminal after files have been printed.

the name of a printer (as in the -P option) for lpr to use. If no -P option is specified, lpr will use this printer. If neither -P nor PRINTER is set, psroff will spool to a printer named ``PostScript''.
the name of a printer (as in the -d option) for lp to use. If no -d option is specified, lp will use this printer. If neither -d nor LPDEST is set, psroff will spool to a printer class named ``PostScript''.

/usr/lib/tmac/tmac.*
standard macro files
/usr/local/lib/font/devpsc/*
ditroff description files for POSTSCRIPT virtual device.

[di]troff(1), psdit(1), eqn(1), tbl(1), pic(1), refer(1), ideal(1).
4.2bsd: lpr(1).
System V: lp(1).
J. F. Ossanna, Nroff/Troff user's manual
B. W. Kernighan, A TROFF Tutorial and A Typesetter-independent TROFF
Documenter's Workbench

Adobe Systems Incorporated

The eqn supplied with ditroff is different than the original. Use the options -r576 -m2 for best results. Other programs (e.g., pic) distributed with ditroff have the device names compiled in (so much for device independence!). They should just have a -T option and read the device description file for the information they need. Use -T576 with the pic distributed with DWB.

POSTSCRIPT is a trademark of Adobe Systems Incorporated.
Documenter's Workbench is a trademark of AT&T Technologies.

12 Nov 1985 Adobe Systems