Skip to main content

PrintingSystem.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


public void Print(
    string printerName


Name Type Description
printerName String

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


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