![Datecs LP-1000 User Manual Download Page 37](http://html1.mh-extra.com/html/datecs/lp-1000/lp-1000_user-manual_3738260037.webp)
LP 1000
37
B.
Working with variables and counters
Defining a counter
Offers the option to define up to 8 counters, which are
whole digit variables, the values of which changes
automatically after printing at a previously set rate. Initializa
tion starts with the command ‘?’ It is used alone or in combina
tion with other variables and counters when generating a text
or a bar-code.
Format:
Ca, b, c[d], e f a
Logical number of the counter (0..7)
b
Maximum Length ( 1..63)
c
Alignment. Possible values:
N
No alignment. The true length is used.
R
The counter string is right aligned while on the left
the maximum length is set joined by the fill-in symbol.
L
The counter’s string is left aligned while on the right
the maximum length is set joined by the force justify
symbol.
C
The string of the counter is centered while on the left
and right ends to the set length the fill-in symbols are
joined.
d
The additional symbol to the previous argument. If not en-
tered a space will be included.
e
Text promt. This is string closed by inverted commas not
longer than 25 symbols. At the initialization of the counter
the printer will send this text via the serial port.
Example:
C1, 6, L, “Name:”
Defines counter number 1 with a maximum length of 6
bites, left aligned with spaces.
Initialization of variables
After this command the printer asks for initialization values
and counters
for the defined counters and variables in the order of their
logical numbers. After each entry the printer sends a text
prompt via its serial port. If a longer string is sent it will cut
off from the right end. Empty strings will call out the old
value of the counter or variable. Initializing a counter with a
string, which cannot be interpreted as a positive number will
be rejected.
Format: ?
C. Generating a graphic image
Generating a text
The command is used for inserting textual information in
the image.
Summary of Contents for LP-1000
Page 49: ...LP 1000 49 Notes ...