345 pts.
 Number of copies how to print in printer file
i want to print 10 no of identical copies to print,how to we do to print in cobol/400

Software/Hardware used:
ASKED: September 23, 2011  12:12 PM
UPDATED: March 31, 2012  1:18 AM

Answer Wiki:
The number of copies you want to print is an attribute of the spool file, not the program that produced it. If the SPLF is still in the spool queue, you can change number of copies by using option 2=change and doing F4 prompt and chane COPIES from 1 to whatever number you want. If this is something that prints as soon as it it is produced, you need to use the OVRPRTF command just before you call the program. Or if the PRTF is only used in the program, you can do CHGPRTF and make the change to COPIES
Last Wiki Answer Submitted:  September 26, 2011  12:08 pm  by  CharlieBrowne   33,730 pts.
All Answer Wiki Contributors:  CharlieBrowne   33,730 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I have used OVRPRTF with no of copies as ’10′.

 345 pts.

 

Is there a command to mass print your entire spool without having to mark each and every file in queue?

 10 pts.

 

Is there a command to mass print…Are you needing to mass-print with multiple copies? If not, then this seems unrelated to this question thread. Open a new question thread to get better attention to your question and to make future searches easier for others.Tom

 110,185 pts.

 

You issued the  OVRPRTF with the correct file name with no of copies as ’10′.before calling the COBOL program in the same job stream?  That should do what you want.

 44,630 pts.

 

How is your printer configured?  If it is an IP attached printer, you may only get one copy regardless of the copies specified in the OVRPRTF command.  It depends on your configuration. 
If IP attached printer, did you code anything in the Destination Options?

 5,570 pts.