U N I X P r i n t i n g
C h a p t e r 5 : T C P / I P C o n f i g u r a t i o n
❖
5-43
The specific commands to do this are:
lpadmin -p printer_name -v /dev/nic/printer_name
enable printer_name
accept printer_name
You can also use other options for the lpadmin command. See
your system documentation for details. Note that the printer
name must be the same as the one you entered during NIC
installation. SCO supplies the
sam
program as an alternative
to configure the printer.
When using
sam
, specify everything as if the printer were
directly connected to /dev/nic/printer_name.
The software installed with your SCO system can satisfy most
of your printing needs. SCO supplies ASCII-to-PostScript
filters and the system will invoke them automatically if you
define the content type of the printer as PostScript. The SCO
UNIX lp system also supplies interface scripts that produce
PostScript banners. Use the lpfilter command to define new
filters and content types if necessary. The full power and
flexibility of the lp print service is now apparent. Your
printing across the network is completely transparent.
Installing and Printing on an AIX RISC System/6000
The AIX printing subsystem is driven by the qdaemon
program. The qdaemon uses configuration information stored
in the /usr/lpd/qconfig file to manage queues and route jobs
to the proper devices. This information includes entries for
each virtual printer and physical device known to the system.
An AIX virtual printer is simply a high level software view of
a data stream, queue, and device that controls how a given
job will be processed. A different virtual printer should be
defined for each data stream that a real printer supports. For
example, you would use different virtual printers for
PostScript and PCL jobs even though they are destined for
the same physical printer.
Book.frm : CHAP5.FRM Page 43 Saturday, October 12, 1996 7:43 AM