Solved

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

Posted on 2013-06-04
10
919 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 80

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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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 80

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
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…
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)
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.

828 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