× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If you choose to use an external print file you can CRTPRTF with the number
of copies as a parm.

If N changes from job to job you might want to use OVRPRTF instead.

You can use these commands in a QCMDEXE statement within your RPG, but use
USROPN on your printer file and open the printer file after you do the
override. 
 
---------------------------------
Booth Martin
http://www.martinvt.com
---------------------------------
-------Original Message-------
 
From: RPG programming on the AS400 / iSeries
Date: 10/05/05 09:26:30
To: RPG programming on the AS400 / iSeries
Subject: printing multiple copies without CL
 
Is there any way that my RPG program prints N copies of the generated
report, without having to resort to CL to modify the spool job?
 
Been going through the documentation, but no luck so far...
 
Thanks for any clues. It's not vital, but would be nice.
 
Regards,
 
I.-

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.