please take a look at the attached word file. If I’m using Microsoft Word to print that file, the result is completely different than when I use Document.Print().
Could you please tell me what i’ve to do to get the same results (Microsoft Word result are the correct one
Thanks for your request. The problem occurs because you are using floating frame in your document. Currently, Aspose.Words does not support floating object positioning during rendering. The only way to work the problem around, I can suggest you at the moment, is refactoring your document to avoid using floating frames.
Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed.
I found out, that your printing system doesn’t support “frames” (Positionsrahmen in german). Everything inside a frame is printed in the top left cornor. Am I right or am I doing something wrong?
If tried an additional one without these frames (see new attachment). The problem here is, that the result is printed in protrait, instead of landscape. Could you please how I can resolve this behaviour.
thanks for the information. Unfortunately this doesn’t solve the second problem with printing landscape. We use the word file to print envelopes. When printing this file with Aspose.Words, the address is printed with the wrong orientation. If we print with word, the orientation is correct. Do you also have a solution for this problem?
Thanks for your request. I cannot reproduce the problem with orientation on my side using the latest version of Aspose.Words (9.4.0). I use the following code for testing:
Document doc = new Document(“tmpB0EC.doc”);
PrinterSettings printerSettings = new PrinterSettings();
printerSettings.PrinterName = @“hp LaserJet 1010 Series Driver”;
attached the resulted prints (one from MS Word, one from Aspose.Words). As you can see the the print with Aspose.Words is wrong.
I’m using Win7, Framework 3.5, Aspose.Words 9.4.0, MS Word 2010.
Maybe a helpful hint:
With PaperSize A4 and landscape the result from MS Word and Aspose.Worlds are the same. If chancing the PaperSize to C5 in MS-Word, the results are different. I found out that there is no PaperSize C5 in Aspose.Words, it automatically changes to Custom.
Thank you for additional information. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed.
thanks for letting me know. In the meantime do you have a workaround for me, as this is very urgent or is there a timeframe when the fix will be published?
Thanks for your request. Unfortunately, I cannot suggest you any way to work this problem around at the moment. You should just wait for the fix of the original issue.
Please expect a reply before next hotfix (within 4-5 weeks). We might just fix the problem or provide you more information.
We are happy to tell you that a very cool and important feature (filed as 7180) is included in the new version of Aspose.Words.
Text wrapping around images and shapes when rendering Microsoft Word documents to PDF, XPS and printing is now supported.
You can download the latest version from here.
I have installed the latest version of Aspose.Total (5.3), but the problem is still there.
If I want to print a document with a custom page size it’s always printed out on A4.
When I create the document I have the correct page size. Afterwards I call the PrintDialog to select the printer and call the document.Print(PrinterSettings) method. And here I have the problem. In the PrinterSettings.DefaultPageSettings is A4 defined!
Am I calling something wrong? Or how can I pass the page settings from the document to the DefaultPageSettings of the PrinterSettings?
Thanks for your request. Could you please make sure that you are using the latest version of Aspose.Words in your application. To check version of the library, right click on the dll, select Properties from the context menu, then select Version tab. You will see File version.
You can download the latest version of Aspose.Words from here:
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.