Skip to main content
A newer version of this page is available. .

XtraPageSettingsBase.PrinterName Property

Gets or sets the name of the printer to use when printing the document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

[XtraSerializableProperty]
public string PrinterName { get; set; }

Property Value

Type Description
String

A String value which represents the name of the printer to use.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to PrinterName
Cross-Platform Class Library RemotePrintingSystem
.PageSettings.PrinterName
PrintingSystemBase
.PageSettings.PrinterName
WinForms Controls PrintingSystem
.PageSettings.PrinterName
WPF Controls IDocumentViewModel
.PageSettings.PrinterName
PrintingSystem
.PageSettings.PrinterName

Remarks

Use the PrinterName property to specify the printer you want to use for printing the document. Note that the specified printer should be installed on the machine.

See Also