Zebra Technologies EPL2 manual Constant and variable values in flash printers

Models: EPL2

1 138
Download 138 pages 45.57 Kb
Page 25
Image 25

A Command - ASCII TEXT

Simple Expressions An advanced function of the A command allows in Data Fields 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 For the p1 - p7 and “DATA” parameters - See first page of A command, page 3-4.

p8 = Required. Must be a variable data field number, e.g. V00, V01 etc.

p9 = Required. Operator, + or –

p10 = Required. Variable data field number or constant value.

Valid Number Ranges: 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 for- mat 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 store 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.

980352-001 Rev.A

3-7

Page 25
Image 25
Zebra Technologies EPL2 manual Constant and variable values in flash printers, Syntax Ap1,p2,p3,p4,p5,p6,p7,DATAp8p9p10…