Thanks,
John Egan
Programmer/Analyst
National Guardian Life
jte...@nglic.com
John:
You don't really state what the problem is but I can think of a couple of
things to make sure of before you go too far. Make sure you have the PAGRTT for
the printer file as a whole set the way you want it. Probably, you want it to
be 90 since most of your document prints that way. If so, make sure the page
size you specify for the file is given in terms of "after rotation". Thus, if
you are printing on 81/2" x 11" paper, you would give the page size as 48 lines
by 110 characters if specifying *rowcol (be sure to change the overflow line to
48 or less as well) assuming 6 LPI and 10CPI (adjust the lines and characters
based on the LPI, CPI, and page size you really are using). Then you would need
to specify the PAGRTT(0) dds keyword on the first record format for the
document. After the first page prints, it should go back to the file level
parameter for subsequent pages and give you landscape.
If you want instead to start in 0 degrees rotation and change every subsequent
page to 90, you need to make sure that the PAGRTT(90) keyword is specified on
the first record of each page (at a page boundary) and you must specify it for
each subsequent page printed. Otherwise, you will go back to the printer file
parameter.
--
Kevin Vette
AS/400 Spool/Print
IBM Rochester, Minnesota
Comments provided "as is" - no warranties provided