B4X FEED [B4j] Javax print wrapper for UI and non-UI apps.

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: [B4j] Javax print wrapper for UI and non-UI apps. است. این موضوع تا کنون 28 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع [B4j] Javax print wrapper for UI and non-UI apps.
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
28
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
This is a wrap of the Javax print API. It is more complex to use than the Javafx print API but does have a few benefits such as being usable in non-UI apps and access to java Swing printable interface which makes it easy to print the content of swing nodes. The main example app contains an example of printing text from a swing jTextArea, which is automatically split into pages. There is a separate example of printing a pdf from a file which contains a minimal wrapper for Apache pdfbox and also utilises a swing node.

This is a large library and contains a fair amount of wrapper code that I hope will make it a little easier to use, but there is so much in it that it is not possible to make it simple. So if you want to try it, please read up on how it is supposed to work. I don't have the time to write a full tutorial, that would probably take a good few days on its own, but the wrapper is here if you want to try it out. As the library is so large, I cannot guarantee that...



 

عقب
بالا