CMDPrint Properties

The properties defined in the CMDPrint class are summarized in the following table.

Property Description
allPagesStatus Specifies the status of the All Pages check box
collateStatus Specifies the status of the common Print dialog Collate check box
copies Contains the number of copies to be printed for the common Print dialog
disablePageNumbers Specifies whether the page number selection options are disabled
disablePrintToFile Specifies whether the Print to file check box is disabled
disableSelection Specifies whether the Selection option is disabled
documentType Contains the printer form type
duplex Contains the duplex setting of the print output
fromPage Contains the from page that is to be printed from the common Print dialog
hidePrintToFile Specifies whether the Print to file check box is hidden
initializeWith Specifies whether a common Print Setup dialog is initialized with the default printer settings or values set on a previous Print Setup dialog
maxPage Contains the maximum range for the fromPage and toPage properties
minPage Contains the minimum range for the fromPage and toPage properties
orientation Contains the orientation of the print output
pageNumbersStatus Specifies the status of the Page Range check box
paperSource Contains the paper source, or tray, of the print output
printSetup Specifies whether the Printer Setup dialog is displayed instead of the common Print dialog
printToFileStatus Specifies the status of the Print to file check box
printerDC Contains a 32-bit device context of the selected printer
printerDC64 Contains a 64-bit device context of the selected printer
printerName Contains the name of the selected printer
returnDC Contains a device context returned from the dialog for the printer
selectionStatus Specifies the status of the Selection check box
toPage Contains the to page that is to be printed from the common Print dialog
warnIfNoDefault Specifies whether a warning message box is displayed if there is no default