Skip to main content
All docs
V24.2

PrintToolBase.PrintAsync(String) Method

Prints the current document on the specified printer asynchronously.

Namespace: DevExpress.XtraPrinting

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

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