开发者

Java text printing framework

开发者 https://www.devze.com 2023-02-16 23:47 出处:网络
Is there any Java fra开发者_JAVA百科mework which helps to print text in specified co-ordinates(x,y)?You can use the Java Report Printing library to achieve this. Have a look at TextPrint, Insets, and

Is there any Java fra开发者_JAVA百科mework which helps to print text in specified co-ordinates(x,y)?


You can use the Java Report Printing library to achieve this. Have a look at TextPrint, Insets, and InsetsPrint classes for more information.

For a lower level API have a look at the Java Print Service API.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号