Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsPrintDialogMBS class.

WindowsPrintDialogMBS.PD_ALLPAGES = 0

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

The default flag that indicates that the All radio button is initially selected.
This flag is used as a placeholder to indicate that the PD_PAGENUMS, PD_SELECTION, and PD_CURRENTPAGE flags are not specified.

WindowsPrintDialogMBS.PD_COLLATE = &h00000010

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

If this flag is set, the Collate check box is selected.
If this flag is set when the PrintDlgEx function returns, the application must simulate collation of multiple copies. For more information, see the description of the PD_USEDEVMODECOPIESANDCOLLATE flag.
See PD_NOPAGENUMS.

WindowsPrintDialogMBS.PD_CURRENTPAGE = &h00400000

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

If this flag is set, the Current Page radio button is selected. If none of the PD_PAGENUMS, PD_SELECTION, or PD_CURRENTPAGE flags is set, the All radio button is selected.

WindowsPrintDialogMBS.PD_DISABLEPRINTTOFILE = &h00080000

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Disables the Print to File check box.

WindowsPrintDialogMBS.PD_EXCLUSIONFLAGS = &h01000000

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Indicates that the ExclusionFlags member identifies items to be excluded from the printer driver property pages.
If this flag is not set, items will be excluded by default from the printer driver property pages. The exclusions prevent the duplication of items among the General page, any application-specified pages, and the printer driver pages.

WindowsPrintDialogMBS.PD_EXCL_COPIESANDCOLLATE = &h00008100

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Excludes the Copies and Collate controls from the printer driver property pages in a Print property sheet. This flag should always be set when the application uses the default Copies and Collate controls provided by the lower portion of the General page of the Print property sheet.

WindowsPrintDialogMBS.PD_HIDEPRINTTOFILE = &h00100000

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Hides the Print to File check box.

WindowsPrintDialogMBS.PD_NOCURRENTPAGE = &h00800000

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Disables the Current Page radio button.

WindowsPrintDialogMBS.PD_NONETWORKBUTTON = &h00200000

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Hides and disables the Network button.

WindowsPrintDialogMBS.PD_NOPAGENUMS = 8

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Disables the Pages radio button and the associated edit controls.
Also, it causes the Collate check box to appear in the dialog.

WindowsPrintDialogMBS.PD_NOSELECTION = 4

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Disables the Selection radio button.

WindowsPrintDialogMBS.PD_NOWARNING = &h00000080

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Prevents the warning message from being displayed when an error occurs.

WindowsPrintDialogMBS.PD_PAGENUMS = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

If this flag is set, the Pages radio button is selected. If none of the PD_PAGENUMS, PD_SELECTION, or PD_CURRENTPAGE flags is set, the All radio button is selected. If this flag is set when the PrintDialog function returns, the PageRanges member indicates the page ranges specified by the user.

WindowsPrintDialogMBS.PD_PRINTSETUP = &h00000040

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Causes the system to display the Print Setup dialog box rather than the Print dialog box.

WindowsPrintDialogMBS.PD_PRINTTOFILE = &h00000020

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

If this flag is set, the Print to File check box is selected.
If this flag is set when PrintDialog returns, the OutputName of DevNames contains the string "FILE:". When you call the StartDoc function to start the printing operation, specify this "FILE:" string in the Output parameter member of the DOCINFO structure. Specifying this string causes the print subsystem to query the user for the name of the output file.
StartDoc is available in our plugins through StartDocPrinter in WindowsAddPrintJobMBS class.

WindowsPrintDialogMBS.PD_RESULT_APPLY = 2

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the ResultAction value constants.

The user clicked the Apply button and later clicked the Cancel button. This indicates that the user wants to apply the changes made in the property sheet, but does not yet want to print. The WindowsPrintDialogMBS contains the information specified by the user at the time the Apply button was clicked.

WindowsPrintDialogMBS.PD_RESULT_CANCEL = 0

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the ResultAction value constants.

The user clicked the Cancel button. The information in the WindowsPrintDialogMBS is unchanged.

WindowsPrintDialogMBS.PD_RESULT_PRINT = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the ResultAction value constants.

The user clicked the Print button. The WindowsPrintDialogMBS contains the information specified by the user.

WindowsPrintDialogMBS.PD_RETURNDC = &h00000100

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Causes PrintDialog to return a device context matching the selections the user made in the property sheet.
The device context is returned in DC property.

WindowsPrintDialogMBS.PD_RETURNDEFAULT = &h00000400

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

If this flag is set, the PrintDialog function does not display the property sheet.
Instead, it sets the DevNames and DevMode members to the default for the system default printer. Both DevNames and DevMode must be empty, or PrintDialog returns an error.

WindowsPrintDialogMBS.PD_RETURNIC = &h00000200

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Similar to the PD_RETURNDC flag, except this flag returns an information context rather than a device context.
If neither PD_RETURNDC nor PD_RETURNIC is specified, hDC is undefined on output.

WindowsPrintDialogMBS.PD_SELECTION = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

If this flag is set, the Selection radio button is selected.
If none of the PD_PAGENUMS, PD_SELECTION, or PD_CURRENTPAGE flags is set, the All radio button is selected.

WindowsPrintDialogMBS.PD_SHOWHELP = &h00000800

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Causes the dialog box to display the Help button.

WindowsPrintDialogMBS.PD_USEDEVMODECOPIES = &h00040000

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

Same as PD_USEDEVMODECOPIESANDCOLLATE.

WindowsPrintDialogMBS.PD_USEDEVMODECOPIESANDCOLLATE = &h00040000

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the constants for the flags property.

This flag indicates whether your application supports multiple copies and collation.
Set this flag on input to indicate that your application does not support multiple copies and collation. In this case, the Copies member of the class always returns 1, and PD_COLLATE is never set in the Flags member.
If this flag is not set, the application is responsible for printing and collating multiple copies. In this case, the Copies property indicates the number of copies the user wants to print, and the PD_COLLATE flag in the Flags member indicates whether the user wants collation.
Regardless of whether this flag is set, an application can determine from Copies and PD_COLLATE how many copies to render and whether to print them collated.
If this flag is set and the printer driver does not support multiple copies, the Copies edit control is disabled. Similarly, if this flag is set and the printer driver does not support collation, the Collate check box is disabled.
The Copies and Collate members of the WindowsDeviceModeMBS object contain the copies and collate information used by the printer driver. If this flag is set and the printer driver supports multiple copies, theCopies member indicates the number of copies requested by the user. If this flag is set and the printer driver supports collation, the Collate member of the WindowsDeviceModeMBS object indicates whether the user wants collation. If this flag is not set, the dmCopies member always returns 1, and the Collate member is always zero.
In Windows versions prior to Windows Vista, if this flag is not set by the calling application and the dmCopies member of the WindowsDeviceModeMBS object is greater than 1, use that value for the number of copies; otherwise, use the value of the Copies member of this class.

WindowsPrintDialogMBS.START_PANEL_GENERAL = &hffffffff

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
Special value for StartPanel property to select general panel.

The items on this page are in the following plugins: MBS Win Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...