The following command line will start to load a second copy of BarTender to execute a print job but will first check to see if another copy has been previously loaded.
bartend.exe /P
If you have preloaded BarTender, rather than started up a new copy, this command line will pass its parameters to the copy already running and remove itself from memory. This leaves the first copy of BarTender in control of program execution and ready to perform the functions specified on the command line. Because this process happens so fast, it may seem as if the specified parameters were sent directly to the copy of BarTender already in memory.
In the above example, only the /P parameter is used, which instructs BarTender to print data using the document that was previously loaded. However, you could specify more command line parameters, including instructions to load a different document and/or read data from a specified text file. You can continue to print additional jobs in this manner, sending as many command lines to BarTender from your other program as you like.
When you are finished printing, you will need to manually terminate the BarTender application. For more information, refer to Exiting BarTender.
Related Topics
Open topic with navigation