I'm developing a project for a travel agency.the application has to be able to print railway tickets.the ticket templates or preformatted blanks are supposed to be loaded in the printer,all we have to do is retrieve data from database and print them on desired positions on those preformatted papers already loaded in the printer.I've thought about using JNI,but how do i interface with the printer APIs? where can i find relevant APIs?

Edwin Madari

JNI provides native language application (c/c++) to use Java/JVM services. If you are writing this application NEW, use Java. From Java you can load native libraries (like printer dlls, or shared object libraries/DLL developed in other languages). If you are planning on enhancing an existing application then create JVM in your application, you are good to go in using all the Java services. Here are some URL's:

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact