Skip to main content

PageSettingsHelper.SetPrinterName(PrinterSettings, String) Method

Assigns the specified printer name to the default printer settings (if such a printer is installed on the machine).

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public static void SetPrinterName(
    PrinterSettings sets,
    string printerName
)

Parameters

Name Type Description
sets PrinterSettings

A PrinterSettings object.

printerName String

A String value, specifying the printer name.

See Also