Skip to main content

PrintToolBase.Print() Method

Prints the current document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v23.1.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public void Print()


This method immediately sends a report assigned to the PrintToolBase to the default printer.

The document to be printed is accessible via the PrintingSystemBase.Document property of the PrintToolBase.PrintingSystem. Note that you need to call the XtraReport.CreateDocument method to generate a document prior to calling the Print method.

To send a report to a specified printer, use the overloaded Print method with the printerName parameter.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Print() 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