Solved

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

Posted on 2013-06-04
10
843 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 78

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:codechewer
Comment Utility
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 78

Expert Comment

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

Author Comment

by:codechewer
Comment Utility
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
Comment Utility
Hello,

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

Thanks
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

762 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

12 Experts available now in Live!

Get 1:1 Help Now