420 pts.
 Printer files with width greater that 255
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
ASKED: January 30, 2012  10:12 PM
UPDATED: March 17, 2012  5:57 AM
  Help
 Approved Answer - Chosen by munduuu (Question Asker)

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.

ANSWERED:  Jan 31, 2012  4:03 PM (GMT)  by munduuu

 
Other Answers:
Last Wiki Answer Submitted:  October 16, 2012  5:37 pm  by  Michael Tidmarsh   14,000 pts.
Latest Answer Wiki Contributors:  Michael Tidmarsh   14,000 pts.
To see other answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

What kind of printer is it designed for? Actually, what are all of the other attributes besides PAGESIZE()?

Tom

 110,105 pts.

 

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

 420 pts.

 

Forgot to add it a *SCS file

 420 pts.