DocumentPrint(String) Method

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

ExpandedSyntax

public void Print(
	string printerName
)

Parameters

printerName
Type: SystemString
The name of the printer.

ExpandedExamples

Prints the whole document to a specified printer.
Document doc = new Document(MyDir + "Document.docx");
doc.Print("KONICA MINOLTA magicolor 2400W");

ExpandedSee Also