Solved

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

Posted on 2013-06-04
10
892 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
  • 4
  • 2
10 Comments
 
LVL 79

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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

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 79

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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)

813 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now