Automatic Print Job Execution

By using command-line parameters, you can instruct BarTender to open a document, print it, and exit without ever seeing the BarTender window. Enter the following command line to perform these functions:

bartend.exe /F=partlist.btw /P /X

In this command, the /F parameter instructs BarTender to load a document that has the file name "partlist.btw". The /P parameter starts a print job without any user intervention, and the /X parameter closes BarTender automatically after the print job is complete.

If you use this command for a document that contains objects that require user input, the data entry form appears before BarTender prints the items. To complete the print job, enter the necessary data into the reply boxes, and then click Print.

Related Topics