Printing Back overlay in AS/400

45 pts.
Tags:
AS/400 printing
HP Color LaserJet 2840
V5R3
We have AS/400 version V5R3. I have a problem while printing the back overlay. The back overlay instead of being printed on the back of each page is getting printed on the new page. This print file has the front overlay where the company logo is getting printed. The back overlay has the PO terms and conditions which I need to be printed on the back of each page. While compiling the print file I have specified DUPLEX *YES with frontoverlay file name and the back overlay file names with constant back = *CONSTANT I am printing the purchase order on a HP color lazerjet 2840 PS printer. Please let me know if I am missing on any additional steps for the back overlay file to be printed on the back of each PO instead of on a new page.

Answer Wiki

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

Hi,

Have you tried it with *NOCONSTANT – From the help text it looks like *CONSTANT generates a blank page with only the back overlay on it.

Regards,

Martin Gilbert.

Discuss This Question: 7  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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Sankal
    Hi Martin, Thanks for the reply, as per your suggession I did try with *NOCONSTANT. But with this it does not print the back overlay at all. Do you have any other suggession.
    45 pointsBadges:
    report
  • philpl1jb
    My experience is that you actually have to print something on the back page. A blank space for instance. Your print file is set to DUPLEX(*YES)?
    49,550 pointsBadges:
    report
  • Sankal
    Hi Phil, I am totally confused about this back overlay. Like I said before I have variable PO data that is being printed with the front overlay file containing the company logo. My back overlay file has the PO terms. The front overlay is being printed properly with the variable data. But now I want the back overlay file with PO terms to be printed on the back of the same page. How do I make the printer do it. My printer file is compiled as DEVTYP= *AFPDS, DUPLEX=*YES, FRONTOVL (FRTONE), BACKOVL(BACKONE) , CONSTANTBACK =*NOCONSTANT Tried to print with *CONSTANT also but did not achieve the desired results. All I need to know is how is the DDS for printer file defined. i.e do I need to specify SKIPB or SKIPA anywhere in the record format. Please give me a small example of DDS with entire code and RPG sample code and the way the PO will be printed with this sample code. Now lets say my PO details have in all 3 pages. All these three pages should get printed with the company logo in front and the PO terms and conditions defined in the back overlay file to be printed on the back of these 3 pages. So in total the number of pages should remain as three only without any one actually doing the form feed or adjusting the page manually. Thanks a lot in advance, Sankal
    45 pointsBadges:
    report
  • LJansen
    Hello all, I think the issue may be with the duplexing. If the program is not printing any data on the back side, I don't think you need to specify duplexing. Try it with DUPLEX(*NO).
    85 pointsBadges:
    report
  • philpl1jb
    Using Duplex(*yes) To get the back overlay printed, I think you need your dds to provide a new page so when you reach the overflow condition-- probably a line count or you've finished printing the last page. Here is the DDS - I'm printing XXX on the back - if/when this works replace the 'XXX' with ' ' and you'll print a blank space on the back - which will not affect the printing of the Ts and Cs A R BACKFMT A 1 1 'XXX' When xxxxxxxx is the condition you're testing for C if xxxxxxxxxx C WRITE BACKFMT C WRITE HEADER C endif If you view the spool file it will count 6 pages. Phil
    49,550 pointsBadges:
    report
  • Sankal
    Hi All, Thanks for your response. But I think I have not conveyed you my printing problem correctly. Because the answers I am getting are not what I want. Firstly let me ask you'll my queries. a) I need to know if an HP laser jet printer is capable of printing on both sides of the paper. What I mean by this is that it should print front overlay and back overlay on a single page. b) Currently I am able to print the front overlay on first page and the back overlay on the second page. This means the printer is taking two pages to print. c) Is it that the back overlay is always printed on a new page , instead of being printed on the back side of the front overlay page. My target is to get the front and back overlay printed on a single page. Let me know if this is possible. If yes , how. Other wise I will keep trying things that are simply not supported by AS/400. Please go through my entire set of questions I have raised so far on printing back overlay and the steps I have taken. Thanks a lot for your answers so far. Sankal
    45 pointsBadges:
    report
  • djac
    Just checked the HP website, this printer only does 'manual' duplex i.e. you take the page out after the first side has printed and put it back through the other way up. I think this is only workable printing in a Windows environment. You need a printer with 'D' or 'd' in the model name e.g. Laserjet 4250 Dtn (Duplex, twin-bin, network)
    900 pointsBadges:
    report

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following