PrintableComponentLink.Print(String) Method

Prints the current document to the specified printer.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v20.2.dll

Declaration

public void Print(
    string printerName
)
Public Sub Print(
    printerName As String
)

Parameters

Name Type Description
printerName String

A String value, specifying the printer name.

Remarks

If there is no printer with the specified name available on a machine, this method throws an exception of the InvalidPrinterException type.

If an empty string is defined for the printerName parameter, the document is sent to the system's default printer.

Implements

DevExpress.XtraPrinting.Links.IWinLink.Print(String)
See Also