Accessing Data that is Created by Other Programs

When you use BarTender in a production environment, an external application is typically used to create and manage data. Then, when BarTender connects to that external database, it can import the data into objects on a template and then use it to print items. You can use one of the following methods to set up such an environment.

Manual Method

The manual method to print items by using data from an external database is to export the data to a supported format, such as a text file, OLE DB, or ODBC database. To do this, run BarTender in a separate window, and then use the Database Setup dialog to connect to the database. After the objects on the template are connected to the database fields that you want, you can print your items directly from BarTender.

Partial Automation Method

You can enable some automation of this function by running BarTender from within the other program. When you do this, the other application creates the file that contains the data. It then runs BarTender and indicates which data in which document to print. Depending on the command-line parameters, BarTender can be instructed to exit when the print job is over or be left running.

SAP IDoc Method

You can leave the data in an SAP IDoc file and instruct BarTender to read and parse the data by using an SAP IDoc configuration file.