How to set DocPrintJob paper size in Java?

I am working on a project that is used to create and print tags. I just want to set the width and height of the user page (page width above page height). Could you advise me how to do this?

Thanks!

+4
source share

Source: https://habr.com/ru/post/1411785/


All Articles