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

Declaration

public static void SetPrinterName(
    PrinterSettings sets,
    string printerName
)
Public Shared Sub SetPrinterName(
    sets As PrinterSettings,
    printerName As String
)

Parameters

Name Type Description
sets PrinterSettings

A PrinterSettings object.

printerName String

A String value, specifying the printer name.

See Also