Skip to main content
All docs
V24.1

PrintToolBase.PrintAsync(String) Method

Prints the current document on the specified printer asynchronously.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public Task PrintAsync(
    string printerName
)

Parameters

Name Type Description
printerName String

A String that is the name of the printer where the current document is sent.

Returns

Type Description
Task

An asynchronous operation result.

Remarks

This method asynchronously sends a document assigned to the PrintToolBase to the specified printer.

See Also