Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Printing from web application using Zebra Technologies printers

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.

like image 628
Abdul Rauf Avatar asked Oct 04 '22 03:10

Abdul Rauf


1 Answers

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 communicate 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 commands to the printer, using the above library.

like image 87
hello_earth Avatar answered Oct 12 '22 05:10

hello_earth