
60 CONFIGURING THE M208 FOR TCP/IP: Host Configuration
Select p as the port number.
Select ppa0 as the adapter.
Select a printer type that best matches what you are using.
Select a device lp0. If this device is not available, go back and select “Remove a
Printer/Plotter” and remove lp0 making it available for your next run through.
AIX has a limit of four physical devices. If you run out, IBM suggests deleting the
device after completing a print setup thus making it available for future setups.
3 Create a new queue. Enter:
mkque -q queue2
4 Create a queue device to do the one-to-one mapping with the printer and specify
the backend program for the qdaemon to send print jobs to. Enter:
mkquedev -d lp0 -q queue2 -a ‘backend = /usr/lib/lpd/
piobe’
Sometimes /usr/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 -q queue2 -d lp0 -n lp0 -s pcl -t hplj3
-s is usually pcl but can also be ps (Postscript) or asc (ASCII). This does not
seem to affect the output on the printer so it may be best to use pcl.
6 Change the pio-file for your queue. This will be located in /usr/lib/lpd/pio/cus-
tom and will be called queue2:lp0 after the queue and queue device names.
Change the line beginning with 307 mo::. Enter:
307 mo::rsh spike lp -d d1prn
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 M208.
For destinations other than d1prn, please see Destinations on page 89.
7 Run chvirprt since the print setup has been altered and needs updating. Enter:
chvirprt -q queue2 -d lp0
If you need to delete an entire print setup, use the rmvirprt command.
Note
Note
Note
Note