||<< Index >>||
This gives the print page rectangle. You can get the width and height of the page as follows:
pageWidth = pRecH..prInfo.rPage.right - pRecH..prInfo.rPage.left
pageHeight = pRecH..prInfo.rPage.bottom - pRecH..prInfo.rPage.top
Use these numbers to determine how much room is available for text and graphics. The page rectangle is affected by the user's selections in the "Page Setup" dialog: for example, if the user selects "landscape" mode, the page width will be greater than the page height.
These numbers indicate the first and last pages which the user wants to print. Your program should not print any pages outside of this range.
The number of copies to print. This is the number of times your program should send the selected pages to the printer. Note that many newer printer drivers will always set this number to 1; such printer drivers will handle multiple copies internally.