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.v21.2.Core.dll

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