EAN encoder test.
Test 1: one simple barcode EAN13 with default parameter:
A8 0 0 6 1 9 4 0 5 6 2 9 0 A
Test 2: one simple EAN8 barcode with default parameter:
A 9 6 3 8 5 0 7 4 A
Test 3: one simple EAN5 barcode with default parameter:
A
5 4 4 9 5
A
Test 4: one simple EAN2 barcode with default parameter:
A 5 3
A
Test 5: EAN13 + EAN5 barcode with default parameter:
Test 51 2 3 4 5 6 7 8 9 0 1 2 8
1 2 3 4 5
Test 5
Test 6: EAN13 + EAN2 barcode with default parameter:
Test 61 2 3 4 5 6 7 8 9 0 1 2 8 1 2
Test 6
Test 7: EAN8 + EAN5 barcode with default parameter:
Test 7 1 2 3 4 5 6 7 0
1 2 3 4 5
Test 7
Test 8: EAN8 + EAN2 barcode with default parameter:
Test 8 7 8 6 5 4 3 1 0 8 8
Test 8
Test 9: draw an EAN13 symbol with a user defined height.
We will test also the function barcode:enc by name(bc type, name), reusing encoders generated previ- uosly. The height parameter remain local to the object symbol.
Test 98 1 8 5 7 1 8 8 4 3 4 8 3 8 0 0 1 1 2 0 9 7 2 1 6 3 Test 9 Test 10: draw EAN13 symbols with a user defined height.
The parameter height is setting up in the encoder so it will be global.
Test 107 5 8 4 5 8 5 3 5 8 9 7 6 8 0 0 1 1 2 0 9 7 2 1 6 3 8 0 0 0 5 7 0 0 0 0 3 1 0 Test 10 That’s all folks!