All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

XtraReport.Print(String) Method

Sends a report to the specified printer.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v21.1.dll

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