BarTender Command Line |
The BarTender Command Line action executes a BarTender command line print job by using the command line interface.
You can configure the following properties for the BarTender Command Line action:
Action
Name: Specifies the name of the action. If desired, you can replace the default name by typing a new name in the field.
Description: Allows you to save a description for the action.
Run Action: Allows you to specify how often you want to run the action.
Always: Specifies that the Integration Service will run the action each time it runs the integration.
Never: Specifies that the Integration Service will not run the action when it runs the integration.
Conditionally, based on variable: Specifies that the Integration Service will run the action only when a selected variable meets a specified condition. Use this option in situations where there is only one condition that determines whether or not the action will run. Once you have enabled this option, you can create the conditional statement in the input box provided.
Conditionally, based on expression: Specifies the conditions under which the Integration Service will run the action. Use this option for situations that require more than one conditional statement. Once you have enabled this option, you can create the conditional expression in the input box provided by creating the desired conditional statements. You create and edit your conditional expression on the Tree View tab. Click the Text View tab to see a read-only text view of the conditional expression.
Command Line
Command Line: Specifies the BarTender command line to be executed. Enter the desired command line in the input box. Alternatively, you can add a variable for the command line value. You can also add a special character to the value you have entered.
|
If you receive an invalid parameter error, the parameter may have been deprecated, as is the case with the /W parameter. |
Command Line Builder: Opens the BarTender Command Line Builder dialog, where you can quickly build the command line command that you want to use.
/D database location: Specifies the location of the data file.
File Encoding: Specifies the file encoding that is used by the data file.
Print Option Overrides
Prompt for data input: When enabled, the document's data entry forms and requests are opened for user input, prior to sending the print job to the printer.
Verification Options
Queue print job and continue immediately: Submits the job to the print scheduler and then immediately completes the action. When this option is selected, no "response" options are available.
Verify the print job has been processed before continuing: Submits the job to the print scheduler and then waits for verification that the print job has been processed before completing the action.
Place Response in Variable: Specifies the variable that will return the action response. Enter the desired variable name. Alternatively, you can add a variable.
Include print data in response: When enabled, the print data will be included in the print response.
Include print summary in response: When enabled, the print summary will be included in the print response. Available when Include print data in response is enabled.
Include label data in response:When enabled, the label data will be included in the print response. Available when Include print data in response is enabled.
Include checksum in response: When enabled, the checksum will be included in the print response.
Test BarTender Command Line
Test: Runs the action. The Message pane displays information on the success or failure of the action.
|
Clicking the Test button executes the action only and does not run the integration. Therefore the action will run without any data from the integration that you may have configured it to use. For information on testing your integration, refer to Using the Test Pane. |
User Account
Inherit from parent action: When enabled, the action inherits the user account credentials specified on the Actions property page. Alternatively, if the action is part of a Group action, it will inherit the user account credentials specified on the immediate parent Group action’s property page.
Specify user credentials: When enabled, the action runs using the credentials specified.
Error Handling and Diagnostics
Ignore errors and continue running actions: When enabled, specifies that if the action fails, the remaining actions will continue to run.
|
When this property is not enabled and the action fails, the resulting behavior depends on the following scenarios:
If the selected action is within a Group action, no actions outside of that Group action are affected. |
Resend failed print jobs: When enabled, any print jobs that failed will be resent to the print spooler.
Maximum retries: Specifies the maximum number of times the failed print jobs will be resent. Available when Resend failed print jobs is enabled.
Retry if failed: When enabled, specifies that if the action fails, the Integration Service will try to run it again.
Maximum retries: Specifies the maximum number of times the Integration Service will try to run the action again. Available when Retry if failed is enabled.
Retry interval: Specifies the amount of time the Integration Service will wait after the action has failed before trying to run the action again. Available when Retry if failed is enabled.