Forums Login/signup

Java Print

+Pie Number of slices to send: Send
Hi guys,

I am developing an a Print module of an app. I need to fix the margins for left, rigth, top and bottom. I am using the java.awt.print.Paper object to achieve this. I need to know if its possible to use the paper object with out setting up the size of the paper and only specifiy the margins so that If the user tries to print on a different A4 paper (ie US A4 ) he will not get an error.

+Pie Number of slices to send: Send
Why don't you think of using this?
+Pie Number of slices to send: Send
I am using this

The quest I put out was more general not specific to report generation.
+Pie Number of slices to send: Send
Hi,

Could you use the JXFS api, it is for financial printer but run well with normal printer.

Thanks

reply
reply
This thread has been viewed 953 times.
Similar Threads
java printing - printing a pdf
printing businesscards/barcodes
Printing A4 without margin
Printing in java: How to set paper size
printing on A4 paper
More...

All times above are in ranch (not your local) time.
The current ranch time is
Jun 28, 2025 18:44:32.