Call Script On Every Print Job Follow

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 comments

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

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
Comment actions Permalink

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

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

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
Comment actions Permalink

Awesome, thanks for your help

Please sign in to leave a comment.