![background image](http://html1.mh-extra.com/html/zeka/lp/lp_programming-manual_3301653022.webp)
User’s Manual
22
ZEKA LP
7.2. OPERATION WITH COUNTERS AND VARIABLES
7.2.1. DEFINE COUNTER
The printer has the opportunity to define up to 8 counters. These are special
integer variables, which value is changed automatically after printing with
preliminary defined step. The value setting is done with the
‘?’
command. It is
used independently or in combination with other variables and counters while
generating text and barcode.
format:
Ca,b,c[d],e,f
a
counter number (0..15).
b
maximal length (1..32).
c
Alignment. Possible values:
N
No alignment. The actual length is used.
R
The counter string is aligned to right, while in the left, until the maximum
length is reached, is filled with the supplement character.
L
The counter string is aligned to left, while in the right, until the maximum
length is reached, is filled with the supplement character.
C
The counter string is centered, while in the left and right, until the maximum
length is reached, is filled with the supplement character.
d
The supplement character for the previous argument. If not defined
space is used.
e
Increment step, which is signed integer number, that will change after
printing. Allowed values: - 100..+100. If J4 is in OFF position, when
„
е
”
is
negative signed integer, the counter value stops to decrement when zero
is reached. If J4 is in ON position, the value continues to decrement and
become negative number.
f
Prompt text. This is quoted string with maximum length of 25 characters.
When initializing the counter, the printer will send this text through the
serial port. In case
f
begins with „-„ (for example „-Counter 1”), asking for
counter value with „?” will be issued only once after the certain form
activation with the „FR” command. I.e. the next asking for value with the
„?” command won’t issue asking for such counter until form reactivation
with the „FR” command.
example
:
C0,6,R0,+1,“Counter 1: ”
Содержание LP
Страница 30: ...User s Manual 30 ZEKA LP 5 dots...
Страница 38: ...User s Manual 38 ZEKA LP format EI...