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

Free Support Forum - aspose.com

Word document printing using Aspose components

Hello,
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);
renderer.Print();

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

Hi,

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.

Thanks.

Hi,

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

Thanks.

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

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

Best regards.

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

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.

SaveToImage method renders document pages into images:

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.document.savetoimage_overloads.html

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

SaveToPdf method converts the whole document or selected pages to PDF.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.document.savetopdf_overloads.html

The latest version of Aspose.Words is available for download from here:

http://www.aspose.com/community/files/51/file-format-components/aspose.words/entry158153.aspx

Best regards,