Skip to main content

PrintableComponentLink.Print(String) Method

Prints the current document to the specified printer.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v22.1.dll

NuGet Package: DevExpress.Win.Printing


public void Print(
    string printerName


Name Type Description
printerName String

A String value, specifying the printer name.


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.

See Also