How Can I Print Modifying Values!? Visual Studio`+Seagull.bartender.print 追蹤

0
Avatar
Legacy Poster

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 意見

0
Avatar
Legacy Poster
評論操作 永久連結

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"
0
Avatar
Legacy Poster
評論操作 永久連結

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"
0
Avatar
Legacy Poster
評論操作 永久連結

thanks, i solved it :)

0
Avatar
Legacy Poster
評論操作 永久連結

Could you share how did you solved... :D thanks

 

Regards

登入寫評論。