Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraReport.Print(String) Method

Sends a report to the specified printer.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.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