V - define variable 3-103, Command - define variable -103 – Zebra Technologies EPL2 User Manual

Page 121

Advertising
background image

V Command - 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.

Syntax

Vp

1

,

p

2

,

p

3

,

"[-]PROMPT"

Parameters

p

1

= Variable number.

Range:

00 to 99

.

Variable (reference) numbers are se-

quential and must be input into a form

in ascending order.

p

2

= Maximum number of characters

Range:

1 to 99

.

This is the maximum number of charac-

ters allowed in the variable field.

p

3

= Field Justification.

L

= Left

R

= Right

C

= Center

N

= No Justification

Note: Right and center justification does

not apply to soft fonts.

“PROMPT”

= An ASCII text field that will be

transmitted to the host (via the serial in-

terface) each time this command is exe-

cuted. Use the prompt to ask for a value

to be entered for the variable.

KDU Options [

-

] = Having the first character of the prompt

a single minus sign will cause the

prompt to display only once after form

retrieval.

KDU Character

Number Limit

The KDU allows a maximum of 40 characters

for entry into a variable data field and display.
KDU Range (

p

2

):

1 to 40

, but not to exceed a

total of 1500 bytes for all variables.

980352-001 Rev.A

3-103

Advertising