AS/400 printing – DDS spec PAGRTT in record format definitions

35 pts.
Tags:
AFP
AFPDS
AS/400
AS/400 printing
IBM iSeries
PAGRTT
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.

Answer Wiki

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

Page boundery means that PGRTT can only be executed when the print job is on a page on which no records have been printed yet. As stated by the following:
The PAGRTT, SKIP, and SPACE keywords are processed in the following order:
SKIPB
SPACEB
PAGRTT
SPACEA
SKIPA
Thus after (at least) a SKIPB and before a WRITE operation.

Discuss This Question: 3  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 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
    125,585 pointsBadges:
    report
  • philpl1jb
    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
    50,595 pointsBadges:
    report
  • philpl1jb
    Why did I respond to this, it's 2 years old!!! Phil
    50,595 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