Command-Line Parameter Reference |
You can automate what BarTender does by using command-line parameters. The syntax of a command is as follows:
Brackets in the command-line examples in this help system indicate optional material that is not required in every use of the command or parameter. Never include the brackets themselves. For example, the brackets in the preceding command indicate that you can run BarTender without any parameters at all, in which case BarTender will start in its default state.
For information about the various types of command-line commands, refer to the following:
Command |
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