LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Zebra printer - Printing from LabVIEW using ZPL commands....

Hello

 

I'm using the GC420t that I want to interface with Labview.

The files you provided seems to be approprate but I still can't use my Zebra GC420t on labview

 

I' m using the test code to try to do something but it keeps on returning errors about different sub VI.

I tried many of the subVIs, I get errors like

"Call Library Function Node in Zebra USB Driver.lvlib:Reconnect.vi->Zebra USB Driver.lvlib:Transmit Data.vi->Zebra USB Driver.lvlib:Test Driver.vi"

 

I guess it worth mentionning that i'm using labview 17 64 bits on windows 10

 

Thanks

 

0 Kudos
Message 141 of 165
(3,058 Views)

This error is because the code is looking for a dll that should be included with the code. We normally store the dll in the directory: c:\ProgramData\Zebra Tools\Drivers. The name of the dll is ZUSB.dll. The version I sent may also have a VI named "Get Driver Path.vi" which you can use to specify the location of the dll file. If it is there it should be pointing to the above directory.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 142 of 165
(3,037 Views)

my ZUSB.dll is in a different directory

 

I changed the path on the Get_Driver_Path's block diagram, still nothing.

 

It looks like the printer is absolutely not recognized by Labview.

0 Kudos
Message 143 of 165
(3,025 Views)

Please post the exact error message that you are getting including the error code.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 144 of 165
(3,006 Views)

 

 

Here's a screenshot of the test driver VI after pressing the connected button.

It kind of looks like that evertytime I press a button, always the same kind of error occuring.  I can't even get the printer info.

 

I tried something else and I had a pop-up message saying the DLL might be 32 bits so not compatible with the 64 bits software. Could it be the issue?

Download All
0 Kudos
Message 145 of 165
(2,997 Views)

Are you running LabVIEW 64-bit? Have you tried running it with the 32-bit version? We have not created a 64-bit version of the dll. Also, we are still running Windows 7 here. However, my Windows 7 is a 64-bit version but I use the 32-bit version of LabVIEW. It works correctly in that environment.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 146 of 165
(2,981 Views)

I downloaded and installed a 32-bits version of labview.

 

I now have a bit more interaction as the device is recognizes by the software but still no connection.

 

Using the Test driver.vi, I can see the printer on the info but I still have error when i'm trying to connect or disconnect

 

In VISA i wasn't able to install the driver.  Again, the printer is recognized but It just had 2 test files downloaded explaining how to activate the driver in Windows 8, XP... these files are useless tome because i'm on windows 10.

0 Kudos
Message 147 of 165
(2,959 Views)

I will have to look into the Windows 10 issue. We are still running on Windows 7 and have not tested the dll on Windows 10.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 148 of 165
(2,950 Views)

Okay

 

hopefully you'll find something

 

Thanks a lot for taking the time to answer me and to look for a solution

0 Kudos
Message 149 of 165
(2,947 Views)

Hi Mark,

 

I am working with Windows 10 and not all the functions of Test-Vi are running without errors, but I am able to detect and connect and I can also print over your VI.

Unfortunately we have some hardware only working with 64bit dll on a 64-bit system, so I cannot combine your provided VIs with these.

Is there any chance that you can provide a 64bit dll in the next time?

 

Thanks for your great support up to here.

Regards

Caiv

0 Kudos
Message 150 of 165
(2,925 Views)