• Subject: RE: Switch WTR-OUTQ
  • From: "Kahn, David (kahn)" <KAHN@xxxxxxxxxxxxxxxxxx>
  • Date: Fri, 14 Nov 1997 11:04:34 +0500


I don't think you can attach two output queues to one printer at the
same time, but you should be able to pipe one output queue into another
using TCP/IP, although it's a bit messy IMO.

You could change the description of PRT2 along these lines:

Writers to autostart = 0
Remote system = (local system name)
Remote printer queue = PRT1
Connection type = IP
Destination type = *OS400
Transform SCS to ASCII = *NO

When you issue a STRRMTWTR PRT2 command, any ready items in PRT2 will be
transferred automatically to PRT1 using LPR/LPD services, where they
will then be printed on P1. To turn it off you isuse ENDWTR PRT2

If you want also to be able to attach PRT2 to another local printer, say
P2, then you could uglify it a bit further by having a CL program that
automatically ends the writer, changes the output queue description and
restarts it with either the STRPRTWTR or STRRMT writer command.


Dave Kahn, TCO, Kazakstan

kahn@tengizchevroil.com   (to November 25)
dkahn@cix.compulink.co.uk (from November 26)

>-----Original Message-----
>From:  Tim Truax [SMTP:truax@usaor.net]
>Sent:  Thursday, 13 November, 1997 13:12
>To:    midrange-L@midrange.com
>Subject:       Switch WTR-OUTQ
>Hi All;
>Here's my question.  If I have an OUTQ named PRT1, and the OUTQ is
>attached to a writer named P1, and I want to add another OUTQ to P1
>temporarily, say PRT2.  Can I do this?  I looked at the CHGOUTQ and
>WRKWTR but found no specific area where it seemed allowable.
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].