Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
Sending printer data through the network / tcp from a button |
Fri, Jun 2 2017 9:33 AM | Permanent Link |
kamran | Hi
I have a receipt printer which I need to send print data to. It is an "Epson receipt TM 88 VI" printer so "ESC POS" codes could be used to perform a direct print from a button in the EWB app. I guess I need to build the codes and text of what i want to print in a string and send it through to the printer? Just trying to work out how this is possible with EWB ? Any pointers? Regards Kamran |
Fri, Jun 2 2017 10:12 AM | Permanent Link |
Matthew Jones | kamran wrote:
> I have a receipt printer which I need to send print data to. > > It is an "Epson receipt TM 88 VI" printer so "ESC POS" codes could be used to perform a direct print from a button in the EWB app. > > I guess I need to build the codes and text of what i want to print in a string and send it through to the printer? > > Just trying to work out how this is possible with EWB ? If it is possible at all, EWB can do it. The key is to find out how to do it from JavaScript, and then you can just get EWB to copy that. https://stackoverflow.com/questions/12407778/connecting-to-tcp-socket-from-browser-using-javascript might give some clues, but also a little old so things may have moved on. -- Matthew Jones |
Sat, Jun 3 2017 8:01 PM | Permanent Link |
kamran | thanks Matthew will look into it !
"Matthew Jones" wrote: kamran wrote: > I have a receipt printer which I need to send print data to. > > It is an "Epson receipt TM 88 VI" printer so "ESC POS" codes could be used to perform a direct print from a button in the EWB app. > > I guess I need to build the codes and text of what i want to print in a string and send it through to the printer? > > Just trying to work out how this is possible with EWB ? If it is possible at all, EWB can do it. The key is to find out how to do it from JavaScript, and then you can just get EWB to copy that. https://stackoverflow.com/questions/12407778/connecting-to-tcp-socket-from-browser-using-javascript might give some clues, but also a little old so things may have moved on. -- Matthew Jones |
This web page was last updated on Friday, March 29, 2024 at 03:30 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |