6.2 UNIX Printing

6-37

TCP/IP Configuration Chapter 6
6. Shut down the qdaemon using the command
#stopsrc -s qdaemon
7. Edit /usr/lpd/qconfig to change the special f ile for de vice
<printer_name> from /de v/<printer_name> to /de v/nic/
<printer_name>.
8. Restart the daemon with:
#startsrc -s daemon.”
The installation script then will create the named pipe and starts the
supplied print daemon using the printer name and NIC information
you supplied. Since the AIX System Management Interface Tool
(SMIT) will not accept a named pipe as a printer de vice, the installa-
tion script also creates a null character device in /dev/
<printer_name>.
6.2.3.9.1 Virtual Printer Commands
Virtual printers can be added either through SMIT or through the
mkvirprt command, entering the de vice name <printer_name> for
configuration purposes. During this process you also select a particu-
lar printer type for the ne w printer, which inherits the set of pre-
def ined attributes for that printer type. In most cases, this set of
attributes will be sufficient, b ut it can be changed either through
SMIT or by using the chvirprt command. If you need more e xtensiv e
changes on your printer, see the AIX RISC System/6000 documenta-
tion for assistance. After the virtual printer has been added, there will
be a stanza in /usr/lpd/qconfig for device <printer_name> that looks
like the following:
<printer_name>:
file=/dev/<printer_name>
backend=/usr/lpd/piobe
Edit /usr/qconfig and change
file=/dev/<printer_name> to file=/dev/nic/
<printer_name>
PageWorks.book Page 37 Tuesday, August 4, 1998 11:21 AM