If you know any software or idea how to address this issue, please let me know.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
- Create a PF with a record length of at least 134 characters (assuming that none of the spooled files are wider than the standard 132 characters)
- Use the CPYSPLF command for each file in the output queue, copying the spooled file into the PF with the options MBROPT(*ADD) CTLCHAR(*FCFC).
- Issue an OVRPRTF command against an existing PRTF definition, being sure to specify CTLCHAR(*FCFC) OVRSCOPE(*JOB)
- Use the CPYF command: CPYF FROMFILE(
) TOFILE( )
If the new combined spooled file can be printed on the AS/400, then it can be routed to the desired output queue and released. If it needs to be printed on a LAN printer, then you would probably be best off converting it to a PDF using one of the many choices on the iSeries for PDF creation.
The trickiest part of this might be getting the list of spooled files in a particular output queue.
Dig Deeper on Printing on iSeries
Related Q&A from Chip Milosch
When encountering difficulties printing using Personal Communications 5.7, analyze the printer setup process to fix any problems.continue reading
Issue an override print file command before copying a file to QSYSPRT in order to acknowledge control characters without writing a program on the AS/...continue reading
To set up a printer with a built-in NIC as a stand-alone printer, define it as an ASCII printer on the AS/400 and use the host print transform ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.