If you suspect that your problem is in OS/400(HPT API). I recommend you to consider followings :
- apply latest Cum and HPT-related PTFs.
- there is no logical reason but just try to recompile SPL2STMF with lower optimization option.
- there is no logical reason but just try to recompile SPL2STMF with *PRV option.
- if you have an access to another AS/400 or iSeries, run the same thing and see what happens. Or you may ask your business partner or friend to recreate your problem.
- if the problem occurs only for the specific spooled file, look for the difference.
- prepare the procedure to recreate your problem using OS/400 functions which use HPT, e.g. RMTOUTQ, LPR, Access for Web, Host on Demand, etc.
- contact your support channel to ask IBM to investigate (and fix) the problem.
There was a person who reported following resolution.
Quote:
I contacted IBM, they said I should have two print files, 1 for printing and 1 for converting to TIF. This was not the resolution I was looking for. So I decided to keep working at it and after several hours I finally got the text to align with the overlay. The overlay is defined in my PRTF, so I changed the positioning on the OVERLAY keyword to move the overlay to align with the text.
A R PRTOVL
A OVERLAY(OVLNAME .2 .25)
This allowed the transform to TIF to work correctly without causing the overlay to be misaligned when I printed the spooled file.
Hope this helps.
uzaemon@Japan