08/01/96, 4FAX# 5640 Double-Queueing SPECIAL NOTICES Information in this document is correct to the best of our knowledge at the time of this writing. Please send feedback by fax to "AIXServ Information" at (512) 823-4009. Please use this information with care. IBM will not be responsible for damages of any kind resulting from its use. The use of this information is the sole responsibility of the customer and depends on the customer's ability to eval- uate and integrate this information into the customer's operational environment. +----------------------------------------------------------+ | | | NOTE: The information in this document has NOT been | | verified for AIX 4.1. | | | +----------------------------------------------------------+ ABOUT THIS DOCUMENT 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 for- matting, 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 versions 3.2.5. ABOUT DOUBLE-QUEUEING With double queueing you setup 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. SETTING UP A DOUBLE-QUE The steps below describe setting up a remote queue, and then a local queue that contains a virtual printer. The virtual printer "mo" attribute on the local system is changed to 'mo=qprt -Premote_queue', where remote_queue is the queue name of the remote queue. 1. Use the command "touch /dev/newdevice1" to create a file in the /dev directory to represent this print device. 2. Use normal AIX procedures for setting up the local virtual printer and remote queues. The remainder assumes that the remote queue is already setup and does work. Double-Queueing 1 08/01/96, 4FAX# 5640 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) 3. Enter number from list above (press Enter to terminate): -> 1 Name Description lp0 IBM 4029 LaserPrinter lp1 IBM 4247 in 4202-IIIXL mode 4. Enter device name (or, ! to exit): -> newdevice1 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 you still can enter it here. Now you have the list of printer types: 20 IBM 4072 ExecJet 21 IBM 4079 Color Jetprinter PS [ 57 more ] 5. Enter number from list above (press Enter to terminate): -> 21 NOTE: Enter the number for the printer you have attached. 6. Finish adding the printer by typing the following command, which will inform the virtual printer to pass the newly formatted job over to the existing remote print queue. chvirprt -q loc_queue -d device_name -a "mo=qprt -Premote_queue" Double-Queueing 2 08/01/96, 4FAX# 5640 READER'S COMMENTS Please fax this form to (512) 823-4009, attention "AIXServ Informa- tion". You may also e-mail comments to: elizabet@austin.ibm.com. These comments should include the same customer information requested below. Use this form to tell us what you think about this document. If you have found errors in it, or if you want to express your opinion about it (such as organization, subject matter, appearance) or make sug- gestions for improvement, this is the form to use. If you need technical assistance, contact your local branch office, point of sale, or 1-800-CALL-AIX (for information about support offer- ings). These services may be billable. Faxes on a variety of sub- jects may be ordered free of charge from 1-800-IBM-4FAX. Outside the U.S. call 415-855-4329 using a fax machine phone. When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any way it believes appropriate without incurring any obligation to you. NOTE: If you have a problem report or item number, supplying that number may help us determine why a procedure did or did not work in your specific situation. Problem Report or Item #: Branch Office or Customer #: Be sure to print your name and fax number below if you would like a reply: Name: Fax Number: ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ END OF DOCUMENT (double.que.zap, 4FAX# 5640) Double-Queueing 3