I’ve had similar requests before and needed to change the programs to get the pages printed in the right sequences.
As far as I know, there’s no setting anywhere on the AS400 to allow this.
Maybe there’s something AFP, but that’s something I’ve never used.
Sorry to disappoint you.
This would be lame but you can put all the spool files on hold and save and then
print page 1 to 1 twice, page 2 to 2 twice, etc.
Get the list – wrkoutq to *print – copy to a datafile
read each row – substring for the data you need — TATOOL should have something for these steps?
set &page to 1
1. change the print-from and print-to &page
2. release the file wait
— wait until splf status in Save RTVSPLFA2 TAATOOL Retrieve Spooled File Attr 2 – RTVSPLFA2
3. release the file again
— wait until splf status is Save
4. change &page to &Page +1
loop until you reach the number of pages in the file + 1
proceed to the next spool file.
Second option would be a little like the first, probably prints faster
– copy each spool file to temp datafile with *FCFC
then read with RPG and write each page twice (one of the *FCFC values indicates new page into wrkfile 2
then copy wrkFile 2 to a spool file and release or move the the active outq. Will not work for AFPDS.
Third option would be to alter each program so it writes each page twice. That would be miserable.
Curious: why would anyone want it in this order? This was a PC invention to speed up printing.
Given the options that you’ve got it will slow down printing and cost $!