Using command line parameters, you can instruct BarTender to open a document, print it, and exit without ever seeing the BarTender window. Entering the following command line will perform these functions:
bartend.exe /F=partlist.btw /P /X
In the command line above, the /F parameter instructs BarTender to load a document with the file name "partlist.btw". The /P parameter initiates a print job without any user intervention, while the /X parameter closes BarTender automatically once printing is complete.
If you use the above command line parameter for a document containing objects requiring user input, the data entry form will appear before BarTender prints the item(s). To complete the print job, enter the necessary data into the reply boxes and click Print.
Related Topics
Open topic with navigation