Using BarTender in a "Print-Only" Mode

Using a command line parameter, you can instruct BarTender to load and print a document, and then terminate the application. In addition, using a special parameter, you can request that BarTender displays the Print dialog, giving the user access to set the number of copies and serialization opportunities. Using the /PD command line parameter, you can print as many items as you desire.

The following command line allows printing but because it does not launch the user interface, it prevents the user from modifying the templates. As soon as the user exits the Print dialog, BarTender will exit completely. By entering a similar command line into BarTender's start up shortcut, the application essentially becomes a "print-only" product, which prevents users from making any design changes.

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

In this example, the /F parameter instructs BarTender to load a document with the file name "partlist.btw". The /PD parameter opens the Print dialog, allowing the user to make changes to the print settings and to print the document. The /X parameter exits BarTender automatically when the print job is complete.

Related Topics