I use Spire.doc in my Java application for filling some Word form fields in documents.
When I try to physically print out my just created document, unfortunately the content of the document lost some content on the right side/border (about 5 %), the document are cutted on right side/border.
If I save the document as a doc. file and print it manually with Word, the document will be printed correctly and fully.
The Java code is created with this tutorial: Tutorials/Java/Spire.Doc-for-Java/Program-Guide/Print/Print-Word-Document-in-Java.html
I tried to make some changes on the setImagableArea method, but I can’t fix this problem. I also tried to make changes on the paper.setSize() method, but without success.
Is where someone with the same issue?
One other workaround is to scale down the document to 5%, but I didn’t find any way to scale down a document.
BTW to the form fields: Is there any way to set the “Default text” of a Word form field? When I open the document in Word, the default text field is always filled with many blanks. I didn't find any method for Java, only for .net.