|
First, ensure that the spool file is on hold before it starts printing. Then: CRTPF ABC RCDLEN(page width + 1) CPYSPLF TOFILE(ABC) CTLCHAR(*FCFC) OVRPRTF QPRINT CTLCHAR(*FCFC) OUTQ(WHATEVER) plus LPP, CPL, CPI, etc. as necessary CPYF ABC QPRINT Release the original spool file as required. Instead of the above, you might also be able to use SNDNETSPLF DTAFMT(*ALLDATA), but I'm unsure whether the "sent" spool file inherits the default outq of the user you send it to; it might require user intervention to release the sent spool file to the desired outq. HTH, Dan Bale -----Original Message----- From: dbryant@banpharm.com [mailto:dbryant@banpharm.com] Sent: Tuesday, February 29, 2000 4:06 PM To: MIDRANGE-L@midrange.com Subject: Duplicate or Copy a Spoolfile to another printer. I have a request that seems simple enough, but I can't remember how to do it simply. What is the easiest way that I canautomatically allow a report to print to one printer, then print the same report to another printer, without having to rerun the program? Same system, different printer. Thanks in advance! +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.