Is there a way to send ZPL (Zebra Programming Language) to a printer in .NET?
I have the code to do this in Delphi, but it is not pretty and I would rather not try to recreate it in .NET as it is.
Is there a way to send ZPL (Zebra Programming Language) to a printer in .NET?
I have the code to do this in Delphi, but it is not pretty and I would rather not try to recreate it in .NET as it is.
I use the combo of these two
There is an answer on the Zebra support website:
https://km.zebra.com/kb/index?page=content&id=SA301&cat=ZISV_PL_ZPL&actp=LIST
The simplest solution is with copying files to shared printer.
Example in C#:
where:
Here is how to do it using TCP IP protocol :
Source : ZEBRA WEBSITE
Figured since this is still showing up high in search results for C# and ZPL I should mention SharpZebra. It's only EPL2, but I've submitted an update that adds ZPL support along with printing via sockets, the Windows Spool Service and direct USB.
I've managed a project that does this with sockets for years. Zebra's typically use port 6101. I'll look through the code and post what I can.