A newer version of this page is available. Switch to the current version.

PrintingSystem.Print(String) Method

Prints the current document to the specified printer.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v18.2.dll


public void Print(
    string printerName
Public Sub Print(
    printerName As String


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