Please excuse the length of the post but I am new here and not quite sure how to get across what I need. We have a spool file that we do not have source for, it's from our financial application and cannot be changed. I need to take data from that spool file and place it in specific location on an overlay that includes our logo, some boxes, a watermark, and a few other graphics. I have created and uploaded the overlay with no problem, and attached it to the spool file. The overlay prints great, but the spool file data prints exactly like it looks in the spool file. How can I map the spool file data to a position on the overlay? For example, in the spool file (MYSPOOLF) the employee name is on line 4, beginning in position 20 for a length of 30 characters. I need the employee name to be printed, with the overlay (MYOVERLAY), in the position of 1 inch down and 2 inches across. Is there a way to do this without using a purchased package? Someone told me InfoPrint did this, but I don't think we have that (is there a way to check?). Thanks in advance for any info (the "For Dummies" version would be especially appreciated!).
Software/Hardware used:
OS400 v5r4
ASKED:
October 24, 2010 12:51 AM
UPDATED:
February 16, 2011 5:22 PM
Please excuse the length of the post but…
I’m not sure if you’re apologizing because you think you wrote too much or too little. I think you wrote to little.
Are you wanting your single overlay to reposition different blocks of a fixed spooled file to different locations on the printed page? Without recreating the printer file description?
Tom
I thought the post was a little long, based on other I saw.
But what I want, is my single overlay to reposition different blocks of a fixed spoold file to different locations on the printed page, without purchasing a package to do it.
Thanks for responding!
You can try the free version of the SpoolFactory in order to test what you want and later on you can decide to buy or not the commercial version, which are not expensive at all.
YuVa47
We use overlays for documents also. We use an OVRPRTF of the spool file in the CL to the overlay name (FRONTOVL). The device type is *AFPDS. We use output specs in the RPGLE to put the data in the correct positions. I’m not sure if that is what you are asking for. The data is not always lined up with the overlay text as exactly as you would want it to be, but it works.
…what I want, is my single overlay to reposition different blocks of a fixed spoold file to different locations on the printed page, without purchasing a package to do it.
Adding overlays to existing printer files is fairly easy. But rearranging the spooled data isn’t trivial. I can think of three options:
There might be variations that simplify things. There might be other alternatives that I can’t think of. And, of course, spooled *SCS printer data can always be read back into a “reformatter” program that outputs to a new printer file that includes an overlay — this second program would fill the need for a “printer driver”. (Technically, it doesn’t have to be *SCS; but it’s far easier if it is.)
Overlays are one thing, but rearranging spooled elements is a very different matter.
Tom
To check for Infoprint, GO LICPGM, then select option 10, Display installed licensed programs. This is what we see on our V5R4 system.
We found Infoprint rather cumbersome and vary frustrating. We are abandoning it when we move to 6.1 later this month.