A newer version of this page is available.
Switch to the current version.
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; }
<XtraSerializableProperty>
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 |
|
PrintingSystemBase |
|
|
WinForms Controls | PrintingSystem |
|
PrintingSystem |
|
|
WPF Controls | IDocumentViewModel |
|
PrintingSystem |
|
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
Feedback