Print Command Script via Integration does not put DB data into the correct fields
Hello, I am struggling with trying to use an integration to print via a print command script. When connected to the DB in the Bartender document, it is setup correctly, but when printing via the Print Command using the same DB, the data is suddenly linked to random fields and I cannot figure out why.
My integration is working fine other than this.
I am using an embedded scrip, where AF points to my Bartender template file correctly, D points to the DB where it should be getting the data from (which it is, because you can see in the pic that the data does match).
%BTW% /AF="%TemplateFilePath%%BartenderTemplate%" /D="%IntegrationFileFolder%%LabelDataFilePath%" /PRN="%TargetPrinter%" /R=1 /P
%END%
-
Casey Hebding
★ BarTender Hero ★
After digging into this issue further, I was able to resolve it. It seemed to have to do with the data source. I was using the same file as the data source for the Bartender template and the command script data source. For whatever reason this caused the behavior with the fields being messed up.
To resolve this, instead of connecting the Bartender template to a dynamic csv text file, I instead just used "embedded data" and kept the command script pointing to that csv file. Now I do not run into the problem anymore.
0
Please sign in to leave a comment.
Comments
1 comment