Hitachi Koki USA DDC 35n User Manual
Page 127
 
6.2 UNIX Printing
6-37
T
C
P/IP
Co
nfig
ur
ati
o
n
Cha
p
ter 6
6.
Shut down the qdaemon using the command
#stopsrc -s qdaemon
7.
Edit /usr/lpd/qconfig to change the special file for device 
<printer_name> from /dev/<printer_name> to /dev/nic/
<printer_name>. 
8.
Restart the daemon with:
#startsrc -s qdaemon
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 device, 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 device name <printer_name> for 
configuration purposes. During this process you also select a particu-
lar printer type for the new printer, which inherits the set of pre-
defined attributes for that printer type. In most cases, this set of 
attributes will be sufficient, but it can be changed either through 
SMIT or by using the 
chvirprt
command. If you need more extensive
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>