164

EPL Commands

V

V

Define Variable

Description Use this command to define variable data for the text and bar code data fields in stored forms. Variable data can be combined with fixed data or other data types (counter, date, etc..) in text or bar code data fields.

Use this command in forms that require unique data on each label. When initializing variables:

They must be defined in order (e.g. V00 first, V01 second...)

They must be the next entries after the FS"FORMNAME" command.

They must be located before any counter variables.

Variables must not contain the NULL character (0 dec.;00 hex.). The NULL character is an illegal text character.

To print the contents of the variable, the variable number is referenced in the “DATA” field of the A (ASCII text) or B (Bar Code) commands.

The field justification parameter effects the way the variable will be printed. When L of R are selected, the variable value will be printed left or right justified in an area with a width defined by p2 parameter.

Syntax Vp1,p2,p3,”[-]PROMPT”

Parameters This table identifies the parameters for this format:

Parameters

Details

 

 

 

p1

= Variable number

Variable (reference) numbers are sequential and must be input

 

 

into a form in ascending order.

 

 

Accepted Values: 00 to 99

 

 

 

p2

= Maximum number of

This is the maximum number of characters allowed in the

 

characters

variable field.

 

 

Accepted Values: 1 to 99

 

 

 

p3

= Field Justification

Accepted Values:

 

 

L = Left

 

 

R = Right

 

 

C = Center

 

 

N = No Justification

 

 

Note • Right and center justification does not apply to

 

 

soft fonts.

 

 

 

14245L-003 Rev. A

EPL Programming Guide

12/16/13

Page 164
Image 164
Zebra Technologies 14245L-003 manual Define Variable, 164