Skip to main content

Link.Print(String) Method

Prints the current document to the specified printer.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing

Declaration

public void Print(
    string printerName
)

Parameters

Name Type Description
printerName String

A String representing the name of the printer on which to print the document.

Remarks

This method immediately prints the current document. Note that if there isn’t a printer with the specified name available on a machine, then this method throws an exception of the InvalidPrinterException type.

See Also