EPL Commands
A
48
14245L-003 Rev. A EPL Programming Guide 12/16/13
A

Simple Expressions in Data Fields

An advanced function of the A command allows addition and subtraction to be performed on
constant and variable values in flash printers.
Syntax Ap1,p2,p3,p4,p5,p6,p7,”DATA”[p8p9p10…]
Parameters This table identifies the parameters for this format:
Parameters Details
p1 through p7, ”DATA” See the first page of the A command onpage 43.
p8 = Required variable
data field number
Must be a variable data field number, such as V00, V01, and
so forth.
p9 = Required operator Accepted Values: + or –
p10 = Required Variable data field number or constant value.
Accepted Values:
Constant = 0 to 2147483647
Variable = 0 to 2147483647
Result = -2147483648 to 2147483647
The expression must start with a variable field.
The character field length defined for the first variable in
the expression will be used to format the result. If the
result is of a greater length than the defined character
length, then the result field will contain ‘X’s.
A syntax error will be generated during form storage if the
constant value is too large.
If an error occurs during the evaluation of the expression,
the resultant field will be filled with ‘X’s.