In AIX 3.2.5 the standard backend for doing remote printing does not have all the capabilities of a local queue backend. This includes sending printer initialization, print job formatting, and accounting. In order to provide this facility, you may choose to do what is called "double-queueing". This document describes the steps for setting up double-queueing and is applicable to AIX Version 3.2.5.
With double-queueing, you set up a local queue which does all the actions described above. It then sends the output to the remote queue. Once established, you will submit your jobs to the local queue which then resubmits them to the remote queue.
The steps below describe setting up a remote queue and then a local queue that contains a virtual printer. The virtual printer's mo attribute on the local system is changed to mo=qprt -P[remote_queue], where remote_queue is the queue name of the remote queue.
mkvirprt No. Description 1 Printer or Plotter Attached to Host 2 Printer or Plotter Attached to Xstation 3 Printer or Plotter Attached to ASCII Terminal 4 Network Printer (Hewlett-Packard JetDirect) 5 Printer or Plotter Attached to IBM 4033 LAN Connection 6 Printer Attached to IBM Integrated Network Option 7 Network Printer (Hewlett-Packard JetDirect)
-> 1 Name Description lp0 IBM 4029 LaserPrinter lp1 IBM 4247 in 4202-IIIXL mode
This newdevice1 entry will allow us to create a virtual printer without using a tty or lp device.
NOTE: Your newdevice1 is not seen from the listing, but it can still be entered here.
Now you have the list of printer types:
20 IBM 4072 ExecJet 21 IBM 4079 Color Jetprinter PS [ 57 more ]
NOTE: Enter the number for the printer you have attached.
chvirprt -q loc_queue -d device_name -a "mo=qprt -Premote_queue"
[ Doc Ref: 90605188514730 Publish Date: Dec. 31, 1999 4FAX Ref: 5640 ]