Is there any Java framework which helps to print text in specified co-ordinates(x,y)?
Java text printing framework
1.6k Views Asked by Suraj At
2
There are 2 best solutions below
1
On
For the ultimate in printing control, look at using iText and generating a PDF, that you can control the exact layout and positioning things and then print out the resulting PDF.
You can use the Java Report Printing library to achieve this. Have a look at
TextPrint,Insets, andInsetsPrintclasses for more information.For a lower level API have a look at the Java Print Service API.