Command Line Parameter Reference |
You can automate what BarTender does by using command line parameters. The syntax of a command line is:
Brackets in the command line examples in the help system indicate optional material that is not required in every use of the command or the parameter. Do not ever include the brackets themselves. For example, the brackets in the preceding command line indicate that you can run BarTender without any parameters at all, in which case it will start in its default state.
Types of command lines:
Command Line |
Action |
---|---|
bartend.exe /F=c:\Formats\ship.btw /P |
Loads and prints ship.btw. |
bartend.exe /F="lib://test1.btw" /P |
Loads and prints test1.btw, which is stored in Librarian's repository. |
bartend.exe /F=F1.btw /F=F2.btw /F=F3.btw |
Loads the three specified documents. |
bartend.exe /P |
Prints all open BarTender documents. |
bartend.exe /AF=F2.btw |
Makes F2.btw the active document. |
bartend.exe /AF /P /C=2 /D="xyz.dat" |
Prints two copies of the active document using text file xyz.dat. |
bartend.exe /MediaHandling= |
Sets the printer media handling settings to cut the label stock at the end of the print job. |
bartend.exe /D="xyz.idoc" /P |
Prints all BarTender documents using IDoc xyz.idoc. |
Related Topics