LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cab eos2 label printer driver/control

Hi There,

 

I have been searching for a labview driver to print labels via a cab eos2 printer with no luck. Does anyone know if one is available or is anyone willing to share some code?

 

Thanks in advance.

0 Kudos
Message 1 of 7
(2,263 Views)

You may or may not find an implementation on LV, in my 5-min research I was able to find a bunch of programmer's manual and drivers from manufacturers website - it may not be easy but possible, you need to put more effort into understanding the driver APIs, call them from LV (probably a dotNET or C dll call).

 

Anyway, all the best if somebody already has done this and can share that with you.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 7
(2,246 Views)

There are a number of ways of communicating with the printer. As you pointed out, one of them is via the DLLs/API (thanks for looking into that for me). Another is via OPC UA (which I had never heard of until I started looking at this printer). I loaded the Labview demo code and can read values from the printer. However I can't seem to figure out how to write to the printer.

 

Maybe this would be an easier approach rather than trying to get the DLL API to work? Or maybe I would be better off looking at other printers (Cost of developing code vs cost of printer)?

0 Kudos
Message 3 of 7
(2,211 Views)

OPC UA sounds like an interesting option but you need to calculate the runtime license cost of the OPC UA driver into this. There are two different licenses, the Development version is needed for your development PC where you develop your application on. The Deployment license is needed for every computer you want to run your build application on (except your development computer, the Development license also includes the Runtime/Deployment license for that computer).

 

Not sure why you wouldn't be able to write to the OPC UA tags for that driver. Could it be a permission thing? OPC UA provides some possibilities to prevent both read and write access to specific tags depending on a configuration that must be set by the user. Default is in many cases to allow read but prevent write access, since OPC UA is often used to control real hardware that may pose a serious danger to people and material if messed with in the wrong way.

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 7
(2,207 Views)

Is the printer connected to the network? If so, you can communicate directly with it using TCP over port 9100. I am not familiar with this printer nor it's native label formatting language. The printer does support ZPL emulation so you can define labels using ZPL and simply send that to the printer. The printer also supports LPD. I have developed a LDP library. However, I would use the raw port as it is more efficient than LPD.



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 7
(2,195 Views)

Just tried this and it works very well. A few issues I still need to figure out (like printing icons) but so far, all good. Many thanks.

0 Kudos
Message 6 of 7
(2,169 Views)

hello

nice see that,it will be nice if you could share the solution 

 

thank you in advance 

0 Kudos
Message 7 of 7
(1,345 Views)