Brother International TD-4750TNWB FBPL Command Reference - Page 194
Device Reconfiguration Commands, 1 SET COUNTER, Description, Syntax, Example, See Also
![]() |
View all Brother International TD-4750TNWB manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 194 highlights
11 Device Reconfiguration Commands 11.1 SET COUNTER Description Counters can be a real counter or a variable. This setting sets the counter number in the program and its increments. There are three different types of counters: digit (0~9~0), lower case letter (a~z~a) or upper- case letter (A~Z~A). Syntax SET COUNTER @n step @n= "Expression " Parameter @n Description n: counter number. There are 61 counters available (@0 ~ @60) in the printer. @0 to @50 will be cleared while restarting the printer. @51 to @60 will be stored in the printer until the printer is restored to factory default. step The increment of the counter can be positive or negative. -999999999
![](/manual_guide/products/brother-international-td4420tn-fbpl-command-reference-a4fb318/194.png)
189
11 Device Reconfiguration Commands
11.1 SET COUNTER
Description
Counters can be a real counter or a variable. This setting sets the counter number in the program and its
increments. There are three different types of counters: digit (
0
~
9
~
0
), lower case letter (
a
~
z
~
a
) or upper-
case letter (
A
~
Z
~
A
).
Syntax
SET COUNTER @n step
@n=
"
Expression
"
Parameter
Description
@n
n
: counter number. There are 61 counters available (
@0
~
@60
) in the printer.
@0
to
@50
will be cleared while restarting the printer.
@51
to
@60
will be stored in
the printer until the printer is restored to factory default.
step
The increment of the counter can be positive or negative.
-999999999
<=
step
<=
999999999
If the counter is used as a fixed variable, set the increment to
0
.
Expression
Initial string. String length is 101 bytes
Example
Sample Code
SET COUNTER @0 +1
SET COUNTER @1 +0
SET COUNTER @2 -1
SET COUNTER @3 1
@0=" 0001"
@1=" 0101"
@2=" 000A"
@3=" 1"
SIZE 4,0.5
GAP 0,0
DIRECTION 1
CLS
TEXT 600,10,"3",0,1,1,3,"@0
@1
@2"
TEXT 600,30,"3",0,1,1,3, "Label"
+@3+"
-------
-------------------"
TEXT 600,50,"3",0,1,1,3,@0+"
"
+@1+"
"
+@2
PRINT 5
Result
See Also
PRINT, TEXT, BARCODE