Zebra Technologies EPL2 User Manual

Page 24

Advertising
background image

A Command - ASCII Text

Variable Data and

Counter Functions

The “

Data”

field can be replaced by or com-

bined with the following commands:

Vnn

= Prints the contents of variable “

nn

” at

this position where

nn

is a 2 digit num-

ber from 00 to 99. See the V command,

page

Cn

= Prints the contents of counter “

n

” at this

position where n is a one digit number

from 0 to 9. See the C command, page .

Example:

A50,0,0,1,1,1,N,"DATA"

¿

: Writes Text

A50,50,0,2,1,1,N,V01

¿

: Writes contents of variable 01

A50,100,0,3,1,1,N,C1

¿

: Writes contents of counter 1

A50,100,0,3,1,1,N,C1+2

¿

: Writes contents of counter 1 plus 2

Data with the RTC

Time & Date

Functions

The “

Data”

field can be replaced by or com-

bined with the following variables:

TT

= Prints the current time at this position in

the predefined format. See the

TT

com-

mand for format selection. This variable

is available only if the printer Time &

Date option is installed.

TD

=Prints the current date at this position in

the predefined format. See the

TD

com-

mand for format selection. This variable

is available only if the printer Time &

Date option is installed.

Examples:

A50,150,0,4,1,1,N,TT↵

: Writes current time

A50,200,0,5,1,1,N,TD↵

: Writes current date

or a combination of several options:

A50,300,0,3,2,2,R,"Deluxe"V01C2"Combo"TDV01TT↵

:Writes the text “Deluxe” followed by the contents of variable 01 fol-

lowed by the contents of counter 2 followed by the text “Combo” fol-

lowed by the current date followed by the contents of variable 01

followed by the current time.

3-6

980352-001 Rev.A

Advertising