PGetPrintPaperPS

Returns paper-related print options executed with the Print command (for PostScript® printers only).


Query results

const char * sSize;
Name of standard paper size
"Custom" for user-defined paper size
const char * sSource;
Name of Source (type of paper tray)
"Manual" for manual feed
long yLength;
Length (height) of paper in twips
long xWidth;
Width of paper in twips
long yPaperFeed;
0 unless sSize is Custom
Distance in twips to offset the image area vertically (from end to end) on the paper or film, to compensate for device-specific adjustment problems
long xPaperMargin;
0 unless sSize is Custom
Distance in twips to offset the image area laterally (from side to side), to adjust for a non-standard media width

short bOrientation;
0 (zero) for normal orientation of custom paper
1 for transverse orientation of custom paper
-2 if paper size is standard (not custom)

short bCenter;
0 for Center Page in Print Area off
1 for Center Page in Print Area on

short cTiling;
0 for no tiling
1 for manual tiling
2 for automatic tiling
long xOverlap;
Minimal amount of overlap (to a maximum of five inches), in twips, if cTiling is 2 (auto tiling)

short cScaleType;
0 (zero) for scaling the publication by the amount specified by nVal
1 for Scale to Paper Size selected
2 for printing the number of Thumbnails specified by nVal

short nVal;
Percentage for numeric scaling in tenths of a percent (where 100% is returned as 1000) if cScaleType is 0 in tenths of percent (100.0% = 1000), although command uses only whole percent ages]
Number of thumbnails per page, from 1 to 100, if cScaleType is 2
-2 if cScaleType is 1

short cDuplex;
0 (zero) obsolete parameter; you get duplex-printing settings with the PGetPrintFeature query
bCenter. PageMaker normally centers the page within the page boundaries (bCenter = 0). Since most printers have symmetrical imageable areas, this works fine. You need to use Center Page in Print Area only when printing to a printer which has an asymmetrical imageable area (such as the QMS ColorScript).

bOrientation. The bOrientation parameter returns -2 unless the page is a custom page (sSize is set to Custom).


See also

The PGetPaperSizes, PGetPaperSources, PGetPrintCaps, PGetPrintColor, PGetPrintDoc, PGetPrintInk, PGetPrintOptions, PGetPrintOptionsPS, PGetPrintPPDs, PGetPrintPS, PGetPrintScreens, and PGetPrintTo queries

The PPrintPaperPS command

Adobe PageMaker 6.5 Help > Commands > File > Print


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support