Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
i cant seem to find any documentation on how to install java communications anywhere for windows. any ideas?
What is this used for exactly?
You can find java comm package and installation instructions in http://java.sun.com/products/javacomm/index.jsp and in http://www.rxtx.org for linux.
Java comm is used to print to ESC/POS printers and customer displays connected to a serial port.
im also having difficulty trying to install java comms- i've been trying for quite some time now- i really like the tina pos program but im battling to get it to print to my serial printer. is there some kind of reference for begginers that i could look at? thank you.
the print job is showing up in my queue but is not being printed. TinaPOS cannot communicate with the printer. All the installation information listed for Java.comm is not making sense for WinXP. Can someone help!?
How can I get Tinapos to work with my serial printer in Windows XP? My printer works when I print in windows but not in Tinapos. I have installed the 3 files in the instructions.
Installing java comm is supposed to be easy. These steps are taken form the readme:
1. Unzip the file javacomm20-win32.zip.
1. Copy win32com.dll to your <JRE>\bin directory
3. Copy comm.jar to your <JRE>\lib\ext directory.
4. Copy javax.comm.properties to your <JRE>\lib directory.
If you continue having problems, please write the details.
any linux version?
basically here's how i do it:-
cp -a comm.jar /usr/java/jre/lib/ext
cp -a libLinuxSerialParallel.so /usr/lib/libLinuxSerialParallel.so
cp -a javax.comm.properties /usr/java/jre/lib
javax.comm: Error loading javax.comm.properties!
java.io.IOException: javax.comm: platform driver class name = null
(Check 'driver' property in javax.comm.properties)
Tina POS does not use the printer drivers nor the Windows XP printer queue. Tina POS writes directly to the serial port where the printer is connected. You must uninstall the printer drivers.
In linux you have to instal the rxtx version of the comm driver: http://www.rxtx.org There is also a how to in http://wass.homelinux.net/howtos/Comm_How-To.shtml
I had managed to get commAPI work now. For Linux, do not go with the old version 2.0(solaris) as RXTX needed.....use from sun direct, version3.0 update 1.
for it to work with Tina POS, you need to configure ie:- custmer display to "file" and use /dev/ttyS0 (for com1) . And do like wise for ESC/POS printer that connected to your com2 for example.
hmm abit strange though as i can set it to "serial" thus "file" is used. Any idea why?
After installing Java Comm you must configure the printer in Tina POS. An example of the configuration is: printer "serial", port "COM1"