- 109 -
l Condition. Defines one-line programming expression that must provide a Boolean value(true
or false). When the result of the expression is true, the action will execute. This is a method
to not execute action every time, but only when monitored variables have certain values.
l Ignore failure. Specifies to ignore the error and continue with the next action, even if
execution of the current action fails. The nested actions that depend on the current action will
not execute. The action execution will continue with the next action on the same level as the
current action. The error is still logged in Automation Manager, but it will not break the
execution of the action. For more information, see Error Handling.
EXAMPL E: At th e en d of p rin ti n g you mig ht wan t to s en d th e s tatu s u pd ate to an
exter nal ap pli c ati on u s in g HT T P Req ues t ac tion . If p r intin g ac tion f ail s th e tr ig g er
s top s p r oc es sin g ac tion s . In or der to exec ute the r ep or tin g even af ter f ail ed p r int
ac ti on , th e Pr in t L ab el ac ti on mu s t have th e op ti on Ig n or e failu r e en ab led .
l Save error to variable. Specifies to save the error description to some variable, when some
error breaks the execution of this action. The same cause of error is also saved to internal vari-
ables ActionLastErrorId and ActionLastErrorDesc.
Set Printer
Specifies the name of the printer where the label will print. Use this action to override the printer
defined in the label template. This action is also useful when you must print the same label template
to different printers. You must always nest this action under the Open Label action to reference the
label, where to change the printer. This action reads the default settings --such as speed and
darkness-- from the selected printer driver and applies them to the label. If you don't use the Set
Printer action, the label will print to the printer as defined in the label template.
WARNING: Be careful, when changing the printer from one printer brand to another, e.g.
from Zebra to SATO, or even from one printer model to another model of the same brand.
The printer settings might not be compatible and label printout might not be identical. Also,
label design optimizations for original printer, such as internal counters, and internal fonts,
might not be available on the selected printer.
Printer
l Printer name. Specifies the printer name. You can select the printer from the list of locally
installed printer drivers, or you can enter any printer name. The option Variable enables the
variable printer name. When enabled, you must select a variable that will contain the printer
name when trigger is executed. Usually, the value to the variable is assigned by a filter.
Action Execution and Error Handling
l Enabled. Specifies if the action is enabled or disabled. Only enabled actions will execute. You
can use this functionality for testing.
l Condition. Defines one-line programming expression that must provide a Boolean value(true
or false). When the result of the expression is true, the action will execute. This is a method
to not execute action every time, but only when monitored variables have certain values.
l Ignore failure. Specifies to ignore the error and continue with the next action, even if
execution of the current action fails. The nested actions that depend on the current action will
not execute. The action execution will continue with the next action on the same level as the
current action. The error is still logged in Automation Manager, but it will not break the