Solved

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

Posted on 2013-06-04
10
946 Views
Last Modified: 2016-09-18
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
Comment
Question by:codechewer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
10 Comments
 
LVL 81

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 500 total points
ID: 39220363
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
 

Author Comment

by:codechewer
ID: 39221262
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
 

Accepted Solution

by:
codechewer earned 0 total points
ID: 39223972
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:codechewer
ID: 39224045
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
 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 39224046
That is exactly what I told you.. this web service was the glue the went inbetween
0
 

Author Comment

by:codechewer
ID: 39224133
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
 

Expert Comment

by:John Perez
ID: 41803665
Hello,

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

Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question