Mathematical Functions
333
[MOD10:x]
Calculates and prints the Modulo 10 Check digit for numerical barcodes
Syntax:
This function can be used to visualize check digits of barcodes, which are sometimes invisible. Some
barcodes use a check digit for the scanner only which is not displayed in the human readable line.
Some applications require this check digit for internal usage. This can be done with the „Mod10"
function.
Example:
This example uses the input variable for a interleaved 2 of 5 barcode, which has to contain a modulo
10 digit. Usually only the input data is copied to a second field. As the printer cannot know, that the -
normally invisible check digit shall be shown on the label. Therefor [MOD10:input] is used.
cab Produkttechnik GmbH & Co KG
Calculate the Modulo
[MOD10:x]
[MOD10:...] - calculate the MOD 10 digit
x
= value which is used to calculate the check digit
m m
J
S l1;0,0,68,71,100
T:input;10,10,0,3,5;123456789
B 10,20,0,2OF5+MOD10,10,.3;[input]
T 10,40,0,3,5;[input][MOD10:input]
A 1
10
check digit
333
333