![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/0d/f0dbe579-baa4-4276-8784-c40cba6c47d8/f0dbe579-baa4-4276-8784-c40cba6c47d8-bg30.png)
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 Ap
1
,p
2
,p
3
,p
4
,p
5
,p
6
,p
7
,”DATA”[p
8
p
9
p
10
…]
Parameters This table identifies the parameters for this format:
Parameters Details
p
1
through p
7,
”DATA”
See the first page of the A command on page 43.
p
8
= Required variable
data field number
Must be a variable data field number, such as V00, V01, and
so forth.
p
9
= Required operator Accepted Values: + or –
p
10
= 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.