Hello support,
How to print a docx on a print file with Apose.Words Doc.Print(printername) ?
Thanks.
Hello support,
How to print a docx on a print file with Apose.Words Doc.Print(printername) ?
Thanks.
Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for your request. If you would like to print your document to file, you can try using the following code:
System.Drawing.Printing.PrinterSettings settings = new System.Drawing.Printing.PrinterSettings();
settings.PrintToFile = true;
settings.PrintFileName = @"C:\Temp\out.tiff";
settings.PrinterName = "Microsoft Office Document Image Writer";
doc.Print(settings);
Best regards.
Many thanks Alexey.