I'd like to activate Seagull's BarTender Label printing software (version 7.71) from Labview.
Basically I need to create a new label, add text and pictures/icons to it and then send it to the printer.
I noticed an Active-X option exist but I'm not sure how to work with it. I started building something like the attached file but I don't know how to continue.
Does anyone have some examples ?
(Otherwise, is it possible to use command lines ?)
Thanks in advance,
What type of printer are you trying to communicate with? Depending on the printer it may be possible to communicate directly with the printer itself. You would need to define the label or labels you would like to print and insert the data on the fly in your application and then send it to the printer.
I am not familiar with the BarTender application itself so I can't give you advice on interfacing with it. However if it does have an ActiveX interface you should be able to communicate with it directly.
I have a few models of printers, all have LPT ports.
Labview does have Active-X interface for the BarTender software, as seen on the example I attached, but I'm missing its literature/ help and don't really now how to use it.
I was hoping someone already worked with this Active-X and can send me some examples.
Does BarTender software have built in template that you would call via ActiveX?
Here's an example using Broter software through ActiveX
from the post
Labview driven USB Label printer
Thanks for the example.
Unfortunatly I don't have the Broter software, all my stations use the BarTender. So, I guess I have to implement my application with the specific functions of the BarTender.
Nevertheless, in one of the links you gave me there's another link for a tool-kit for making barcodes in Labview. I was thinking maybe I can prepare my label with this toolkit and then only send it to the printer using the BarTtender Active-X.
Thanks for that.
I have a few printers I need to address: Citizen CLP631Z, SATO CX410 EX2, SATO CT410TT-A
Today all work with the BarTender software.
I'm not sure what do you mean by "communicate directly with the printer".
How can I automatically edit the label I want to send to the printer ?
You should create the label design by fetching data from external sources such as text file or database or any picture files and then you have to link the file path to labview and it will print the label for you .
If it is a basic version then create the labels individually for each and every design and link the files to this vi and it will print it for you.
Have you actually tried to do anything yet? Can you post it? What's your experience level in LabVIEW?
You'll probably want to start by going to the Connectivity --> ActiveX palette and dropping an "Automation open" node on your block diagram. Then right-click it, select "Select ActiveX class...", and browse to the "BarTender.IBtApplication" class and select it. Then add property nodes and/or invoke nodes to the output reference to see all of the stuff you can do with it.