45
Page:
163
at 10 CPI and 66 lines long at 6 LPI (i.e. 13.2 inches by 11 inches), and you print it to
a printer which uses letter or A4 paper, the spooled file is too large to fit on the
paper. You printer will automatically reduce the size of the spooled file data (COR)
and rotate the spooled file data (auto-rotation) in order to make it fit the paper.
By default, the CVTSPLSTMF command does not implement an automatic page
rotation when a spooled file has PAGRTT(*AUTO), PAGRTT(*COR) or
PAGRTT(*DEVD), as this may or may not be appropriate depending on the printer
for which the spooled file was intended, which CVTSPLSTMF cannot know.
However, if you are relying on a page rotation, it is possible that your spooled file
data may appear misaligned in the output or that page segments and images
contained in the spooled file will appear misplaced and rotated in the PDF files you
create using the default CVTSPLSTMF parameters. In order to replicate the effects
of an automatic page rotation in your spooled file, you need to specify *YES on the
"Auto-rotation in effect?" element of this parameter. This will ensure that images and
page segments are handled as if the page had rotated.
If you are not sure if rotation and COR are appropriate, you can specify *SPLF, in
which case CoolSpools will attempt to predict the behavior of the most modern
printers, and will itself decide whether to rotate the page or apply COR. CoolSpools
will assume that the paper size specified on the first two elements of this parameter
indicate the paper size on which the document is normally printed, and will decide
whether rotation and/or COR are required based on this paper size.
Please note that the paper size specified on the first two elements of this parameter
is interpreted as the shape and format of the paper prior to rotation. For example, if
you document prints on letter cut sheet paper (11 x 8.5 inches), you should specify
PAGESIZE(*LETTER *PORTRAIT) even if the document prints in landscape mode,
since the paper is physically printed in portrait mode and the document contents
rotated to fit on it.
Options are:
*NO
Auto-rotation is not applied.
*YES
Auto-rotation is applied but NOT COR.
*SPLF
CoolSpools will itself decide whether to apply auto-rotation
and/or COR.
*COR
Auto-rotation and COR will both be applied.
*PAGESIZE
Auto-rotation is applied if the spooled file attributes suggest a
landscape orientation (i.e. if the calculated page width in
millimeters is larger than the calculated page length in
millimeters), but not if the attributes suggest a portrait
orientation (width less than height).