1 Trigger File + Commander + Collation 追蹤

Legacy Poster

Hi, I'm looking for some guidance on this. Seems like it should be easy but I can't figure it out (yet?).

I have a trigger file going to Commander. It has multiple lines in it. I have three label files. This one trigger file needs to go to each label. Therefore: One trigger file with 10 line items = 30 labels.

If I want 10*Label1, then 10*Label2, then 10*Label3 in order this is easy. The first commander process renames the trigger file to a file type Label 2 is looking for, which renames for label 3, and all is done in order.

However, what I'd like is 10 sets of three, so L1,L2,L3,L1,L2,L3, etc.

I tried creating a batch and it worked in the way I wanted except did NOT pull data from the trigger files.

I went into commander, hoping it would be so easy to append another .btw to the command section, but it only seems to go with the last bartender file specified.

What's the simplest way to do what I want? I am on BT 9.4 enterprise automation.

I think I saw something about appending XML to the trigger file itself, which seems like a non-intuitive place to put this kind of thing.


1 意見

Fernando Ramos Miracle
評論操作 永久連結


The easiest way to do this would be to use Commander script (could also be done through XML script).

With Commander script you básically enter a script line for each document to print, and at the end you enter the data (if using the trigger as database). The trigger file would be something like this:

[i]%BTW% /AF= "C:\Label1.btw" /D="%Trigger File Name%" /R=6 /P
%BTW% /AF= "C:\Label2.btw" /D="%Trigger File Name%" /R=6 /P
%BTW% /AF= "C:\Label3.btw" /D="%Trigger File Name%" /R=6 /P
%BTW% /AF= "C:\Label4.btw" /D="%Trigger File Name%" /R=6 /P
... data ...[/i]

This will print four labels using the trigger file as database (note that the /R command marks the start of the actual data, including the header if using it) and each print job using a different document.

For more information please take a look at the below white papers: