Skip to main content

XtraPageSettingsBase.PrinterName Property

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

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

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