Commander Script And Named Sub Strings S’abonner

0
Avatar
Legacy Poster

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.

3 commentaires

0
Avatar
Shotaro Ito
Actions pour les commentaires Permalien

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-

http://forums.seagullscientific.com/index.php?/topic/3990-automated-file-naming-for-pdf-printing/#entry13612

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
Avatar
Legacy Poster
Actions pour les commentaires Permalien

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
Avatar
Shotaro Ito
Actions pour les commentaires Permalien

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.

Vous devez vous connecter pour laisser un commentaire.