Skip to main content

PrintableComponentLink.Print(String) Method

Prints the current document to the specified printer.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Print(String) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also