M a n u a l I n s t a l l a t i o n P r o c e d u r e
C h a p t e r 5 : U s i n g t h e P r i n t e r w i t h U N I X T C P / I P
❖
5-31
5
Create the directory for the spooled files.
For example:
m k d i r / u s r / s p o o l /
x r x
c h o w n d a e m o n / u s r / s p o o l /
x r x
c h m o d 6 6 6 / u s r / s p o o l /
x r x
where
x r x
is the name of the spooler.
6
Edit
/etc/printcap
to add an entry for the Xerox printer.
For example, the following entry defines a printer with the
PostScript option, on the XNIO port (port 1, TCP port 2501),
the rprint program residing in the usr/xrx directory, and the
spooler residing in the usr/spool/xrx directory.:
x r x | x r x | X N I O p r i n t e r : \
: l p = / d e v / x r x : \
(dummy device name)
: s d = / u s r / s p o o l / x r x : \
(dir for spooled files)
: o f = / u s r / x r x / r p r i n t : \
(location of rprint program)
: x r x _ n = 1 3 8 . 2 3 9 . 1 1 1 . 1 1 1 : \
(server IP address)
: x r x _ p = 2 5 0 1 : \
(TCP port number)
The following additional entries are recommended for
PostScript printers:
: m x # 0 : \
(unlimited buffer space)
: s h : \
(suppress burst page headersheet)
: s f : \
(suppress form feeds)
: x r x _ t e x t = d i s a b l e :
(required for PostScript)
The last line should not end with the backslash (\). All
preceding lines do.
7
Initialize the new spool device. For example:
l p c s t a r t
x r x
(printer name in printcap file)
8
Print a PostScript test file using a command similar to the
following:
l p r - P x r x
p s _ f i l e
Etr-ch05 Page 31 Thursday, October 24, 1996 7:31 PM