Skip to main content
A newer version of this page is available. .

XtraReport.Print(String) Method

Sends a report to the specified printer.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v22.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public void Print(
    string printerName = ""
)

Optional Parameters

Name Type Default Description
printerName String String.Empty

The name of the printer that should print the report.

Remarks

The report is rendered with default parameter values when it is sent to a printer. To ask users to specify parameter values, use a ReportPrintTool class instance’s Print() method instead.

Use the PrintAsync(String, CancellationToken) method to print a report asynchronously in a separate task.

See Also