Yes, there is another easy way but we usually recommend software for this. RPM, OI, and other software packages do this wonderfully. Without ANY programming on the 400 side and gives you tons of flexibility. RPM allows you to save to disk, then modify or add information, then shoots it out to the printer. And RPM will email the file once modified or added to.
Furthermore, <b>you can print it to just about any type of printer</b>, not limited to an AS400 or large network printer… you can print it to your own desktop. Check out how RPM takes the <a href=”http://www.as400tcpipprinting.com/desktopprinting.html”>AS400 spool file and allows you to modify</a>, as I’m sure it will help. We’ve used other vendors also which do work, RPM has had the best track record and best feedback from our clients though.
Best of luck!
Yes, note the *FCFC keywords retain the printer control spacing, newpage, new lines. steps:
0. create a tempory flat file wide enough + 1 (printer file is 132 – create a file 133 wide )
1 copy to a flat file CPYSPLF to your temp flat file include control chara *FCFC
3. copy to splf OVRPRTF FILE(QSYSPRT) CTLCHAR(*FCFC) OUTQ(&OUTQ) +
FORMTYPE(COPYPACK) HOLD(*NO) SAVE(*NO) +
CPYF FROMFILE(QTEMP/Temp) TOFILE(QSYSPRT)