Printing On Label-Rolls
Dear all
I need to print labels of variable length; say between 6 and 20 cm. And I need to print a variable number of graphs; say 1 to 7 jpg's. (In the EU, you need to attach a label to textiles, listing all of the ingredients in all of the EU-languages.)
Can anybody help me with this? I work with Bartender 9.4.
Many thanks in advance
Kind regards
Werner
-
Also, BarTender does not directly support creating variable lenght labels. This is part of the "forms and reports" group of features which is in our "To do" features list, but which hasn't been implemented yet into BarTender.
1.- One possible solution is to use ActiveX Automation within BarTender. Find below a quick example on how to change the height between print jobs.
private void button1_Click(object sender, EventArgs e)
{
BarTender.Application btApp = new BarTender.ApplicationClass();
BarTender.Format btFormat = btApp.Formats.Open("c:\\temp\\format1.btw", false, "");
btApp.Visible = true;
btApp.VisibleWindows = BarTender.BtVisibleWindows.btAll;
btFormat.PageSetup.set_LabelHeight(BarTender.BtUnits.btUnitsInches, 1.0f);
btFormat.PrintOut(false, false);btFormat.PageSetup.set_LabelHeight(BarTender.BtUnits.btUnitsInches, 2.0f);
btFormat.PrintOut(false, false);
}Please note that you can only change the label width and height between different print jobs, but you cannot change this in between different labels being printed during the same print job.
Please read the below White Paper which explains ActiveX Automation in more detail: http://www.bartenderbarcodesoftware.com/label-software/whitepapers/Controlling-Barcode-Label-Software-using-ActiveX-Automation.pdfSo basically you would be creating a small 'front-end' application which will control BarTender via the ActiveX Automation interface. This program will open the label format in question, assign the variable data to it, change the height of the label according to the length values contained in your database fields, then print the label
2.- Furthermore, by combining our Rich Text object (available since BT v9.4) with ActiveX Automation, you’ll also be able to achieve this:
0 -
Hello Domingo
Thank you very much for your quick response. I'm not familiar with ActiveX, but I will see how far I will get. But I think it will not solve my problem.
I was wondering, if I could call several labels from one single file and avoid "end-of-forms" between the labels. I would write a header-line and one - or more - detail-line with the different labels in the same file. (same width, different length.) But then I would have to have a way to omit the cutting of the label-roll between the labels until the file is at its end. That would be a bit of a workaround but it might do the trick.
Do you think, that would be possible?
I wish you a very nice evening
Regards
Werner
0 -
I'm sorry, but I do not fully understand what you're trying to achieve as a workaround.
What do you mean by "different labels in the same file". Do you mean to print one BT document with a different template design, each template having different dimensions? If yes, this is currently not possible. All "Templates" will share the same page dimensions (and in any case Templates are not available yet in your current version of BarTender).
With regards to the cutting frequence, depending on the printer driver in use, you can change this frequency via the "File > Page Setup" dialog, and then select the "Media Handling" tab.
0
Please sign in to leave a comment.
Comments
3 comments