Skip to main content

PrinterSettingsUsing Class

Represents options that specify which of the default printer’s settings should be used when printing a document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v23.1.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public class PrinterSettingsUsing


The default printer is the printer set as the default printer in the operating system. It may be useful to use the default printer’s system options when the document is printed on different printers with different printing options (paper kind, landscape, margins). For example, the PrinterSettingsUsing.UsePaperKind property specifies whether to use the value which the XtraPageSettingsBase.PaperKind property is set to, or the paper kind settings of the default printer.

When any of the PrinterSettingsUsing.UsePaperKind or PrinterSettingsUsing.UseLandscape properties are set to true, the PrinterSettingsUsing.AnySettingUsed is also set to true. If all of these properties are set to true, then the PrinterSettingsUsing.AllSettingsUsed property returns true as well.

When printing an XtraReport, the following property specifies which of the default printer’s settings should be used: XtraReport.DefaultPrinterSettingsUsing.


See Also