Remote Printers; Output Filters - Sun Microsystems Sun Workstation 100U System Manager's Manual

Table of Contents

Advertisement

Setting Up
Ip1LA-180 DecWriter 111:\
:lp=/dev/lp:br:f/:I 200:fs:f/:06320:\
:tr=\f:of=/usr/lib/lpf:lf /usr/adm/lpd-ern:
Line Printer Spooler Manual
The Ip entry specifies the file name to open for output. In this case it could be left out since
"/ dey /Ip" is the default. The br entry sets the baud rate for the tty line and the
I.
entry sets
eRMOD,
no parity, and XTAB8 (see
ttU(4».
The tr entry indicates a form-reed should
be
printed when the queue empties so the paper can be tom oft without tuming the printer oft-line
and pressing form reed. The
01
entry specifies the filter program Ipl should be used for printing
the files; more will be said about filters later. The last entry causes errors to
be
written to the
file "/usr/adm/lpd-errs" instead of the console.
4.1.2. Remote Printers
Printers which reside on remote hosts should have an empty Ip entry. For example, the follow-
ing printcap entry would send output to the printer named "lp" on the machine "ucbvax".
Ipldefault line printer:\
:lp=:rm=ucbvax:rp=lp:sd=/usr/spool/vaxlpd:
The rm entry is the name of the remote machine to connect to; this name must appear in the
/etc/hosts database, see ho6t6(S). The rp capability indicates the name of the printer on the
remote machine is "Ip"; in this case it could
be
left out since this is the default value. The.d
entry specifies "/usr/spool/vaxlpd" as the spooling directory instead of the default value of
"/ usr / spool/lpd".
4.2. Output Filters
Filters are used to handle device dependencies and to perform accounting functions. The out-
put filter of is used to filter text data to the printer device when accounting is not used or when
all text data must be passed through a filter. It is not intended to perform accounting since it
is started only once, all text files are filtered through it, and no provision is made for passing
owners' login name, identifying the begining and ending or jobs, etc. The other filters (ir
specified) are started for each file printed and perform accounting if there is an .1 entry. If
entries for both
01
and one of the other filters are specified, the output filter is used only to
print the banner page; it is then stopped to allow other filters access to the printer. An example
or a printer which requires output filters is the Benson-Varian.
valvarianlBenson-Varian: \
:Ip=/dev /vaO:sd=/usr/spool/vad:or=/usr/lib/vpf:\
:tr=/usr/lib/rvcat:mx# 2000:pl#58:tr=\l:
The tl entry specifies "/usr/lib/rvcat" as the filter to be used in printing Iro6{l) output. This
filter is needed to set the device into print mode for text, and plot mode lor printing
tr06
files
and raster images (see vp(48)). Note that the page length is set to 58 lines by the pi entry lor
8.S" by 11" fan-rold paper. To enable accounting, the varian entry would be augmented with
an .1 filter as shown below.
4
27 July 1983

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents