We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Word document printing using Aspose components

Could You give us an advice on Word document printing using Aspose components.
I’ve attached example of document I’m trying print.
There were several solutions:

  • Printing using DocumentRenderer class
  • Converting Word document to PDF and then printing with PdfViewer

but neither achieved required results.

MemoryStream ms = new MemoryStream(doc.GetBinary(), 0,doc.GetBinary().Length);
Aspose.Words.Viewer.DocumentRenderer renderer = new Aspose.Words.Viewer.DocumentRenderer(ms);

this first example printed document on two sheets of paper and inverted table borders so that visible borders became invisible and vice versa. Maybe there’s a way to configure DocumentRenderer printing options or something. Any help would be appreciated.
And I’d like to know if there is at least approximate estimate of when your new document viewer will be available and will it have printing feature? that’s very important to us.

The second solution worked well except that PdfViewer didn’t print barcode font correctly. Is there a way to fix this?

Thanks for your help

Sorry for disappointing but I can’t be of any help on this inquiry right now. All I can say we are working on it. And I’d like to avoid promising anything except of that a very rough estimation of when the work will be completed is Q1 2008.
Please post your question regarding PdfViewer to the appropriate forum, I hope you’ll be able to use this solution for the time being.


What about your new document viewer? Is it completed? Or maybe now you could give us more exact estimate?


Thanks for your request. Unfortunately Aspose.Words.Viewer is still in beta. Please see FAQ for more information.
Best regards.

We are happy to tell you that the new Rendering Engine has replaced the “old Viewer Beta”. The Rendering Engine can print, save as images or draw onto .NET Graphics object any document page.

Please see Aspose.Words documentation to learn more about new features.

Saving to image

In additional, new Rendering engine allows you to convert Word document to PDF directly (without using Aspose.Pdf).

Saving to Pdf

The latest version of Aspose.Words is available for download from downloads section or from NuGet