easegura777 Posted March 3, 2014 Posted March 3, 2014 I nedd reading port com, it es for printer Fiscal in Country Panama, any Idea Thanks
rencarnacion Posted March 3, 2014 Posted March 3, 2014 As far as I know is Not Possible, I guess you should use an Applet or Activex tools.
adragan Posted March 3, 2014 Posted March 3, 2014 To read a local port would be quite a interesting development. To write a file to the local cash register is more manageble. I used a solution like that : I setup the download directory for the browser to , lets say c:\temp\cashregister Server create a file that is in the "language" of the cash register and send it to the client. I wrote a small program running on the client machine which is browsing that directory every 5 seconds for some new files. If it finds something, it activates the cash register software and prints the bill and then renames or deletes the file sent by the server. The only downside is that the browser asks for permission all the time. An ActiveX would be better but I didn't what to complicate my life too much and be blocked in IE world. There are other more sofisticated solutions but this is the simplest !
docjones Posted March 7, 2014 Posted March 7, 2014 You can do it with jzebra applet. Search in the forum, there are some info about that
rasaliad Posted May 12, 2014 Posted May 12, 2014 Hola Edgar, Have you resolve the problem to read the com port?, I have the same need. I need to read the serial com port read the weight form a bascula. Please some Help or Idea. Thanks in advanced
zilav Posted May 12, 2014 Posted May 12, 2014 You will need to write your own COM port reader either as ActiveX/XPCOM/whatever plugin, or a sepatate web server returning port data in json running on a client's PC.
Administrators Farshad Mohajeri Posted May 12, 2014 Administrators Posted May 12, 2014 Best method here is to use a RS232/TCP-IP network converter and read the value directly from server side code.
billyChou Posted May 13, 2014 Posted May 13, 2014 Hi in Web client native rs232 port , IE use ActiveX, other browser call java / flash native client rs232 port , but dangerous.
rasaliad Posted May 13, 2014 Posted May 13, 2014 Thanks, Farshad. I Will do some search about what you said.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now