101
CHAPTER 6: UNIX Printing through TCP/IP
The remaining arguments are optional. dpifilter uses them to produce a
high quality banner. The lp print service user name, request id, file names
and options always pass to the interface file. There they will be available in
any interface script as shell variables although they may have different names.
If you disable banners in the lp command, the system will set the
${nobanner} option to yes. This will suppress the banner generation.
If you don’t define the FILTER shell variable in your interface file, you can
usually modify it to pipe data to dpifilter. The simplest way to accomplish this
is to enclose the entire script in parentheses and pipe it to dpifilter, using the
arguments described above.
If you wish to use the banner generated by the interface file, simply omit
the last four arguments. Note that these arguments are shell variables from
the interface file—they may have different names. We used names from the
standard interface file supplied with most Version 2 and i386 systems. If you
experience difficulties, call for technical support.
PostScript Printing
The lp print service commands installed with your system will satisfy most
printing needs. They include: ASCII-to-PostScript filters that are invoked
automatically if you define the content type of the printer as PostScript.
You can use the lpfilter command to define new filters and content types
if necessary. The full power and flexibility of lp print service is available.
Printing across the network is transparent once you have properly configured
your printer.
6.10 Installing and Printing on an SCO UNIX System
Installation and setup is similar for HP/UX and SCO UNIX systems. Our
solution uses a network direct filter called dpifilter. The system invokes
dpifilter directly from the printer interface file.
After completing steps 1-5 on page
X
and
Y
, you must still configure
the printer and make it known to the lp system. Follow the steps below:
6. Select your system. Choose one from these options:
1) AT&T/SVR4; 386
2) SCO UNIX System V
3) None of the above
Type 1, 2, or 3 and press <Return>.