- 83 -
Letters and numerals for increment/decrement
For CODE39 (standard), CODE39 (full ASCII), NW-7, CODE93, CODE128, if a data
string other than numerals is included in the data, increment/decrement designation is
performed. If any code which does not exist in each bar code table is contained in the
data, increment/decrement designation is not performed.
Up to 40 digits (including letters, numerals and symbols) are possible. Only the
numerals are picked up 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
Example of increment/decrement of data including the special codes of CODE128
Increment/decrement calculation starts from the last digit in the data strings. When
the data string to be calculated is numeric, and the next (upper) digit is “>”, that is a
special code (shown with underline below). The next digit is calculated without
incrementing/decrementing these two digits.
Example of increment/decrement calculation of CODE128
Initial value 00000 00>0
8 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
(12) Zero suppression
No. of zeros to be suppressed
0 1 2 2 3 4 5
Data 0000 0000 0000 0A12 0123 0123 0123
Print 0000 0 00 A12 123 0123 0123
The leading zero(s) in a data row is replaced by a space(s) according to the designated
number of digits. However, if the number of digits to be suppressed is greater than the
data row, the data row will be drawn without zero suppression. Where the data row
exceeds the maximum number of digits (40), the data row will not be drawn.
When the print data including start/stop code is sent to sending print data, the start/stop
code is also counted as a digit. When the bar code type is JAN, EAN, UPC, or UCC/EAN
128, the data will be drawn without zero suppression.