Save document after printing in Integration
We have an integration where we use a number of layouts with variable data. The print action has a check box to save the document after printing, which overwrites the sample data in the layout with the last set of variable data.
Is there a way to save the last instance of the document with the variable data received from the integration in a different folder?
We would like to be able to re-print the document as it was created by the integration but on a different printer. Alternatively we would need to find the print job in the history and re-print it from there.
All and any comments are welcome!
-
pthane
★ BarTender Hero ★
If you are printing the same label at the same time to two different printers you could just add a second print label command to your integration.
If the label is to be printed at a different time, as long as you are logging the information to your System Database (see Print Job Logging option in Administration Console), you could use the Reprint Console app to achieve this by selecting and reprinting the original print run but this time choosing the alternative printer
0 -
h.rauch
★ BarTender Hero ★
pthane Thanks for your reply! I thought of the Reprint Console as well, but that means installing the complete BarTender suite on a client PC which I then have to keep track of for upgrades. I was thinking of storing the merged documents (layouts + data) in a folder structure to make the correct ones easy to find and give the user access through the Print Portal. I suppose I could check the "Save document at end of print job" box and copy the resulting file to my folder structure, giving it a name that makes it easy to find for the user.
Just to add a bit more detail: we have multiple case packing machines with label printers in the factory, which pack different products. When the cases reach the palletiser on the conveyor system a scanner reads the label to direct the cases accordingly. Sometimes the print quality is bad or the label is missing altogether, so we need to re-label the case but first need to reliably and quickly identify which of the case packers, i.e. which job/product, we need. The Re-Print console provides that functionality but is a bit overkill for this (I think). So I thought of the Print Portal.
Does that make sense or am I overcomplicating things?
0 -
pthane
★ BarTender Hero ★
What version/edition of BarTender are you using?
0 -
h.rauch
★ BarTender Hero ★
pthane
We are running BT 2022 R6 Enterprise
0 -
pthane
★ BarTender Hero ★
Reprint console would be the simplest way to achieve this. If say supervisors were given remote access to the server then they could open Reprint Console from there.
If you only have one layout then you could perhaps create a 2nd version of the label that is linked to a text file as the database and configure an integration to run when a text file trigger is received. You could need multiple triggers and folders if you need to print to different printers, ie one for each printer.
At print time you could add an Action to write the data fields to a text file in a folder at print time such as:
To make the data available you would need to make each field a Named Data Source and add them as variables into the configuration as you can see above. The unique reference could also be used as the file name (again as shown above).
To reprint this a user would need to search for this output file and move it into the appropriate trigger folder as mentioned above, at which time the Integration could be configured to trigger and rename the file, open the text database linked label and populate it with the data in the file and then delete the trigger file afterwards.
0 -
h.rauch
★ BarTender Hero ★
Thanks a lot, pthane, some good hints there! I'll see if I can build a prototype and discuss with the users.
Thank you very much for your advice!
0
Iniciar sesión para dejar un comentario.
Comentarios
6 comentarios