node-native-printer icon indicating copy to clipboard operation
node-native-printer copied to clipboard

Send RAW printer instructions to Zebra printer

Open raviada opened this issue 6 years ago • 0 comments

Describe the bug We are trying to print barcodes on Zebra printer. I integrated this package into our node application, I was able list all the printers and print. But the problem is it only prints text, but I need to send ZPL instructions to printer. There is no such option exists on windows.

Expected behavior Print barcodes on zebra printer.

OS

  • Windows 10

Is this even possible with this library?

Thanks in advance.

raviada avatar Oct 09 '19 02:10 raviada

This library uses the .NET PrintDocument class. You cannot print raw ZPL that way. I am currently looking for a solution as well for printing direct ZPL on windows over USB.

https://www.zebra.com/us/en/support-downloads/knowledge-articles/using-the-net-class-printdocument-for-printing-to-a-zebra-printer.html

Ended up using child-process exeFile and RawPrint.exe from http://www.columbia.edu/~em36/windowsrawprint.html

Would love a way to do it directly through this library

bjm904 avatar Oct 15 '19 21:10 bjm904