09-26-2023 06:34 AM
Hello,
I am new to LabView, I want to print the ZPL code which I modified using some function inside Labview. I use Windows 10 and Zebra Printer Zt411, connected using a USB cable.
However, I only saw the COM port option when using the VISA function. Please guide how can I manage this using a USB port.
Solved! Go to Solution.
09-26-2023 07:03 AM
I use this .net dll to write ZPL code to a printer directly.
https://github.com/rkone/sharpzebra
09-26-2023 07:38 AM
Have you tried a Web search for "labview zebra printer usb"? When I did, I found this NI Knowledge Article .
Bob Schor
09-26-2023 08:25 AM
I would say that, that knowledge Article is plain wrong.
I have never ever seen a zebra printer that pr default is installed as a COM port.
09-26-2023 08:38 AM
There are other links on the Web (and on the Knowledge Article i referenced) that point out other references to running Zebra printers in LabVIEW. It appears (to me) that the main difference is that once you establish the Serial Connection, you just need to know the ZPL commands and how they work (Format into String might be your Friend, here) to get the Printer to do what you'd like it to do ... But the answers do appear to be available on the Web, in the Forums, etc.
Bob Schor
09-26-2023 08:45 AM
This is the method I use and it works great.
10-23-2023 05:47 AM
Thank you. It worked fine. I need to make sure that the user has basic cmd permissions.