LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Zebra Printer GK420d

I am having issues with my Zebra printer being found via USB in LabView. I also don't have much experience with LabView to begin with, so I need some help with a basic code that uses the printer connected to the computer and gives it a signal to print. It doesn't have to be super elaborate at the moment, but ideally I would like to have a working printer prior to adding things like auto updates for dates and such. If someone could help me please, I'd appreciate it. Eventually, I will need to incorporate it to the attached VI. The VI preforms a test, and then sends a signal to a light that goes green for a good part and red for a bad part. With the printer, I would like to print a label when the test executes and the part passes as good.

0 Kudos
Message 1 of 2
(801 Views)

It is not an easy process, you need to find more setting process by yourself. 

 

First of all, you need to know ZPLII commands to generate a txt file, such as "test.txt"

 

 

Second, configure the computer to simulate a parallel (LPT) Printer with a USB Printer

 

How do I simulate a parallel (LPT) Printer with a USB Printer? - Super User

 

 

Then run System Exec.vi   and make "C:\>Copy test.txt lpt1" as the input.

 

you can also use bartender, codesoft or other softwares.

0 Kudos
Message 2 of 2
(767 Views)