Hi everyone,
I am trying to trim down the source code of this application as I just need to use two features of this applet-
1. printToHost()
2. print() using default printer
I have successfully integrated this applet in my project with the full JAR file- qz-print.jar and it is working fine.
What
I plan to do now is to reduce the source code to increase the
efficiency as i do not need so much functionality and then build the JAR
file qz-print.jar once again & replace the old jar file with the
new one.
I noticed that the original jar file had two extra folders JNLP-INF and META-INF along with the source folder 'qz'.
First
I tried to build the JAR file with the full source code without any
modifications. To do this, I made a new JAVA Project in my Eclipse
workspace & copied the source code folder 'qz', META-INF and
JNLP-INF in my src folder. I also included the necessary extra JAR files in the Build Path. Then I exported the project as a JAR file
& selected "META-INF/
MANIFEST.MS" as the manifest file.
But
when I replace the old JAR file with this new JAR file, the plugin does
not load properly. The background does not change & when i click on
any button, I get the message- "Plugin not loaded properly."
It would be a great help if you could walk me through the steps of creating this JAR file.
Thanks.