Call Script On Every Print Job S’abonner

0
Avatar
Legacy Poster

I need to make a database entry with form data from Bartender every time something is printed. Is there a way to pass this data onto a script? It seems that most of the integration options only allow for calling Bartender externally not for calling another action from within bartender itself.

 

Thanks

Chris

4 commentaires

0
Avatar
Ian Cummings
Modérateur
Actions pour les commentaires Permalien

Not sure on you question here.  Are you trying to update a record in a database, after a BarTender print job, where the updated record includes data from the print job?

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Yes, exactly. I would like to enter multiple values supplied to the template to update a remote MSSQL database.

0
Avatar
Ian Cummings
Modérateur
Actions pour les commentaires Permalien

For each data source that is set via the data entry form you should specify a data source name so that you may directly reference them from within the VB script.  I'd suggest that you use an event based VB script wth an end of print job being used for making the SQL Server database connect and then committing the database update transaction.

 

If you search Google with something like "VBS update SQL Server database" you should find guidance of the script needed to make a connection and update a record.

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Awesome, thanks for your help

Vous devez vous connecter pour laisser un commentaire.