Commander Script And Named Sub Strings
Hi,
So we have a solution where we mainly use btxml scripts as the data source of our prints, but occasionally we need to use commander script when we need to print to a file. This is because commander script provides function for naming the print file, which is crucial for this system.
My question is that is there some way we could use the same bartender templates with commander script as we use with btxml? Like somehow separately fill in the named sub string data and then trigger the commander script with the database field data? Managing A4 printouts with both, line fields and header fields, is really troublesome if our only option with commander script is to make a template where all fields are database fields.
-
Shotaro Ito
★ BarTender Hero ★
Commander script's command option doesn't have a method to set value to named data source (substring).
Use btxml and <Print>tag's JobName attribute.
if you meant to avoid the issue below-
well, you need to avoid using print job field.
Perhaps using VB Script to show document property would help.
ex: Multiline Script - Print specified copies
Value=Format.IdenticalCopiesOfLabel
For total pages, you can create a serialized text with increase by every copies with reset per job.
0 -
Yes but in this case we are printing PCL not PDF files. I don't think there is a way to automatically use print job name as a file name with generic PCL printer drivers.
0 -
Shotaro Ito
★ BarTender Hero ★
No - since BarTender doesn't have a command line option to specify named data source value, there's no way you can specify that from Commander script.
0
Please sign in to leave a comment.
Comments
3 comments