LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ZPL labels using report generation VIs

Hi,

 

I am facing a problem in printing ZPL labels to TLP 2824-Z Model.please can any one help me to come out of the situation.

 

while printing the labels it is always prints string format.

 

i was struct to find it out.please help me..

 

 

 

 

 

0 Kudos
Message 1 of 9
(4,139 Views)

You've already started this thread for your question. 

 

 

Spoiler
Apparently my comment there didn't help...

 

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 2 of 9
(4,128 Views)

Don't use the report generation toolkit. It doesn't really know how to handle getting data back from the printer regarding such things as the internal fonts. Since you already have the ZPL for your label simply send that to the printer. You can use VISA to connect to the printer via serial, parallel or TCP quite easily. You can also connect to the printer via USB using VISA but that is a bit more challenging to accomplish. Here is some info for using USB.



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 3 of 9
(4,110 Views)

thanks for ur reply,is it possible to use LAN based printer using VISA?Moreover ZPL commands can be given directly to printer uisng VISA.

 

I am new to labview,can you please provide how to use VISA for LAN Based printer to support ZPL commands.

 

chaitu3.

 

 

0 Kudos
Message 4 of 9
(4,099 Views)

Unless you are writing an application that would need to support multiple interfaces I would simply use the basic TCP/IP VIs. All you need from those would be the open, write and close VIs. You may also need the read if you will query the printer for any status information. All you need to do is open a connection to port 9100 on the printer and send the ZPL to it. You can look at the examples that ship with LabVIEW to see how to TCP/IP Vis work. If you want to use VISA you can. There are examples that are included with LabVIEW that show how to connect to a TCP connection using VISA as well.



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 5 of 9
(4,092 Views)

I would risk repeating myself for this issue

 

Really, a ZPL express vi would be a great use of Express vis

 

(Going to wash out my fingers with soap for saying that)


"Should be" isn't "Is" -Jay
0 Kudos
Message 6 of 9
(4,089 Views)

 

 

I had a single interface to communicate with the printer "ZDesigner 110XIIIDPI", so i used TCP/IP but i was not getting zpl command format.

 

it is printing as a string format directly instead of ZPL.Please help me out.

 

thanks,

chaitu3

 

 

0 Kudos
Message 7 of 9
(4,078 Views)

I no longer have my ZM600 on-hand to test out your code.  Is your entire string printed out or is it cut off at some point?

0 Kudos
Message 8 of 9
(4,072 Views)

thanks Mark.i work out with the TCP/IP as well as VISA both the things are working great...

 

 

thanks,

chaitu3

0 Kudos
Message 9 of 9
(4,063 Views)