• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1130
  • Last Modified:

send data to customer display pole via web browser (chrome)

I need to implement a customer display pole for my web based POS application.
From what i have read so far, this is possible through javascript working with browser plugins.  

my preferred browser is chrome. i heard there is a way to control serial ports and usb ports using chrome plugins and javascript. does anyone have any experience with this type of issue?

Thanks in advance for your help.
0
codechewer
Asked:
codechewer
  • 4
  • 2
2 Solutions
 
David Johnson, CD, MVPOwnerCommented:
Simple answer is NOT possible.. web browsers do not interact with the hardware directly.  You need some glue to go between the web application and the serial/usb ports.
0
 
codechewerAuthor Commented:
yes i agree this is not directly possible without a "glue" between browser and OS of system.

in IE i know there are activex controls for this. also in chrome i know there are some type of plugins for this as explained in this page:
http://developer.chrome.com/trunk/apps/app_hardware.html

i guess i am seeking help in terms of code snippet from anyone who has tried this before or any chrome plugin i can buy to help me do this.
0
 
codechewerAuthor Commented:
i finally figured out a solution. thanks for all your help. i ended up building a webservice that installs to the client computer.  i couldn't call exe from javascript in chrome, which makes sense for security reasons.

Thats why i ended up with a windows service that can be called via http protocol.  And the client installs this once on their computer like they will install a device driver.

My web application makes calls to this service passing the data to the service. the service has all the code to talk to the customer display pole passing the data sent by the javascript call.

works like a charm!
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
codechewerAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for codechewer's comment #a39223972

for the following reason:

this solution works. tested and robust. there was no other alternative solution provided for my question
0
 
David Johnson, CD, MVPOwnerCommented:
That is exactly what I told you.. this web service was the glue the went inbetween
0
 
codechewerAuthor Commented:
i must be able to choose my answer as final answer with ve3ofa's contribution but  you guys do not allow me to assign points to my answer.

now i am not able to close this ticket because i cannot award all the points to any answer given. i can award some points to ve3ofa because he was right about his answer but that was not the entire solution.

 i figured out exactly what "glue" will go between browser and hardware periphery and make it work.
0
 
John PerezCommented:
Hello,

Im interested in your solution, can we get in touch somehow?

Thanks
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now