DocumentPrint Method (String)

Print the whole document to the specified printer, using the standard (no User Interface) print controller.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public void Print(
	string printerName
)

Parameters

printerName
Type: SystemString
The name of the printer.
Examples
Prints the whole document to a specified printer.
Document doc = new Document(MyDir + "Document.docx");

doc.Print("KONICA MINOLTA magicolor 2400W");
See Also