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
Syntaxpublic void Print(
string printerName
)
Public Sub Print (
printerName As String
)
public:
void Print(
String^ printerName
)
member Print :
printerName : string -> unit
Parameters
- printerName
- Type: SystemString
The name of the printer.
ExamplesPrints the whole document to a specified printer.
Document doc = new Document(MyDir + "Document.docx");
doc.Print("KONICA MINOLTA magicolor 2400W");
See Also