Issue with printing legal portrait report from AS400

25 pts.
Tags:
AS/400 PRTF
AS400 printing issue
Chgprtf
I am creating a spool file using RPG and a printer file. I use this command to set the parameters on the printer file. ===> CHGPRTF FILE(PYTT4LS2) DEVTYPE(*AFPDS) PAGESIZE(112 84 *ROWCOL) LPI(8) CPI 12) OVRFLW(112) FRONTMGN(0 .5) DRAWER(00003) The problem is that when I send the spool file to the printer, it doesn't print it on legal paper as I want it to, it prints letter size, truncating the last lines of the report. Please help.

Answer Wiki

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

As it turns out, all I had to do was apply the printer file settings at the time of compile and it worked.  Very strange. 

Discuss This Question: 2  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
  • philpl1jb
    You've told the spooler how to format the page but you haven't told the printer where to get the paper .. that might be the drawer parameter.
    49,850 pointsBadges:
    report
  • ToddN2000
    It's been a while since I played around with legal forms. Are you trying to change an existing spool file that has already been created ? If so that may be your problem. Check out the attributes of the spool file in the OUTQ. You may need to do an OVRPRTF and set the  spool file attributes you want before it gets generated.
    10,025 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