How Can I Print Modifying Values!? Visual Studio`+Seagull.bartender.print Follow
hello,
I would like to to something like this:
I have a file Documento1.btw with a Datamatrix with the text 12345678.
I print this with this code:
using (Engine btEngine = new Engine(true))
{
LabelFormatDocument labelFormat = btEngine.Documents.Open(@"C:\Users\s.sada.ROFIN\Desktop\Documento1.btw");
btEngine.Edition.
labelFormat.Print();
}
I WOULD like to print diferent text in datamatrix and I have to do this with for example a .txt or other file and print the new datamatrix with the new value.
Its the same that if I change this using select new data type-> external file in properties (inside bartender enterprise automation)
Thanks very much!
4 comments
If you have given the Datamatrix a DataSource Name e.g. BarCode1 then you should be able to use something like (in VB):
labelFormat.SubStrings("BarCode1").Value = "My New Value"
Sorry but... how i can give the datamatrix a datasource Barcode1?????
Thanks ;)
If you have given the Datamatrix a DataSource Name e.g. BarCode1 then you should be able to use something like (in VB):
labelFormat.SubStrings("BarCode1").Value = "My New Value"
Could you share how did you solved... :D thanks
Regards
Please sign in to leave a comment.