CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS)
B-EP
Series
5-75
(8)
Increment/decrement
Printing is performed while the data is incremented or decremented every time a label is
issued. Where the data row exceeds the maximum number of digits (40), the data row
will not be drawn.
When CODE128 (without auto code selection) is used, the number of the start code
(CODE A, CODE B and CODE C) digits is regarded as 2.
Initial
value 0000 0000 0000 0000
999999
INC/DEC +10 +10 +10 +10
+1
Zero suppression
Not
designated
5 3 0 3
1st
label 0000 0000 000 0000
999999
2nd
label 0010 0010 010 0010
000
3rd
label 0020 0020 020 0020
001
4th
label 0030 0030 030 0030
002
5th
label 0040 0040 040 0040
003
Letters and numerals for increment/decrement
For CODE93 and CODE128, even if a data string other than numerals are included in the
data, increment/decrement is performed. However, if any code which does not exist in
each barcode table is contained in the data, increment/decrement is not performed.
For the data string, up to 40 digits (including letters, numerals, and symbols) are possible.
Only the numerals are selected and calculated for incrementing/decrementing, and then
are returned to the previous position to draw the data.
Example of increment/decrement calculation
Initial value
00000
A0A0A
7A8/9
A2A0A
INC/DEC +1 +1 +3 -3
1st label
00000
A0A0A
7A8/9
A2A0A
2nd label
00001
A0A1A
7A9/2
A1A7A
3rd label
00002
A0A2A
7A9/5
A1A4A
4th label
00003
A0A3A
7A9/8
A1A1A
5th label
00004
A0A4A
8A0/1
A0A8A
Increment/decrement of data including the special codes of CODE128
Increment/decrement calculation starts from the lowest digit in the data strings. If the
data string to be calculated is numeric and the next (upper) digit is “>,” this data is a
special code (underlined digits shown in the table below). In such case, these two digits
are skipped, and the next digit is calculated.
Example of increment/decrement calculation of CODE128
Initial value
00000
00 > 08
0A > 08
0A9 > 08
INC/DEC
+1 +1 +1 +1
1st label
00000
00 > 08
0A > 08
0A9 > 08
2nd label
00001
00 > 09
0A > 09
0A9 > 09
3rd label
00002
01 > 00
1A > 00
1A0 > 00
4th label
00003
01 > 01
1A > 01
1A0 > 01
5th label
00004
01 > 02
1A > 02
1A0 > 02