Skip to main content
All docs
V25.1
  • DXPrinterSettings.PrinterName Property

    Specifies the name of the printer where the document is sent.

    Namespace: DevExpress.Drawing.Printing

    Assembly: DevExpress.Drawing.v25.1.dll

    NuGet Package: DevExpress.Drawing

    Declaration

    public virtual string PrinterName { get; set; }

    Property Value

    Type Description
    String

    A String that is the printer name.

    Property Paths

    You can access this nested property as listed below:

    Library Object Type Path to PrinterName
    Cross-Platform Class Library PrintDocumentEventArgs
    .PrinterSettings .PrinterName
    Office File API PrintOptions
    .PrinterSettings .PrinterName
    PdfPrinterSettings
    .DXSettings .PrinterName

    Remarks

    Set the PrinterName to the name that is used in CUPS. In MacOS, it is the Device name value. Do not use PrinterDisplayName.

    See Also