XtraPageSettingsBase.PrinterName Property

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

Namespace: DevExpress.XtraPrinting

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

Declaration

public string PrinterName { get; set; }
Public Property PrinterName As String

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
PrintingSystem
.PageSettings.PrinterName
WPF Controls IDocumentViewModel
.PageSettings.PrinterName
PrintingSystem
.PageSettings.PrinterName
Silverlight Controls 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