I would suggest printing by generating an HTML file and firing up the browser using Display.execute. The browser would probably have access to the printer and can carry out the printing process for you. This will work on all platforms and should be simple to implement. Notice you can also generate images etc using the same approach.
If you need access to native system functionality you can do so with native interfaces but you would need to implement them for all platforms including iOS etc.: https://www.codenameone.com/how-do-i---access-native-device-functionality-invoke-native-interfaces.html -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/fdb70b51-36fe-4814-82cd-1ebb50a179b3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.