admin管理员组

文章数量:1290204

We want to provide print functionality in our web application (ASP.NET, C#) for printing labels on the client machine.

Currently we are using "Dymo Label Printers" they provide a nice JavaScript API. Our client want to use Zebra printers (due to various advantages over Dymo Label Printers) but I failed to find any JavaScript API for these printers.

I came to know that there is an ActiveX control but that is too much old and I could not find any updated ActiveX control or JavaScript API. Can you please share your experience of Zebra printers? or please let me know some useful API to work with Zebra Printers on client side.

We want to provide print functionality in our web application (ASP.NET, C#) for printing labels on the client machine.

Currently we are using "Dymo Label Printers" they provide a nice JavaScript API. Our client want to use Zebra printers (due to various advantages over Dymo Label Printers) but I failed to find any JavaScript API for these printers.

I came to know that there is an ActiveX control but that is too much old and I could not find any updated ActiveX control or JavaScript API. Can you please share your experience of Zebra printers? or please let me know some useful API to work with Zebra Printers on client side.

Share Improve this question asked May 13, 2013 at 13:24 Abdul RaufAbdul Rauf 9722 gold badges10 silver badges22 bronze badges 6
  • This question doesn't seem to entirely follow the StackOverflow paradigm, but I'll give my two cents. Zebra's newer printers offer websocket connectivity that allows server side web application control: zebra./us/en/products-services/software/link-os.html. Their ActiveX control is no longer supported, as you note. There is a Java applet out there called jZebra that might help you out: code.google./p/jzebra. But, as far as I know, there is no reputable Zebra Javascript library. – jason.zissman Commented May 15, 2013 at 2:45
  • @Abdul Did you you ever solve this issue? – Malcr001 Commented Apr 9, 2014 at 13:01
  • @Malcr001 not yet, have you found any solution if yes then please share it here, Thanks – Abdul Rauf Commented Apr 10, 2014 at 5:47
  • @abdul no I have not found a solution which is why I asked. The jzebra project was the closest however as I need it to work on touch devices java applets will not work. – Malcr001 Commented Apr 11, 2014 at 7:49
  • Does this help? developer.zebra./munity/technologies/printers/… – Paolo Commented Feb 13, 2016 at 1:12
 |  Show 1 more ment

2 Answers 2

Reset to default 5

Zebra now (2018-19) offers Browser Print SDK, which has the ability to print using JavaScript. I have used it successfully with S4M printer, on a Windows machine. A rough description is that it consists of a client program that acts as an HTTP server, and a JavaScript library that can be used by other JavaScript client scripts to municate with the above server (i think two HTTP ports are used), and via server, with the printer driver. I have used ZPL language to send direct mands to the printer, using the above library.

Zebra has "SendfiletoPrinter" API - look in their developer portal under Data Services APIs.

Easy to use it for cloud based printing.

本文标签: javascriptPrinting from web application using Zebra Technologies printersStack Overflow