PPrintDoc

Specifies miscellaneous options executed with the PPrint command.


Command constructor

PPrintDoc(short nCopies, PMBool bCollate, PMBool bReverse, PMBool bProof, const char * sRange, PMBool bBlank, short cPages, PMBool bIndependence, PMBool bBook, PMBool bBookSpec, short bOrientation, PMBool bSpreads, PMBool bIgnNonPrint);
short nCopies;
Number of copies to print
PMBool bCollate;
false for Collate off
true for Collate on
PMBool bReverse;
false for Reverse Order off (to print pages in normal order)
true for Reverse Order on (to print pages in reverse order)
PMBool bProof;
false for Proof off
true for Proof on (to print imported images as boxes with Xs in them)
const char * sRange;
Range of pages to print (e.g., "1-3"to print pages 1 through 3)
Specify an empty string ("") for all pages
PMBool bBlank;
false for Print Blank Pages off
true for Print Blank Pages on
short cPages;
0 for both pages
1 for even-numbered pages only
2 for odd-numbered pages only
PMBool bIndependence;
false for Page Independent off
true for Page Independent on
PMBool bBook;
false for "Print All Publications in Book" off
true for "Print All Publications in Book" on
PMBool bBookSpec;
false for Use Settings of Each Publication off (to use print settings of the current publication for all publications in the book)
true for Use Settings of Each Publication on
short bOrientation;
false for tall orientation (the left icon in the Print dialog box)
true for wide orientation (the right icon in the Print dialog box)
kParmDontCare to let PageMaker match the orientation with the current setting in the Page setup dialog box
PMBool bSpreads;
false for no reader spreads
true for printing reader spreads
short IgnNonPrint;
false for "Non-Printing" setting off
true for Ignore "Non-Printing" setting on
Specifying ranges. The value of sRange can be a single range (e.g., "1-10") or several ranges (e.g., "1-5, 8-10, 13-14"). Use commas to separate the ranges. A maximum of 64 characters is allowed. The range must be valid or PageMaker returns an error (e.g., you can't specify the range "1-14" for a 10 page publication).

To print from the beginning of, for example, a 50-page publication to the end, enter "-50."

Layout view only. The PPrintDoc command works only in layout view.

Example. The following example prints the two copies of pages 1-9, in normal order. The output is collated, includes both text and images, does not include blank pages, and does not do reader's spreads or print dropouts.

PPrintDoc(2, true, false, false, "1-9", false, 0, false, false, false, false, false, false);


See also

The PPrint, PPrintColor, PPrintInk, PPrintOptions, PPrintOptionsPS, PPrintPaperPS, and PPrintTo commands

The PGetPrintDoc query

Adobe PageMaker 6.5 Help > Commands > File > Print


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

Comments or suggestions? Contact Adobe Developer Support