Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending spool files to printer

Status
Not open for further replies.

mnrunner

Programmer
Feb 13, 2004
2
US
What's the best way to send same named spool files (with differnet user ids & job info) to a printer on command.

Commands like CHGSPLFA seem to require specific job or user info
 
You can either do an OVRPRTF before you call the program which opens the printer file (you can even do that from within the program itself by calling QCMDEXC, provided the printer file is user-controlled and it's closed when you do the override).

Or, if these are specific printer files, and you are 100% sure that everything that prints from that printer file goes to a specific printer only, you can CHGPRTF and chage the outq for that printer file.


"When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for here you have been, and there you will always long to return."

--Leonardo da Vinci

 
What I want to happen is for people to post order acknowledgements into this outq all day long. Then
towards the end of the day they would all be printed.
 
So do like above and send everything to that outq which is held. Then either by a jobscde or manually, you release the outq and everything will print. When printing is done, you hold it again. If you have any other questions, let me know.

iSeriesCodePoet
iSeries Programmer/Lawson Software Administrator
[pc2]
See my progress to converting to linux.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top