Printing front and back overlays on a report generated out of AS/400

50 pts.
AS/400 printing
iseries v5r4
Could anyone suggest a way to print a report with overlay of company logo on the front and legal terms on the back on a form generated out of AS/400. OS V5R4. Thanks in advance Jahan

Answer Wiki

Thanks. We'll let you know when a new response is added.

1. Printfile needs duplex *yes
2. printfile Overlay for front and back
3. If I remember correctly, RPG needs to print at least a blank space on both front and back .. that is print your data on the front, do a form feed and print a blank for the back and another form feed to start the next page.
4. Must be AFPDS

Discuss This Question: 3  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Jahan
    Could you shed more light on point3. Here's the Overprtf command OVRPRTF FILE(BOLP1) DEVTYPE(*AFPDS) PAGESIZE(80 + 160) LPI(8) CPI(16.7) FRONTMGN(0 0) + BACKMGN(0 0) OVRFLW(80) PAGRTT(0) + DUPLEX(*YES) FRONTOVL(QGPL/SSLOGO5) + BACKOVL(QGPL/BOLTERMS 0 0 *CONSTANT) + OUTQ(&OUTQ) COPIES(&COPY) HOLD(&HOLD2) And in the RPG program I tried to write a blank record foramt with skipb(1). It should be a 3 page output and I get 6 pages with no back overlay .
    50 pointsBadges:
  • philpl1jb
    Add a line to your printing on back The record with a skipb is good but I think you need to add 1 1 ' ' this causes it to actually put someting on the back page During testing I might put an 'X' in there so I could tell what page is printing. You're "back" should now print with the back overlay and the 'X'
    54,090 pointsBadges:
  • Sankal
    Hi Jahan, I too am caught in the back overlay problem. The front overlay is properly printed , but the back overlay instead of getting printed on the back of each page gets printed on a new page . If you have found a solution to your problem ,can you suggest me a solution to my problem. I have compiled the print file with DUPLEX *YES , AND BACK OVERLAY CONSTANT = *CONSTANT, Gilbert had suggested me to try and give CONSTANT = *NOCONSTANT option, but that too didn't work. With *NOCONSTANT it stopped printing the back overlay. Kindly help me in this regard. Thanks in advance, Sankal
    45 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: