Printer files with width greater that 255

435 pts.
Tags:
AS/400
Printer files
I am trying to create a printer file with PAGESIZE as (66 375) but its giving me error that line greater that 255 .. Please suggest how to accomplish this as i have a requirement in which i need a report with width 375 ... Please suggest

Software/Hardware used:
as400

Answer Wiki

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

Discuss This Question: 4  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
  • TomLiotta
    What kind of printer is it designed for? Actually, what are all of the other attributes besides PAGESIZE()? Tom
    125,585 pointsBadges:
    report
  • munduuu
    Actually i am creating a report in which data is of 375 width so need to generate a spool file with this width which will ultimately be stored in some content management system...So i have created the printer file using RAD and when i am compiling the file its giving me error ...line greater than 255....please suggest
    435 pointsBadges:
    report
  • munduuu
    Forgot to add it a *SCS file
    435 pointsBadges:
    report
  • Splat
    You can create a printer file with a width greater than 255 (378 is the actual limit - see the PAGWIDTH parameter in the STRRLU command). The problem is that you can't have any fields that begin at a position greater than 255. When I last did it, I created text fields starting before position 255 that extended the remaining width of the printer file. Then I used a combination of %subst(), %editc(), %editw(), and evalr to format the information in the text fields. It's a pain to make changes, but it does work.
    7,455 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