Chapter | 5 | Configuring the Internal Ethernet Adapter for TCP/IP |
|
|
|
|
|
|
4.Create a new queue device to do the
mkquedev
NOTE: Sometimes /usr/lib/lpd/piobe is the location of this backend program.
5.Create a virtual printer. This associates the queue, queue device, printer/plotter, name, data type, and printer/plotter type. Enter: mkvirprt
NOTE:
6.Change the
Enter:
307 mo::rsh spike lp
NOTE: This file is only created after the mkvirprt command has been executed in step 5. This step redirects the print job over the network to the Internal Ethernet Adapter.
7.Run chvirprt since the print setup has been altered and needs updating. Enter:
chvirprt
NOTE: If you need to delete an entire print setup, use the rmvirprt command.
This is the /etc/qconfig entry created for this particular setup:
queue2: | queue stanza |
device = lp0 | by mkquedev (queue |
| device) |
up = TRUE | printer’s ready to go |
lp0: | queue device stanza |
backend=/user/lib/lpd/piobe | for local printing |
170