PrintingSystem.Print(String) Method

Prints the current document to the specified printer.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v20.2.dll

Declaration

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

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