What do they mean when they say you must be 'on the page boundary' for this keyword (PAGRTT) to function? How can I check if I'm there or not? I would like to have one page in my printer file print portrait and the next in landscape, but PAGRTT doesn't work.
Software/Hardware used:
ASKED:
January 15, 2008 7:34 PM
UPDATED:
January 7, 2011 11:59 PM
What do they mean when they say you must be ‘on the page boundary’ for this keyword (PAGRTT) to function?
Who are “they”? How do you know “they” say that? (Where and when do you see it?) Under what circumstances do “they” say it? (What are you doing when you see it?) If it’s an error message, what is it’s message identifier?
I’d guess you’re trying to compile a printer file and the compile fails with a message. But more info would be useful. If it is a compile, at least some of the source would be nice to see, including a few lines both before and after the flagged source line.
Tom
Apparently, they are IBM manuals…
http://publib.boulder.ibm.com/html/as400/v4r5/ic2989/info/db2/rbafpmst.pdf
PAGRTT (Page Rotation) Keyword in Printer Files
Use this record-level keyword to specify the degree of rotation of the text with
respect to the way the page is loaded into the printer. The PAGRTT keyword is
valid only for the 3812, 3816, 3820, 3825, 3827, 3835, and 4028 printers. If you do
not specify a PAGRTT keyword for a record, the page rotation is set from the value
specified on the Create Printer File (CRTPRTF), Change Printer File (CHGPRTF), or
Override Printer File (OVRPRTF) commands.
The format of the keyword is:
PAGRTT(0 | 90 | 180 | 270)
The PAGRTT keyword does not cause an implicit page eject. If the paper is not on
a page boundary, the keyword is not used, and a diagnostic message is issued.
The PAGRTT, SKIP, and SPACE keywords are processed in the following order:
SKIPB
SPACEB
PAGRTT
SPACEA
SKIPA
I’ve never done this but .. if you have the correct printer and have a record that issues a skipb to move to a new page followed by a PAGRTT(90) or 180 or 0 or 270 it sounds like it would work.
Phil
Why did I respond to this, it’s 2 years old!!!
Phil