Problem with Printing



I have downloaded the Aspose.words and Aspose.pdf.kit. I want to do the following in our application:

  1. Do mail merge on a word template document using Aspose.words

  2. Convert the word document to pdf


Aspose.Words.Document oADoc = new Aspose.Words.Document(@“C:\Documents
Settings\parthasarathyt\Desktop\MyDinner Invitation.doc”);


Aspose.Pdf.Pdf pdfDoc = new Aspose.Pdf.Pdf();


pdfDoc.Save(@“C:\Documents and

3. Print the pdf document using Aspose.pdf.kit


Aspose.Pdf.Kit.PdfViewer pdfvwr = new Aspose.Pdf.Kit.PdfViewer();

pdfvwr.OpenPdfFile(@“C:\Documents and


In fact I used the “Dinner Invitation” merge demo available with Aspose.words for doing this.

The first 2 steps worked perfectly - but the third printing step is not
as expected. The pdf document pages gets cut by half vertically and
horizontally in a A4 page while printing. However, if i open the pdf
document using acrobat reader and print it, the printing comes
out fine.

Can someone tell me what i am doing wrong here?

Thanks in advance,



Thanks for considering Aspose.

Please attach document MyDinner.Pdf, we want to have a test to find what cause this problem.


Thanks for the quick response

Attached is the pdf I tried to print.

One more doubt - How can we change print setting while printing using pdfviewer. Is there anyway in which I can do this using any of the aspose products?




Thanks for considering Aspose.

I've reproduced your error and will try to fix it up ASAP.

BTW, there is a method of Class PdfViewer called PrintDocumentWithSetup which pops up a dialog box for printing settings. You can call it instead of method PrintDocument.


Thanks Kevin,

We won’t be able to use printdocumentwithsetup because printing has to happen without user interference.

I am evaluating aspose as a replacement for word in the server. Right
now we merge and print using word automation. I was trying to do the
same using aspose.words - apparently the documentviewer in aspose.words
is in beta stage so I could not use it for printing. I think converting
to pdf and printing using pdf.kit is the next best option. let me know
if you think otherwise.

And also let me know how I can keep myself updated about the fix for this issue.




Thanks for considering Aspose.

We have tested your pdf file. It is our bug in decoding the fonts. We will solve it very soon.


I've run into this same issue with the latest release. What is the status of this bug? Thanks.


Thanks for considering Aspose.

Our developers are now trying to get this bug fixed and provide functional progress as well. So it still need more days to accomplish.


Actually we have the same problem but we just don't bother and we use Acrobat Reader to print instread.

Would be great if you guys can get it fix as soon as possible as well because Acrobat Reader is not a good options for us as we need to install the Reader and to send to print as Command.

Please update us if this problem is solved.

Thanks in advance.


OK, We will notify you when this problem is solved.


Other than the problem in fonts, can you provider the function of sending the print job to a different printer than the default printer?



Thanks for considering Aspose.

We will take this feature into account but can not support it in a short time.