Update test routines

This commit is contained in:
Robin Stuart 2016-10-27 13:34:59 +01:00
parent 20c4509ecd
commit 83e368f8c1
2 changed files with 444 additions and 333 deletions

107
frontend/isotest.sh Executable file
View File

@ -0,0 +1,107 @@
zint -o aimbc6_fig1.gif -b 24 -d "MULTIPLE ROWS IN CODE 49"
zint -o aimbc6_fig3.gif -b 24 -d "EXAMPLE 2"
zint -o aimbc6_figb1.gif -b 24 -d "EXAMPLE 2"
zint -o aimbc12_fig1.gif -b 140 -d 1234
zint -o aimbc12_fige1.gif -b 140 -d 1000000
zint -o aimbc12_figf1a.gif -b 140 -d 00
zint -o aimbc12_figf1b.gif -b 140 -d 000
zint -o aimbc12_figf1c.gif -b 140 -d 0000
zint -o aimbc12_figf1d.gif -b 140 -d 00000
zint -o aimbc12_figf1e.gif -b 140 -d 000000
zint -o aimbc12_figf1f.gif -b 140 -d 0000000
zint -o aimbc12_figf1g.gif -b 140 -d 02
zint -o aimbc12_figf1h.gif -b 140 -d 004
zint -o aimbc12_figf1i.gif -b 140 -d 0005
zint -o aimbc12_figf1j.gif -b 140 -d 00010
zint -o aimbc12_figf1k.gif -b 140 -d 000100
zint -o aimbc12_figf1l.gif -b 140 -d 0001000
zint -o aimbc12_figf1m.gif -b 140 -d 05
zint -o aimbc12_figf1n.gif -b 140 -d 007
zint -o aimbc12_figf1o.gif -b 140 -d 0010
zint -o aimbc12_figf1p.gif -b 140 -d 00100
zint -o aimbc12_figf1q.gif -b 140 -d 001000
zint -o aimbc12_figf1r.gif -b 140 -d 0010000
zint -o aimbc12_figf1s.gif -b 140 -d 08
zint -o aimbc12_figf1t.gif -b 140 -d 010
zint -o aimbc12_figf1u.gif -b 140 -d 0100
zint -o aimbc12_figf1v.gif -b 140 -d 01000
zint -o aimbc12_figf1w.gif -b 140 -d 010000
zint -o aimbc12_figf1x.gif -b 140 -d 0100000
zint -o aimbc12_figf1y.gif -b 140 -d 10
zint -o aimbc12_figf1z.gif -b 140 -d 100
zint -o aimbc12_figf1aa.gif -b 140 -d 1000
zint -o aimbc12_figf1ab.gif -b 140 -d 10000
zint -o aimbc12_figf1ac.gif -b 140 -d 100000
zint -o aimbc12_figf1ad.gif -b 140 -d 1000000
zint -o aimbc12_figf1ae.gif -b 140 -d 26
zint -o aimbc12_figf1af.gif -b 140 -d 292
zint -o aimbc12_figf1ag.gif -b 140 -d 3493
zint -o aimbc12_figf1ah.gif -b 140 -d 44072
zint -o aimbc12_figf1ai.gif -b 140 -d 576688
zint -o aimbc12_figf1aj.gif -b 140 -d 7742862
zint -o aim_cbf_fig1.gif -b 74 -d "CODABLOCK F 34567890123456789010040digit"
zint -o aimd013_fig1a.gif -b 115 --scale=10 --cols=51 --gs1 -d "[17]070620[10]ABC123456"
zint -o aimd013_fig1b.gif -b 115 --scale=10 --cols=23 --gs1 -d "[17]070620[10]ABC123456"
zint -o aimd013_fig4.gif -b 115 --scale=10 --gs1 -d "[17]070620[10]ABC123456"
zint -o aimd013_fig9.gif -b 115 --scale=10 -d "Dots can be Square!"
zint -o aimd014_fig1.gif -b 142 -d "Grid Matrix"
zint -o aimd014_fig12.gif -b 142 -d "Grid Matrix"
zint -o aimd014_figd1.gif -b 142 -d "AAT2556 电池充电器+降压转换器 200mA至2A tel:86 019 82512738"
zint -o en797_fig1.gif -b 13 -d 501234567890
zint -o en797_fig2.gif -b 13 -d 2012345
zint -o en797_fig3.gif -b 34 -d 01234567890
zint -o en797_fig4.gif -b 37 -d 0012345
zint -o en797_fig5.gif -b 13 -d 501234567890+12
zint -o en797_fig6.gif -b 13 -d 501234567890+86104
zint -o en798_fig1.gif -b 18 -d A37859B
zint -o en12323_fig3.gif -b 23 -d "ab0123456789"
zint -o iso15417_fig1.gif -b 20 -d AIM
zint -o iso15438_fig1.gif -b 55 -d "PDF417 Symbology Standard"
zint -o iso16388_fig1.gif -b 8 -d 1A
zint -o iso16022_fig1.gif -b 71 -d "A1B2C3D4E5F6G7H8I9J0K1L2"
zint -o iso16022_figo2.gif -b 71 -d "123456"
zint -o iso16022_figr1.gif -b 71 -d "30Q324343430794<OQQ"
zint -o iso16023_fig2.gif -b 57 --mode=4 -d "THIS IS A 93 CHARACTER CODE SET A MESSAGE THAT FILLS A MODE 4, UNAPPENDED, MAXICODE SYMBOL..."
zint -o iso16023_figb2.gif -b 57 --mode=2 --primary="152382802840001" -d "[)>\R01\G961Z00004951\GUPSN\G06X610\G159\G1234567\G1/1\G\GY\G634 ALPHA DR\GPITTSBURGH\GPA\R\E"
zint -o iso16023_figh1.gif -b 57 --mode=4 -d "Maxi Code (19 chars)"
zint -o iso18004_fig1.gif -b 58 -d "QR Code Symbol"
zint -o iso18004_fig2.gif -b 97 -d "01234567"
zint -o iso18004_fig29.gif -b 58 -d "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
zint -o iso18004_figi2.gif -b 58 -d "01234567"
zint -o iso18004_figi4.gif -b 97 -d "01234567"
zint -o iso24723_fig1.gif -b 133 --primary=1311234567890 -d "[17]010615[10]A123456"
zint -o iso24723_fig2.gif -b 131 --mode=3 --primary="[01]93812345678901" -d "[10]ABCD123456[410]3898765432108"
zint -o iso24723_fig3.gif -b 136 --mode=1 --primary=121230 -d "[15]021231"
zint -o iso24723_fig4.gif -b 130 --mode=1 --primary=1234567 -d "[21]A12345678"
zint -o iso24723_fig5.gif -b 130 --mode=1 --primary=331234567890 -d "[99]1234-abcd"
zint -o iso24723_fig6.gif -b 137 --mode=1 --primary=341234567890 -d "[17]010200"
zint -o iso24723_fig7.gif -b 133 --mode=2 --primary=351234567890 -d "[21]abcdefghijklmnopqrstuv"
zint -o iso24723_fig8.gif -b 132 --mode=1 --primary=361234567890 -d "[11]990102"
zint -o iso24723_fig9.gif -b 134 --mode=1 --primary="[01]93712345678904[3103]001234" -d "[91]1A2B3C4D5E"
zint -o iso24723_fig10.gif -b 139 --mode=1 --primary="[01]00012345678905[10]ABCDEF" -d "[21]12345678"
zint -o iso24723_fig11.gif -b 131 --mode=1 --primary="[01]03212345678906" -d "[21]A1B2C3D4E5F6G7H8"
zint -o iso24723_fig12.gif -b 131 --mode=3 --primary="[00]030123456789012340" -d "[02]13012345678909[10]1234567ABCDEFG"
zint -o iso24724_fig1.gif -b 29 -d 2001234567890
zint -o iso24724_fig2.gif -b 29 -d 0441234567890
zint -o iso24724_fig4.gif -b 29 --height=11 -d 0001234567890
zint -o iso24724_fig5.gif -b 79 -d 0001234567890
zint -o iso24724_fig6.gif -b 80 -d 0003456789012
zint -o iso24724_fig7.gif -b 30 -d 1501234567890
zint -o iso24724_fig8.gif -b 30 -d 0031234567890
zint -o iso24724_fig10.gif -b 31 -d "[01]98898765432106[3202]012345[15]991231"
zint -o iso24724_fig11.gif -b 31 -d "[01]90012345678903[3103]001750"
zint -o iso24724_fig12.gif -b 81 -d "[01]98898765432106[3202]012345[15]991231"
zint -o iso24724_fig13.gif -b 81 -d "[01]95012345678903[3103]000123"
zint -o iso24724_figf2.gif -b 30 -d 0009876543210
zint -o iso24724_figr3.gif -b 31 -d "[10]12A"
zint -o iso24728_fig1a.gif -b 84 --cols=1 -d "ABCDEFGHIJKLMNOPQRSTUV"
zint -o iso24728_fig1b.gif -b 84 --cols=2 -d "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCD"
zint -o iso24728_fig1c.gif -b 84 --cols=3 -d "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMN"
zint -o iso24728_fig1d.gif -b 84 --cols=4 -d "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZAB"
zint -o iso24778_figa1a.gif -b 128 -d 0
zint -o iso24778_figa1b.gif -b 128 -d 25
zint -o iso24778_figa1c.gif -b 128 -d 125
zint -o iso24778_figa1d.gif -b 128 -d 255
zint -o iso24778_figg2.gif -b 92 -d "Code 2D!"
zint -o iso24778_figi1a.gif -b 92 -d "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"
zint -o iso24778_figi1b.gif -b 92 -d "3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333"

View File

@ -1,437 +1,441 @@
echo testing Code 11
./zint -o bar01.txt -b 1 -d 87654321
./zint -o bar01.gif -b 1 --height=50 --border=10 -d 87654321
./zint -o bar01.svg -b 1 --height=50 --border=10 -d 87654321
zint -o bar01.txt -b 1 -d 87654321
zint -o bar01.gif -b 1 --height=50 --border=10 -d 87654321
zint -o bar01.svg -b 1 --height=50 --border=10 -d 87654321
echo testing Code 2 of 5 Standard
./zint -o bar02.txt -b 2 -d 87654321
./zint -o bar02.gif -b 2 --height=50 --border=10 -d 87654321
./zint -o bar02.svg -b 2 --height=50 --border=10 -d 87654321
zint -o bar02.txt -b 2 -d 87654321
zint -o bar02.gif -b 2 --height=50 --border=10 -d 87654321
zint -o bar02.svg -b 2 --height=50 --border=10 -d 87654321
echo testing Interleaved 2 of 5
./zint -o bar03.txt -b 3 -d 87654321
./zint -o bar03.gif -b 3 --height=50 --border=10 -d 87654321
./zint -o bar03.svg -b 3 --height=50 --border=10 -d 87654321
zint -o bar03.txt -b 3 -d 87654321
zint -o bar03.gif -b 3 --height=50 --border=10 -d 87654321
zint -o bar03.svg -b 3 --height=50 --border=10 -d 87654321
echo testing Code 2 of 5 IATA
./zint -o bar04.txt -b 4 -d 87654321
./zint -o bar04.gif -b 4 --height=50 --border=10 -d 87654321
./zint -o bar04.svg -b 4 --height=50 --border=10 -d 87654321
zint -o bar04.txt -b 4 -d 87654321
zint -o bar04.gif -b 4 --height=50 --border=10 -d 87654321
zint -o bar04.svg -b 4 --height=50 --border=10 -d 87654321
echo testing Code 2 of 5 Data Logic
./zint -o bar06.txt -b 6 -d 87654321
./zint -o bar06.gif -b 6 --height=50 --border=10 -d 87654321
./zint -o bar06.svg -b 6 --height=50 --border=10 -d 87654321
zint -o bar06.txt -b 6 -d 87654321
zint -o bar06.gif -b 6 --height=50 --border=10 -d 87654321
zint -o bar06.svg -b 6 --height=50 --border=10 -d 87654321
echo testing Code 2 of 5 Industrial
./zint -o bar07.txt -b 7 -d 87654321
./zint -o bar07.gif -b 7 --height=50 --border=10 -d 87654321
./zint -o bar07.svg -b 7 --height=50 --border=10 -d 87654321
zint -o bar07.txt -b 7 -d 87654321
zint -o bar07.gif -b 7 --height=50 --border=10 -d 87654321
zint -o bar07.svg -b 7 --height=50 --border=10 -d 87654321
echo testing Code 39
./zint -o bar08.txt -b 8 -d CODE39
./zint -o bar08.gif -b 8 --height=50 --border=10 -d CODE39
./zint -o bar08.svg -b 8 --height=50 --border=10 -d CODE39
zint -o bar08.txt -b 8 -d CODE39
zint -o bar08.gif -b 8 --height=50 --border=10 -d CODE39
zint -o bar08.svg -b 8 --height=50 --border=10 -d CODE39
echo testing Extended Code 39
./zint -o bar09.txt -b 9 -d 'Code 39e'
./zint -o bar09.gif -b 9 --height=50 --border=10 -d 'Code 39e'
./zint -o bar09.svg -b 9 --height=50 --border=10 -d 'Code 39e'
zint -o bar09.txt -b 9 -d 'Code 39e'
zint -o bar09.gif -b 9 --height=50 --border=10 -d 'Code 39e'
zint -o bar09.svg -b 9 --height=50 --border=10 -d 'Code 39e'
echo testing EAN8
./zint -o bar10.txt -b 13 -d 7654321
./zint -o bar10.gif -b 13 --height=50 --border=10 -d 7654321
./zint -o bar10.svg -b 13 --height=50 --border=10 -d 7654321
zint -o bar10.txt -b 13 -d 7654321
zint -o bar10.gif -b 13 --height=50 --border=10 -d 7654321
zint -o bar10.svg -b 13 --height=50 --border=10 -d 7654321
echo testing EAN8 - 2 digits add on
./zint -o bar11.txt -b 13 -d 7654321+21
./zint -o bar11.gif -b 13 --height=50 --border=10 -d 7654321+21
./zint -o bar11.svg -b 13 --height=50 --border=10 -d 7654321+21
zint -o bar11.txt -b 13 -d 7654321+21
zint -o bar11.gif -b 13 --height=50 --border=10 -d 7654321+21
zint -o bar11.svg -b 13 --height=50 --border=10 -d 7654321+21
echo testing EAN8 - 5 digits add-on
./zint -o bar12.txt -b 13 -d 7654321+54321
./zint -o bar12.gif -b 13 --height=50 --border=10 -d 7654321+54321
./zint -o bar12.svg -b 13 --height=50 --border=10 -d 7654321+54321
zint -o bar12.txt -b 13 -d 7654321+54321
zint -o bar12.gif -b 13 --height=50 --border=10 -d 7654321+54321
zint -o bar12.svg -b 13 --height=50 --border=10 -d 7654321+54321
echo testing EAN13
./zint -o bar13.txt -b 13 -d 210987654321
./zint -o bar13.gif -b 13 --height=50 --border=10 -d 210987654321
./zint -o bar13.svg -b 13 --height=50 --border=10 -d 210987654321
zint -o bar13.txt -b 13 -d 210987654321
zint -o bar13.gif -b 13 --height=50 --border=10 -d 210987654321
zint -o bar13.svg -b 13 --height=50 --border=10 -d 210987654321
echo testing EAN13 - 2 digits add-on
./zint -o bar14.txt -b 13 -d 210987654321+21
./zint -o bar14.gif -b 13 --height=50 --border=10 -d 210987654321+21
./zint -o bar14.svg -b 13 --height=50 --border=10 -d 210987654321+21
zint -o bar14.txt -b 13 -d 210987654321+21
zint -o bar14.gif -b 13 --height=50 --border=10 -d 210987654321+21
zint -o bar14.svg -b 13 --height=50 --border=10 -d 210987654321+21
echo testing EAN13 - 5 digits add-on
./zint -o bar15.txt -b 13 -d 210987654321+54321
./zint -o bar15.gif -b 13 --height=50 --border=10 -d 210987654321+54321
./zint -o bar15.svg -b 13 --height=50 --border=10 -d 210987654321+54321
zint -o bar15.txt -b 13 -d 210987654321+54321
zint -o bar15.gif -b 13 --height=50 --border=10 -d 210987654321+54321
zint -o bar15.svg -b 13 --height=50 --border=10 -d 210987654321+54321
echo testing GS1-128
./zint -o bar16.txt -b 16 -d "[01]98898765432106[3202]012345[15]991231"
./zint -o bar16.gif -b 16 --height=50 --border=10 -d "[01]98898765432106[3202]012345[15]991231"
./zint -o bar16.svg -b 16 --height=50 --border=10 -d "[01]98898765432106[3202]012345[15]991231"
zint -o bar16.txt -b 16 -d "[01]98898765432106[3202]012345[15]991231"
zint -o bar16.gif -b 16 --height=50 --border=10 -d "[01]98898765432106[3202]012345[15]991231"
zint -o bar16.svg -b 16 --height=50 --border=10 -d "[01]98898765432106[3202]012345[15]991231"
echo testing CodaBar
./zint -o bar18.txt -b 18 -d D765432C
./zint -o bar18.gif -b 18 --height=50 --border=10 -d D765432C
./zint -o bar18.svg -b 18 --height=50 --border=10 -d D765432C
zint -o bar18.txt -b 18 -d D765432C
zint -o bar18.gif -b 18 --height=50 --border=10 -d D765432C
zint -o bar18.svg -b 18 --height=50 --border=10 -d D765432C
echo testing Code 128
./zint -o bar20.txt -b 20 -d 'Code 128'
./zint -o bar20.gif -b 20 --height=50 --border=10 -d 'Code 128'
./zint -o bar20.svg -b 20 --height=50 --border=10 -d 'Code 128'
zint -o bar20.txt -b 20 -d 'Code 128'
zint -o bar20.gif -b 20 --height=50 --border=10 -d 'Code 128'
zint -o bar20.svg -b 20 --height=50 --border=10 -d 'Code 128'
echo testing Deutsche Post Leitcode
./zint -o bar21.txt -b 21 -d 3210987654321
./zint -o bar21.gif -b 21 --height=50 --border=10 -d 3210987654321
./zint -o bar21.svg -b 21 --height=50 --border=10 -d 3210987654321
zint -o bar21.txt -b 21 -d 3210987654321
zint -o bar21.gif -b 21 --height=50 --border=10 -d 3210987654321
zint -o bar21.svg -b 21 --height=50 --border=10 -d 3210987654321
echo testing Deutsche Post Identcode
./zint -o bar22.txt -b 22 -d 10987654321
./zint -o bar22.gif -b 22 --height=50 --border=10 -d 10987654321
./zint -o bar22.svg -b 22 --height=50 --border=10 -d 10987654321
zint -o bar22.txt -b 22 -d 10987654321
zint -o bar22.gif -b 22 --height=50 --border=10 -d 10987654321
zint -o bar22.svg -b 22 --height=50 --border=10 -d 10987654321
echo testing Code 16k
./zint -o bar23.txt -b 23 -d "Demonstration Code 16k symbol generated by lib./zint"
./zint -o bar23.gif -b 23 --height=50 --border=10 -d "Demonstration Code 16k symbol generated by lib./zint"
./zint -o bar23.svg -b 23 --height=50 --border=10 -d "Demonstration Code 16k symbol generated by lib./zint"
./zint -o bar23a.txt -b 23 --gs1 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
./zint -o bar23a.gif -b 23 --gs1 --border=10 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
./zint -o bar23a.svg -b 23 --gs1 --border=10 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
zint -o bar23.txt -b 23 -d "Demonstration Code 16k symbol generated by libzint"
zint -o bar23.gif -b 23 --height=50 --border=10 -d "Demonstration Code 16k symbol generated by libzint"
zint -o bar23.svg -b 23 --height=50 --border=10 -d "Demonstration Code 16k symbol generated by libzint"
zint -o bar23a.txt -b 23 --gs1 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
zint -o bar23a.gif -b 23 --gs1 --border=10 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
zint -o bar23a.svg -b 23 --gs1 --border=10 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
echo testing Code 49
./zint -o bar24.txt -b 24 -d "Demonstration Code 49"
./zint -o bar24.gif -b 24 -d "Demonstration Code 49"
./zint -o bar24.svg -b 24 -d "Demonstration Code 49"
zint -o bar24.txt -b 24 -d "Demonstration Code 49"
zint -o bar24.gif -b 24 -d "Demonstration Code 49"
zint -o bar24.svg -b 24 -d "Demonstration Code 49"
echo testing Code 93
./zint -o bar25.txt -b 25 -d 'Code 93'
./zint -o bar25.gif -b 25 --height=50 --border=10 -d 'Code 93'
./zint -o bar25.svg -b 25 --height=50 --border=10 -d 'Code 93'
zint -o bar25.txt -b 25 -d 'Code 93'
zint -o bar25.gif -b 25 --height=50 --border=10 -d 'Code 93'
zint -o bar25.svg -b 25 --height=50 --border=10 -d 'Code 93'
echo testing Flattermarken
./zint -o bar28.txt -b 28 -d 87654321
./zint -o bar28.gif -b 28 --height=50 --border=10 -d 87654321
./zint -o bar28.svg -b 28 --height=50 --border=10 -d 87654321
zint -o bar28.txt -b 28 -d 87654321
zint -o bar28.gif -b 28 --height=50 --border=10 -d 87654321
zint -o bar28.svg -b 28 --height=50 --border=10 -d 87654321
echo testing DataBar-14
./zint -o bar29.txt -b 29 -d 2001234567890
./zint -o bar29.gif -b 29 --height=33 --border=10 -d 2001234567890
./zint -o bar29.svg -b 29 --height=33 --border=10 -d 2001234567890
zint -o bar29.txt -b 29 -d 2001234567890
zint -o bar29.gif -b 29 --height=33 --border=10 -d 2001234567890
zint -o bar29.svg -b 29 --height=33 --border=10 -d 2001234567890
echo testing DataBar Limited
./zint -o bar30.txt -b 30 -w 2 -d 31234567890
./zint -o bar30.gif -b 30 --height=50 --border=10 -w 2 -d 31234567890
./zint -o bar30.svg -b 30 --height=50 --border=10 -w 2 -d 31234567890
zint -o bar30.txt -b 30 -w 2 -d 31234567890
zint -o bar30.gif -b 30 --height=50 --border=10 -w 2 -d 31234567890
zint -o bar30.svg -b 30 --height=50 --border=10 -w 2 -d 31234567890
echo testing DataBar Expanded
./zint -o bar31.txt -b 31 -d "[01]90012345678908[3103]001750"
./zint -o bar31.gif -b 31 --height=50 --border=10 -d "[01]90012345678908[3103]001750"
./zint -o bar31.svg -b 31 --height=50 --border=10 -d "[01]90012345678908[3103]001750"
zint -o bar31.txt -b 31 -d "[01]90012345678908[3103]001750"
zint -o bar31.gif -b 31 --height=50 --border=10 -d "[01]90012345678908[3103]001750"
zint -o bar31.svg -b 31 --height=50 --border=10 -d "[01]90012345678908[3103]001750"
echo testing Telepen Alpha
./zint -o bar32.txt -b 32 -d 'Telepen'
./zint -o bar32.gif -b 32 --height=50 --border=10 -d 'Telepen'
./zint -o bar32.svg -b 32 --height=50 --border=10 -d 'Telepen'
zint -o bar32.txt -b 32 -d 'Telepen'
zint -o bar32.gif -b 32 --height=50 --border=10 -d 'Telepen'
zint -o bar32.svg -b 32 --height=50 --border=10 -d 'Telepen'
echo testing UPC A
./zint -o bar34.txt -b 34 -d 10987654321
./zint -o bar34.gif -b 34 --height=50 --border=10 -d 10987654321
./zint -o bar34.svg -b 34 --height=50 --border=10 -d 10987654321
zint -o bar34.txt -b 34 -d 10987654321
zint -o bar34.gif -b 34 --height=50 --border=10 -d 10987654321
zint -o bar34.svg -b 34 --height=50 --border=10 -d 10987654321
echo testing UPC A - 2 digit add-on
./zint -o bar35.txt -b 34 -d 10987654321+21
./zint -o bar35.gif -b 34 --height=50 --border=10 -d 10987654321+21
./zint -o bar35.svg -b 34 --height=50 --border=10 -d 10987654321+21
zint -o bar35.txt -b 34 -d 10987654321+21
zint -o bar35.gif -b 34 --height=50 --border=10 -d 10987654321+21
zint -o bar35.svg -b 34 --height=50 --border=10 -d 10987654321+21
echo testing UPC A - 5 digit add-on
./zint -o bar36.txt -b 36 -d 10987654321+54321
./zint -o bar36.gif -b 36 --height=50 --border=10 -d 10987654321+54321
./zint -o bar36.svg -b 36 --height=50 --border=10 -d 10987654321+54321
zint -o bar36.txt -b 36 -d 10987654321+54321
zint -o bar36.gif -b 36 --height=50 --border=10 -d 10987654321+54321
zint -o bar36.svg -b 36 --height=50 --border=10 -d 10987654321+54321
echo testing UPC E
./zint -o bar37.txt -b 37 -d 654321
./zint -o bar37.gif -b 37 --height=50 --border=10 -d 654321
./zint -o bar37.svg -b 37 --height=50 --border=10 -d 654321
zint -o bar37.txt -b 37 -d 654321
zint -o bar37.gif -b 37 --height=50 --border=10 -d 654321
zint -o bar37.svg -b 37 --height=50 --border=10 -d 654321
echo testing UPC E - 2 digit add-on
./zint -o bar38.txt -b 37 -d 654321+21
./zint -o bar38.gif -b 37 --height=50 --border=10 -d 654321+21
./zint -o bar38.svg -b 37 --height=50 --border=10 -d 654321+21
zint -o bar38.txt -b 37 -d 654321+21
zint -o bar38.gif -b 37 --height=50 --border=10 -d 654321+21
zint -o bar38.svg -b 37 --height=50 --border=10 -d 654321+21
echo testing UPC E - 5 digit add-on
./zint -o bar39.txt -b 37 -d 654321+54321
./zint -o bar39.gif -b 37 --height=50 --border=10 -d 654321+54321
./zint -o bar39.svg -b 37 --height=50 --border=10 -d 654321+54321
zint -o bar39.txt -b 37 -d 654321+54321
zint -o bar39.gif -b 37 --height=50 --border=10 -d 654321+54321
zint -o bar39.svg -b 37 --height=50 --border=10 -d 654321+54321
echo testing PostNet-6
./zint -o bar41.txt -b 40 -d 54321
./zint -o bar41.gif -b 40 --border=10 -d 54321
./zint -o bar41.svg -b 40 --border=10 -d 54321
zint -o bar41.txt -b 40 -d 54321
zint -o bar41.gif -b 40 --border=10 -d 54321
zint -o bar41.svg -b 40 --border=10 -d 54321
echo testing PostNet-10
./zint -o bar43.txt -b 40 -d 987654321
./zint -o bar43.gif -b 40 --border=10 -d 987654321
./zint -o bar43.svg -b 40 --border=10 -d 987654321
zint -o bar43.txt -b 40 -d 987654321
zint -o bar43.gif -b 40 --border=10 -d 987654321
zint -o bar43.svg -b 40 --border=10 -d 987654321
echo testing PostNet-12
./zint -o bar45.txt -b 40 -d 10987654321
./zint -o bar45.gif -b 40 --border=10 -d 10987654321
./zint -o bar45.svg -b 40 --border=10 -d 10987654321
zint -o bar45.txt -b 40 -d 10987654321
zint -o bar45.gif -b 40 --border=10 -d 10987654321
zint -o bar45.svg -b 40 --border=10 -d 10987654321
echo testing MSI Code
./zint -o bar47.txt -b 47 -d 87654321
./zint -o bar47.gif -b 47 --height=50 --border=10 -d 87654321
./zint -o bar47.svg -b 47 --height=50 --border=10 -d 87654321
zint -o bar47.txt -b 47 -d 87654321
zint -o bar47.gif -b 47 --height=50 --border=10 -d 87654321
zint -o bar47.svg -b 47 --height=50 --border=10 -d 87654321
echo testing FIM
./zint -o bar49.txt -b 49 -d D
./zint -o bar49.gif -b 49 --height=50 --border=10 -d D
./zint -o bar49.svg -b 49 --height=50 --border=10 -d D
zint -o bar49.txt -b 49 -d D
zint -o bar49.gif -b 49 --height=50 --border=10 -d D
zint -o bar49.svg -b 49 --height=50 --border=10 -d D
echo testing LOGMARS
./zint -o bar50.txt -b 50 -d LOGMARS
./zint -o bar50.gif -b 50 --height=50 --border=10 -d LOGMARS
./zint -o bar50.svg -b 50 --height=50 --border=10 -d LOGMARS
zint -o bar50.txt -b 50 -d LOGMARS
zint -o bar50.gif -b 50 --height=50 --border=10 -d LOGMARS
zint -o bar50.svg -b 50 --height=50 --border=10 -d LOGMARS
echo testing Pharmacode One-Track
./zint -o bar51.txt -b 51 -d 123456
./zint -o bar51.gif -b 51 --height=50 --border=10 -d 123456
./zint -o bar51.svg -b 51 --height=50 --border=10 -d 123456
zint -o bar51.txt -b 51 -d 123456
zint -o bar51.gif -b 51 --height=50 --border=10 -d 123456
zint -o bar51.svg -b 51 --height=50 --border=10 -d 123456
echo testing Pharmazentralnumber
./zint -o bar52.txt -b 52 -d 654321
./zint -o bar52.gif -b 52 --height=50 --border=10 -d 654321
./zint -o bar52.svg -b 52 --height=50 --border=10 -d 654321
zint -o bar52.txt -b 52 -d 654321
zint -o bar52.gif -b 52 --height=50 --border=10 -d 654321
zint -o bar52.svg -b 52 --height=50 --border=10 -d 654321
echo testing Pharmacode Two-Track
./zint -o bar53.txt -b 53 --border=10 -d 12345678
./zint -o bar53.gif -b 53 --height=50 --border=10 -d 12345678
./zint -o bar53.svg -b 53 --height=50 --border=10 -d 12345678
zint -o bar53.txt -b 53 --border=10 -d 12345678
zint -o bar53.gif -b 53 --height=50 --border=10 -d 12345678
zint -o bar53.svg -b 53 --height=50 --border=10 -d 12345678
echo testing PDF417
./zint -o bar55.txt -b 55 -d "Demonstration PDF417 symbol generated by libzint"
./zint -o bar55.gif -b 55 --border=10 -d "Demonstration PDF417 symbol generated by libzint"
./zint -o bar55.svg -b 55 --border=10 -d "Demonstration PDF417 symbol generated by libzint"
zint -o bar55.txt -b 55 -d "Demonstration PDF417 symbol generated by libzint"
zint -o bar55.gif -b 55 --border=10 -d "Demonstration PDF417 symbol generated by libzint"
zint -o bar55.svg -b 55 --border=10 -d "Demonstration PDF417 symbol generated by libzint"
echo testing PDF417 Truncated
./zint -o bar56.txt -b 56 -d "Demonstration PDF417 symbol generated by libzint"
./zint -o bar56.gif -b 56 --border=10 -d "Demonstration PDF417 symbol generated by libzint"
./zint -o bar56.svg -b 56 --border=10 -d "Demonstration PDF417 symbol generated by libzint"
zint -o bar56.txt -b 56 -d "Demonstration PDF417 symbol generated by libzint"
zint -o bar56.gif -b 56 --border=10 -d "Demonstration PDF417 symbol generated by libzint"
zint -o bar56.svg -b 56 --border=10 -d "Demonstration PDF417 symbol generated by libzint"
echo testing Maxicode
./zint -o bar57.txt -b 57 --primary="999999999840012" -d "Demonstration Maxicode symbol generated by libzint"
./zint -o bar57.gif -b 57 --border=10 --primary="999999999840012" -d "Demonstration Maxicode symbol generated by libzint"
./zint -o bar57.svg -b 57 --border=10 --primary="999999999840012" -d "Demonstration Maxicode symbol generated by libzint"
zint -o bar57.txt -b 57 --primary="999999999840012" -d "Demonstration Maxicode symbol generated by libzint"
zint -o bar57.gif -b 57 --border=10 --primary="999999999840012" -d "Demonstration Maxicode symbol generated by libzint"
zint -o bar57.svg -b 57 --border=10 --primary="999999999840012" -d "Demonstration Maxicode symbol generated by libzint"
echo testing QR Code
./zint -o bar58.txt -b 58 -d "Demonstration QR Code symbol generated by libzint"
./zint -o bar58.gif -b 58 --border=10 -d "Demonstration QR Code symbol generated by libzint"
./zint -o bar58.svg -b 58 --border=10 -d "Demonstration QR Code symbol generated by libzint"
./zint -o bar58k.txt -b 58 --kanji -d "画像内の単語を非表示にする"
./zint -o bar58k.gif -b 58 --kanji --border=10 -d "画像内の単語を非表示にする"
./zint -o bar58k.svg -b 58 --kanji --border=10 -d "画像内の単語を非表示にする"
zint -o bar58.txt -b 58 -d "Demonstration QR Code symbol generated by libzint"
zint -o bar58.gif -b 58 --border=10 -d "Demonstration QR Code symbol generated by libzint"
zint -o bar58.svg -b 58 --border=10 -d "Demonstration QR Code symbol generated by libzint"
zint -o bar58k.txt -b 58 --kanji -d "画像内の単語を非表示にする"
zint -o bar58k.gif -b 58 --kanji --border=10 -d "画像内の単語を非表示にする"
zint -o bar58k.svg -b 58 --kanji --border=10 -d "画像内の単語を非表示にする"
echo testing Code 128 Subset B
./zint -o bar60.txt -b 60 -d 87654321
./zint -o bar60.gif -b 60 --height=50 --border=10 -d 87654321
./zint -o bar60.svg -b 60 --height=50 --border=10 -d 87654321
zint -o bar60.txt -b 60 -d 87654321
zint -o bar60.gif -b 60 --height=50 --border=10 -d 87654321
zint -o bar60.svg -b 60 --height=50 --border=10 -d 87654321
echo testing Australian Post Standard Customer
./zint -o bar63.txt -b 63 -d 87654321
./zint -o bar63.gif -b 63 --border=10 -d 87654321
./zint -o bar63.svg -b 63 --border=10 -d 87654321
zint -o bar63.txt -b 63 -d 87654321
zint -o bar63.gif -b 63 --border=10 -d 87654321
zint -o bar63.svg -b 63 --border=10 -d 87654321
echo testing Australian Post Customer 2
./zint -o bar64.txt -b 63 -d 87654321AUSPS
./zint -o bar64.gif -b 63 --border=10 -d 87654321AUSPS
./zint -o bar64.svg -b 63 --border=10 -d 87654321AUSPS
zint -o bar64.txt -b 63 -d 87654321AUSPS
zint -o bar64.gif -b 63 --border=10 -d 87654321AUSPS
zint -o bar64.svg -b 63 --border=10 -d 87654321AUSPS
echo testing Australian Post Customer 3
./zint -o bar65.txt -b 63 -d '87654321 AUSTRALIA'
./zint -o bar65.gif -b 63 --border=10 -d '87654321 AUSTRALIA'
./zint -o bar65.svg -b 63 --border=10 -d '87654321 AUSTRALIA'
zint -o bar65.txt -b 63 -d '87654321 AUSTRALIA'
zint -o bar65.gif -b 63 --border=10 -d '87654321 AUSTRALIA'
zint -o bar65.svg -b 63 --border=10 -d '87654321 AUSTRALIA'
echo testing Australian Post Reply Paid
./zint -o bar66.txt -b 66 -d 87654321
./zint -o bar66.gif -b 66 --border=10 -d 87654321
./zint -o bar66.svg -b 66 --border=10 -d 87654321
zint -o bar66.txt -b 66 -d 87654321
zint -o bar66.gif -b 66 --border=10 -d 87654321
zint -o bar66.svg -b 66 --border=10 -d 87654321
echo testing Australian Post Routing
./zint -o bar67.txt -b 67 -d 87654321
./zint -o bar67.gif -b 67 --border=10 -d 87654321
./zint -o bar67.svg -b 67 --border=10 -d 87654321
zint -o bar67.txt -b 67 -d 87654321
zint -o bar67.gif -b 67 --border=10 -d 87654321
zint -o bar67.svg -b 67 --border=10 -d 87654321
echo testing Australian Post Redirection
./zint -o bar68.txt -b 68 -d 87654321
./zint -o bar68.gif -b 68 --border=10 -d 87654321
./zint -o bar68.svg -b 68 --border=10 -d 87654321
zint -o bar68.txt -b 68 -d 87654321
zint -o bar68.gif -b 68 --border=10 -d 87654321
zint -o bar68.svg -b 68 --border=10 -d 87654321
echo testing ISBN Code
./zint -o bar69.txt -b 69 -d 0333638514
./zint -o bar69.gif -b 69 --height=50 --border=10 -d 0333638514
./zint -o bar69.svg -b 69 --height=50 --border=10 -d 0333638514
zint -o bar69.txt -b 69 -d 0333638514
zint -o bar69.gif -b 69 --height=50 --border=10 -d 0333638514
zint -o bar69.svg -b 69 --height=50 --border=10 -d 0333638514
echo testing Royal Mail 4 State
./zint -o bar70.txt -b 70 -d ROYALMAIL
./zint -o bar70.gif -b 70 --border=10 -d ROYALMAIL
./zint -o bar70.svg -b 70 --border=10 -d ROYALMAIL
zint -o bar70.txt -b 70 -d ROYALMAIL
zint -o bar70.gif -b 70 --border=10 -d ROYALMAIL
zint -o bar70.svg -b 70 --border=10 -d ROYALMAIL
echo testing Data Matrix
./zint -o bar71.txt -b 71 -d "Demonstration Data Matrix symbol generated by libzint"
./zint -o bar71.gif -b 71 --border=10 -d "Demonstration Data Matrix symbol generated by libzint"
./zint -o bar71.svg -b 71 --border=10 -d "Demonstration Data Matrix symbol generated by libzint"
./zint -o bar71a.txt -b 71 --gs1 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
./zint -o bar71a.gif -b 71 --gs1 --border=10 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
./zint -o bar71a.svg -b 71 --gs1 --border=10 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
zint -o bar71.txt -b 71 -d "Demonstration Data Matrix symbol generated by libzint"
zint -o bar71.gif -b 71 --border=10 -d "Demonstration Data Matrix symbol generated by libzint"
zint -o bar71.svg -b 71 --border=10 -d "Demonstration Data Matrix symbol generated by libzint"
zint -o bar71a.txt -b 71 --gs1 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
zint -o bar71a.gif -b 71 --gs1 --border=10 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
zint -o bar71a.svg -b 71 --gs1 --border=10 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
echo testing EAN-14
./zint -o bar72.txt -b 72 -d 3210987654321
./zint -o bar72.gif -b 72 --height=50 --border=10 -d 3210987654321
./zint -o bar72.svg -b 72 --height=50 --border=10 -d 3210987654321
zint -o bar72.txt -b 72 -d 3210987654321
zint -o bar72.gif -b 72 --height=50 --border=10 -d 3210987654321
zint -o bar72.svg -b 72 --height=50 --border=10 -d 3210987654321
echo testing Codablock-F
zint -o bar74.txt -b 74 -d "Demonstration Codablock-F symbol generated by libzint"
zint -o bar74.gif -b 74 -d "Demonstration Codablock-F symbol generated by libzint"
zint -o bar74.svg -b 74 -d "Demonstration Codablock-F symbol generated by libzint"
echo testing NVE-18
./zint -o bar75.txt -b 75 -d 76543210987654321
./zint -o bar75.gif -b 75 --height=50 --border=10 -d 76543210987654321
./zint -o bar75.svg -b 75 --height=50 --border=10 -d 76543210987654321
zint -o bar75.txt -b 75 -d 76543210987654321
zint -o bar75.gif -b 75 --height=50 --border=10 -d 76543210987654321
zint -o bar75.svg -b 75 --height=50 --border=10 -d 76543210987654321
echo testing Japanese Post
./zint -o bar76.txt -b 76 -d "10000131-3-2-503"
./zint -o bar76.gif -b 76 --border=10 -d "10000131-3-2-503"
./zint -o bar76.svg -b 76 --border=10 -d "10000131-3-2-503"
zint -o bar76.txt -b 76 -d "10000131-3-2-503"
zint -o bar76.gif -b 76 --border=10 -d "10000131-3-2-503"
zint -o bar76.svg -b 76 --border=10 -d "10000131-3-2-503"
echo testing Korea Post
./zint -o bar77.txt -b 77 -d 123456
./zint -o bar77.gif -b 77 --height=50 --border=10 -d 123456
./zint -o bar77.svg -b 77 --height=50 --border=10 -d 123456
zint -o bar77.txt -b 77 -d 123456
zint -o bar77.gif -b 77 --height=50 --border=10 -d 123456
zint -o bar77.svg -b 77 --height=50 --border=10 -d 123456
echo testing DataBar Truncated
./zint -o bar78.txt -b 29 -d 1234567890
./zint -o bar78.gif -b 29 --height=13 --border=10 -d 1234567890
./zint -o bar78.svg -b 29 --height=13 --border=10 -d 1234567890
zint -o bar78.txt -b 29 -d 1234567890
zint -o bar78.gif -b 29 --height=13 --border=10 -d 1234567890
zint -o bar78.svg -b 29 --height=13 --border=10 -d 1234567890
echo testing DataBar Stacked
./zint -o bar79.txt -b 79 -d 1234567890
./zint -o bar79.gif -b 79 --border=10 -d 1234567890
./zint -o bar79.svg -b 79 --border=10 -d 1234567890
zint -o bar79.txt -b 79 -d 1234567890
zint -o bar79.gif -b 79 --border=10 -d 1234567890
zint -o bar79.svg -b 79 --border=10 -d 1234567890
echo testing DataBar Stacked Omnidirectional
./zint -o bar80.txt -b 80 -d 3456789012
./zint -o bar80.gif -b 80 --height=69 --border=10 -d 3456789012
./zint -o bar80.svg -b 80 --height=69 --border=10 -d 3456789012
zint -o bar80.txt -b 80 -d 3456789012
zint -o bar80.gif -b 80 --height=69 --border=10 -d 3456789012
zint -o bar80.svg -b 80 --height=69 --border=10 -d 3456789012
echo testing DataBar Expanded Stacked
./zint -o bar81.txt -b 81 -d "[01]98898765432106[3202]012345[15]991231"
./zint -o bar81.gif -b 81 --border=10 -d "[01]98898765432106[3202]012345[15]991231"
./zint -o bar81.svg -b 81 --border=10 -d "[01]98898765432106[3202]012345[15]991231"
zint -o bar81.txt -b 81 -d "[01]98898765432106[3202]012345[15]991231"
zint -o bar81.gif -b 81 --border=10 -d "[01]98898765432106[3202]012345[15]991231"
zint -o bar81.svg -b 81 --border=10 -d "[01]98898765432106[3202]012345[15]991231"
echo testing Planet 12 Digit
./zint -o bar82.txt -b 82 -d 10987654321
./zint -o bar82.gif -b 82 --border=10 -d 10987654321
./zint -o bar82.svg -b 82 --border=10 -d 10987654321
zint -o bar82.txt -b 82 -d 10987654321
zint -o bar82.gif -b 82 --border=10 -d 10987654321
zint -o bar82.svg -b 82 --border=10 -d 10987654321
echo testing Planet 14 Digit
./zint -o bar83.txt -b 82 -d 3210987654321
./zint -o bar83.gif -b 82 --border=10 -d 3210987654321
./zint -o bar83.svg -b 82 --border=10 -d 3210987654321
zint -o bar83.txt -b 82 -d 3210987654321
zint -o bar83.gif -b 82 --border=10 -d 3210987654321
zint -o bar83.svg -b 82 --border=10 -d 3210987654321
echo testing Micro PDF417
./zint -o bar84.txt -b 84 -d "Demonstration MicroPDF417 symbol generated by libzint"
./zint -o bar84.gif -b 84 --border=10 -d "Demonstration MicroPDF417 symbol generated by libzint"
./zint -o bar84.svg -b 84 --border=10 -d "Demonstration MicroPDF417 symbol generated by libzint"
zint -o bar84.txt -b 84 -d "Demonstration MicroPDF417 symbol generated by libzint"
zint -o bar84.gif -b 84 --border=10 -d "Demonstration MicroPDF417 symbol generated by libzint"
zint -o bar84.svg -b 84 --border=10 -d "Demonstration MicroPDF417 symbol generated by libzint"
echo testing USPS OneCode 4-State Customer Barcode
./zint -o bar85.txt -b 85 -d 01234567094987654321
./zint -o bar85.gif -b 85 --border=10 -d 01234567094987654321
./zint -o bar85.svg -b 85 --border=10 -d 01234567094987654321
zint -o bar85.txt -b 85 -d 01234567094987654321
zint -o bar85.gif -b 85 --border=10 -d 01234567094987654321
zint -o bar85.svg -b 85 --border=10 -d 01234567094987654321
echo testing Plessey Code with bidirectional reading support
./zint -o bar86.txt -b 86 -d 87654321
./zint -o bar86.gif -b 86 --height=50 --border=10 -d 87654321
./zint -o bar86.svg -b 86 --height=50 --border=10 -d 87654321
zint -o bar86.txt -b 86 -d 87654321
zint -o bar86.gif -b 86 --height=50 --border=10 -d 87654321
zint -o bar86.svg -b 86 --height=50 --border=10 -d 87654321
echo testing Telepen Numeric
./zint -o bar87.txt -b 87 -d 87654321
./zint -o bar87.gif -b 87 --height=50 --border=10 -d 87654321
./zint -o bar87.svg -b 87 --height=50 --border=10 -d 87654321
zint -o bar87.txt -b 87 -d 87654321
zint -o bar87.gif -b 87 --height=50 --border=10 -d 87654321
zint -o bar87.svg -b 87 --height=50 --border=10 -d 87654321
echo testing ITF-14
./zint -o bar89.txt -b 89 -d 3210987654321
./zint -o bar89.gif -b 89 --height=50 --border=10 -d 3210987654321
./zint -o bar89.svg -b 89 --height=50 --border=10 -d 3210987654321
zint -o bar89.txt -b 89 -d 3210987654321
zint -o bar89.gif -b 89 --height=50 --border=10 -d 3210987654321
zint -o bar89.svg -b 89 --height=50 --border=10 -d 3210987654321
echo testing KIX Code
./zint -o bar90.txt -b 90 -d '1231FZ13Xhs'
./zint -o bar90.gif -b 90 --border=10 -d '1231FZ13Xhs'
./zint -o bar90.svg -b 90 --border=10 -d '1231FZ13Xhs'
zint -o bar90.txt -b 90 -d '1231FZ13Xhs'
zint -o bar90.gif -b 90 --border=10 -d '1231FZ13Xhs'
zint -o bar90.svg -b 90 --border=10 -d '1231FZ13Xhs'
echo testing Aztec Code
./zint -o bar92.txt -b 92 -d "Demonstration Aztec Code symbol generated by libzint"
./zint -o bar92.gif -b 92 --border=10 -d "Demonstration Aztec Code symbol generated by libzint"
./zint -o bar92.svg -b 92 --border=10 -d "Demonstration Aztec Code symbol generated by libzint"
./zint -o bar92a.txt -b 92 --gs1 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
./zint -o bar92a.gif -b 92 --gs1 --border=10 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
./zint -o bar92a.svg -b 92 --gs1 --border=10 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
zint -o bar92.txt -b 92 -d "Demonstration Aztec Code symbol generated by libzint"
zint -o bar92.gif -b 92 --border=10 -d "Demonstration Aztec Code symbol generated by libzint"
zint -o bar92.svg -b 92 --border=10 -d "Demonstration Aztec Code symbol generated by libzint"
zint -o bar92a.txt -b 92 --gs1 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
zint -o bar92a.gif -b 92 --gs1 --border=10 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
zint -o bar92a.svg -b 92 --gs1 --border=10 -d "[01]98898765432106[02]13012345678909[10]1234567ABCDEFG[3202]012345[15]991231"
echo testing DAFT Code
./zint -o bar93.txt -b 93 -d "daftdaftdaftdaftdaftdaftdaftdaftdaft"
./zint -o bar93.gif -b 93 --border=10 -d "daftdaftdaftdaftdaftdaftdaftdaftdaft"
./zint -o bar93.svg -b 93 --border=10 -d "daftdaftdaftdaftdaftdaftdaftdaftdaft"
zint -o bar93.txt -b 93 -d "daftdaftdaftdaftdaftdaftdaftdaftdaft"
zint -o bar93.gif -b 93 --border=10 -d "daftdaftdaftdaftdaftdaftdaftdaftdaft"
zint -o bar93.svg -b 93 --border=10 -d "daftdaftdaftdaftdaftdaftdaftdaftdaft"
echo testing Micro QR Code
./zint -o bar97.txt -b 97 -d "MicroQR Code"
./zint -o bar97.gif -b 97 --border=10 -d "MicroQR Code"
./zint -o bar97.svg -b 97 --border=10 -d "MicroQR Code"
./zint -o bar97k.txt -b 97 --kanji -d "小さい"
./zint -o bar97k.gif -b 97 --kanji --border=10 -d "小さい"
./zint -o bar97k.svg -b 97 --kanji --border=10 -d "小さい"
zint -o bar97.txt -b 97 -d "MicroQR Code"
zint -o bar97.gif -b 97 --border=10 -d "MicroQR Code"
zint -o bar97.svg -b 97 --border=10 -d "MicroQR Code"
zint -o bar97k.txt -b 97 --kanji -d "小さい"
zint -o bar97k.gif -b 97 --kanji --border=10 -d "小さい"
zint -o bar97k.svg -b 97 --kanji --border=10 -d "小さい"
echo testing HIBC LIC 128
./zint -o bar98.txt -b 98 -d "A99912345/9901510X3"
./zint -o bar98.gif -b 98 --border=10 -d "A99912345/9901510X3"
./zint -o bar98.svg -b 98 --border=10 -d "A99912345/9901510X3"
zint -o bar98.txt -b 98 -d "A99912345/9901510X3"
zint -o bar98.gif -b 98 --border=10 -d "A99912345/9901510X3"
zint -o bar98.svg -b 98 --border=10 -d "A99912345/9901510X3"
echo testing HIBC LIC 39
./zint -o bar99.txt -b 99 -d "A123BJC5D6E71"
./zint -o bar99.gif -b 99 --border=10 -d "A123BJC5D6E71"
./zint -o bar99.svg -b 99 --border=10 -d "A123BJC5D6E71"
zint -o bar99.txt -b 99 -d "A123BJC5D6E71"
zint -o bar99.gif -b 99 --border=10 -d "A123BJC5D6E71"
zint -o bar99.svg -b 99 --border=10 -d "A123BJC5D6E71"
echo testing HIBC LIC Data Matrix
./zint -o bar102.txt -b 102 -d "A99912345/9901510X3"
./zint -o bar102.gif -b 102 --border=10 -d "A99912345/9901510X3"
./zint -o bar102.svg -b 102 --border=10 -d "A99912345/9901510X3"
zint -o bar102.txt -b 102 -d "A99912345/9901510X3"
zint -o bar102.gif -b 102 --border=10 -d "A99912345/9901510X3"
zint -o bar102.svg -b 102 --border=10 -d "A99912345/9901510X3"
echo testing HIBC LIC QR-Code
./zint -o bar104.txt -b 104 -d "A99912345/9901510X3"
./zint -o bar104.gif -b 104 --border=10 -d "A99912345/9901510X3"
./zint -o bar104.svg -b 104 --border=10 -d "A99912345/9901510X3"
zint -o bar104.txt -b 104 -d "A99912345/9901510X3"
zint -o bar104.gif -b 104 --border=10 -d "A99912345/9901510X3"
zint -o bar104.svg -b 104 --border=10 -d "A99912345/9901510X3"
echo testing HIBC LIC PDF417
./zint -o bar106.txt -b 106 -d "A99912345/9901510X3"
./zint -o bar106.gif -b 106 --border=10 -d "A99912345/9901510X3"
./zint -o bar106.svg -b 106 --border=10 -d "A99912345/9901510X3"
zint -o bar106.txt -b 106 -d "A99912345/9901510X3"
zint -o bar106.gif -b 106 --border=10 -d "A99912345/9901510X3"
zint -o bar106.svg -b 106 --border=10 -d "A99912345/9901510X3"
echo testing HIBC LIC MicroPDF417
./zint -o bar108.txt -b 108 -d "A99912345/9901510X3"
./zint -o bar108.gif -b 108 --border=10 -d "A99912345/9901510X3"
./zint -o bar108.svg -b 108 --border=10 -d "A99912345/9901510X3"
zint -o bar108.txt -b 108 -d "A99912345/9901510X3"
zint -o bar108.gif -b 108 --border=10 -d "A99912345/9901510X3"
zint -o bar108.svg -b 108 --border=10 -d "A99912345/9901510X3"
echo testing HIBC LIC Aztec Code
./zint -o bar112.txt -b 112 -d "A99912345/9901510X3"
./zint -o bar112.gif -b 112 --border=10 -d "A99912345/9901510X3"
./zint -o bar112.svg -b 112 --border=10 -d "A99912345/9901510X3"
zint -o bar112.txt -b 112 -d "A99912345/9901510X3"
zint -o bar112.gif -b 112 --border=10 -d "A99912345/9901510X3"
zint -o bar112.svg -b 112 --border=10 -d "A99912345/9901510X3"
echo testing DotCode
./zint -o bar115.txt -b 115 -d "Demonstration DotCode symbol generated by libzint"
./zint -o bar115.gif -b 115 --scale=5 --border=10 -d "Demonstration DotCode symbol generated by libzint"
./zint -o bar115.svg -b 115 --scale=5 --border=10 -d "Demonstration DotCode symbol generated by libzint"
./zint -o bar115a.txt -b 115 --gs1 -d "[01]98898765432106[3202]012345[15]991231"
./zint -o bar115a.gif -b 115 --gs1 --scale=5 --border=10 -d "[01]98898765432106[3202]012345[15]991231"
./zint -o bar115a.svg -b 115 --gs1 --scale=5 --border=10 -d "[01]98898765432106[3202]012345[15]991231"
zint -o bar115.txt -b 115 -d "Demonstration DotCode symbol generated by libzint"
zint -o bar115.gif -b 115 --scale=5 --border=10 -d "Demonstration DotCode symbol generated by libzint"
zint -o bar115.svg -b 115 --scale=5 --border=10 -d "Demonstration DotCode symbol generated by libzint"
zint -o bar115a.txt -b 115 --gs1 -d "[01]98898765432106[3202]012345[15]991231"
zint -o bar115a.gif -b 115 --gs1 --scale=5 --border=10 -d "[01]98898765432106[3202]012345[15]991231"
zint -o bar115a.svg -b 115 --gs1 --scale=5 --border=10 -d "[01]98898765432106[3202]012345[15]991231"
echo testing Han Xin Code
./zint -o bar116.txt -b 116 -d "Demonstration DotCode symbol generated by libzint"
./zint -o bar116.gif -b 116 --scale=5 --border=10 -d "Demonstration DotCode symbol generated by libzint"
./zint -o bar116.svg -b 116 --scale=5 --border=10 -d "Demonstration DotCode symbol generated by libzint"
zint -o bar116.txt -b 116 -d "Demonstration Han Xin symbol generated by libzint"
zint -o bar116.gif -b 116 --scale=5 --border=10 -d "Demonstration Han Xin symbol generated by libzint"
zint -o bar116.svg -b 116 --scale=5 --border=10 -d "Demonstration Han Xin symbol generated by libzint"
echo testing Aztec Runes
./zint -o bar128.txt -b 128 -d 125
./zint -o bar128.gif -b 128 --border=10 -d 125
./zint -o bar128.svg -b 128 --border=10 -d 125
zint -o bar128.txt -b 128 -d 125
zint -o bar128.gif -b 128 --border=10 -d 125
zint -o bar128.svg -b 128 --border=10 -d 125
echo testing Code 23
./zint -o bar129.txt -b 129 -d "12345678"
./zint -o bar129.gif -b 129 --border=10 -d "12345678"
./zint -o bar129.svg -b 129 --border=10 -d "12345678"
zint -o bar129.txt -b 129 -d "12345678"
zint -o bar129.gif -b 129 --border=10 -d "12345678"
zint -o bar129.svg -b 129 --border=10 -d "12345678"
echo testing EAN-8 Composite with CC-A
./zint -o bar130.txt -b 130 --mode=1 --primary=1234567 -d "[21]A12345678"
./zint -o bar130.gif -b 130 --height=100 --border=10 --mode=1 --primary=1234567 -d "[21]A12345678"
./zint -o bar130.svg -b 130 --height=100 --border=10 --mode=1 --primary=1234567 -d "[21]A12345678"
zint -o bar130.txt -b 130 --mode=1 --primary=1234567 -d "[21]A12345678"
zint -o bar130.gif -b 130 --height=100 --border=10 --mode=1 --primary=1234567 -d "[21]A12345678"
zint -o bar130.svg -b 130 --height=100 --border=10 --mode=1 --primary=1234567 -d "[21]A12345678"
echo testing EAN-13 Composite with CC-A
./zint -o bar130a.txt -b 130 --mode=1 --primary=331234567890 -d "[99]1234-abcd"
./zint -o bar130a.gif -b 130 --height=100 --border=10 --mode=1 --primary=331234567890 -d "[99]1234-abcd"
./zint -o bar130a.svg -b 130 --height=100 --border=10 --mode=1 --primary=331234567890 -d "[99]1234-abcd"
zint -o bar130a.txt -b 130 --mode=1 --primary=331234567890 -d "[99]1234-abcd"
zint -o bar130a.gif -b 130 --height=100 --border=10 --mode=1 --primary=331234567890 -d "[99]1234-abcd"
zint -o bar130a.svg -b 130 --height=100 --border=10 --mode=1 --primary=331234567890 -d "[99]1234-abcd"
echo testing UCC/EAN-128 Composite with CC-A
./zint -o bar131.txt -b 131 --mode=1 --primary="[01]03212345678906" -d "[10]1234567ABCDEFG"
./zint -o bar131.gif -b 131 --height=100 --border=10 --mode=1 --primary="[01]03212345678906" -d "[10]1234567ABCDEFG"
./zint -o bar131.svg -b 131 --height=100 --border=10 --mode=1 --primary="[01]03212345678906" -d "[10]1234567ABCDEFG"
zint -o bar131.txt -b 131 --mode=1 --primary="[01]03212345678906" -d "[10]1234567ABCDEFG"
zint -o bar131.gif -b 131 --height=100 --border=10 --mode=1 --primary="[01]03212345678906" -d "[10]1234567ABCDEFG"
zint -o bar131.svg -b 131 --height=100 --border=10 --mode=1 --primary="[01]03212345678906" -d "[10]1234567ABCDEFG"
echo testing UCC/EAN-128 Composite with CC-C
./zint -o bar131a.txt -b 131 --mode=3 --primary="[00]030123456789012340" -d "[02]13012345678909[10]1234567ABCDEFG"
./zint -o bar131a.gif -b 131 --height=100 --border=10 --mode=3 --primary="[00]030123456789012340" -d "[02]13012345678909[10]1234567ABCDEFG"
./zint -o bar131a.svg -b 131 --height=100 --border=10 --mode=3 --primary="[00]030123456789012340" -d "[02]13012345678909[10]1234567ABCDEFG"
zint -o bar131a.txt -b 131 --mode=3 --primary="[00]030123456789012340" -d "[02]13012345678909[10]1234567ABCDEFG"
zint -o bar131a.gif -b 131 --height=100 --border=10 --mode=3 --primary="[00]030123456789012340" -d "[02]13012345678909[10]1234567ABCDEFG"
zint -o bar131a.svg -b 131 --height=100 --border=10 --mode=3 --primary="[00]030123456789012340" -d "[02]13012345678909[10]1234567ABCDEFG"
echo testing DataBar-14 Composite with CC-A
./zint -o bar132.txt -b 132 --mode=1 --primary=361234567890 -d "[11]990102"
./zint -o bar132.gif -b 132 --height=100 --border=10 --mode=1 --primary=361234567890 -d "[11]990102"
./zint -o bar132.svg -b 132 --height=100 --border=10 --mode=1 --primary=361234567890 -d "[11]990102"
zint -o bar132.txt -b 132 --mode=1 --primary=361234567890 -d "[11]990102"
zint -o bar132.gif -b 132 --height=100 --border=10 --mode=1 --primary=361234567890 -d "[11]990102"
zint -o bar132.svg -b 132 --height=100 --border=10 --mode=1 --primary=361234567890 -d "[11]990102"
echo testing DataBar Limited Composite with CC-B
./zint -o bar133.txt -b 133 --mode=2 --primary=351234567890 -d "[21]abcdefghijklmnopqrstuv"
./zint -o bar133.gif -b 133 --height=100 --border=10 --mode=2 --primary=351234567890 -d "[21]abcdefghijklmnopqrstuv"
./zint -o bar133.svg -b 133 --height=100 --border=10 --mode=2 --primary=351234567890 -d "[21]abcdefghijklmnopqrstuv"
zint -o bar133.txt -b 133 --mode=2 --primary=351234567890 -d "[21]abcdefghijklmnopqrstuv"
zint -o bar133.gif -b 133 --height=100 --border=10 --mode=2 --primary=351234567890 -d "[21]abcdefghijklmnopqrstuv"
zint -o bar133.svg -b 133 --height=100 --border=10 --mode=2 --primary=351234567890 -d "[21]abcdefghijklmnopqrstuv"
echo testing DataBar Expanded Composite with CC-A
./zint -o bar134.txt -b 134 --mode=1 --primary="[01]93712345678904[3103]001234" -d "[91]1A2B3C4D5E"
./zint -o bar134.gif -b 134 --height=100 --border=10 --mode=1 --primary="[01]93712345678904[3103]001234" -d "[91]1A2B3C4D5E"
./zint -o bar134.svg -b 134 --height=100 --border=10 --mode=1 --primary="[01]93712345678904[3103]001234" -d "[91]1A2B3C4D5E"
zint -o bar134.txt -b 134 --mode=1 --primary="[01]93712345678904[3103]001234" -d "[91]1A2B3C4D5E"
zint -o bar134.gif -b 134 --height=100 --border=10 --mode=1 --primary="[01]93712345678904[3103]001234" -d "[91]1A2B3C4D5E"
zint -o bar134.svg -b 134 --height=100 --border=10 --mode=1 --primary="[01]93712345678904[3103]001234" -d "[91]1A2B3C4D5E"
echo testing UPC-A Composite with CC-A
./zint -o bar135.txt -b 135 --mode=1 --primary=10987654321 -d "[15]021231"
./zint -o bar135.gif -b 135 --height=100 --border=10 --mode=1 --primary=10987654321 -d "[15]021231"
./zint -o bar135.svg -b 135 --height=100 --border=10 --mode=1 --primary=10987654321 -d "[15]021231"
zint -o bar135.txt -b 135 --mode=1 --primary=10987654321 -d "[15]021231"
zint -o bar135.gif -b 135 --height=100 --border=10 --mode=1 --primary=10987654321 -d "[15]021231"
zint -o bar135.svg -b 135 --height=100 --border=10 --mode=1 --primary=10987654321 -d "[15]021231"
echo testing UPC-E Composite with CC-A
./zint -o bar136.txt -b 136 --mode=1 --primary=121230 -d "[15]021231"
./zint -o bar136.gif -b 136 --height=100 --border=10 --mode=1 --primary=121230 -d "[15]021231"
./zint -o bar136.svg -b 136 --height=100 --border=10 --mode=1 --primary=121230 -d "[15]021231"
zint -o bar136.txt -b 136 --mode=1 --primary=121230 -d "[15]021231"
zint -o bar136.gif -b 136 --height=100 --border=10 --mode=1 --primary=121230 -d "[15]021231"
zint -o bar136.svg -b 136 --height=100 --border=10 --mode=1 --primary=121230 -d "[15]021231"
echo testing DataBar-14 Stacked Composite with CC-A
./zint -o bar137.txt -b 137 --mode=1 --primary=341234567890 -d "[17]010200"
./zint -o bar137.gif -b 137 --border=10 --mode=1 --primary=341234567890 -d "[17]010200"
./zint -o bar137.svg -b 137 --border=10 --mode=1 --primary=341234567890 -d "[17]010200"
zint -o bar137.txt -b 137 --mode=1 --primary=341234567890 -d "[17]010200"
zint -o bar137.gif -b 137 --border=10 --mode=1 --primary=341234567890 -d "[17]010200"
zint -o bar137.svg -b 137 --border=10 --mode=1 --primary=341234567890 -d "[17]010200"
echo testing DataBar-14 Stacked Omnidirectional Composite with CC-A
./zint -o bar138.txt -b 138 --mode=1 --primary=341234567890 -d "[17]010200"
./zint -o bar138.gif -b 138 --border=10 --mode=1 --primary=341234567890 -d "[17]010200"
./zint -o bar138.svg -b 138 --border=10 --mode=1 --primary=341234567890 -d "[17]010200"
zint -o bar138.txt -b 138 --mode=1 --primary=341234567890 -d "[17]010200"
zint -o bar138.gif -b 138 --border=10 --mode=1 --primary=341234567890 -d "[17]010200"
zint -o bar138.svg -b 138 --border=10 --mode=1 --primary=341234567890 -d "[17]010200"
echo testing DataBar Expanded Stacked Composite with CC-A
./zint -o bar139.txt -b 139 --mode=1 --primary="[01]00012345678905[10]ABCDEF" -d "[21]12345678"
./zint -o bar139.gif -b 139 --height=150 --border=10 --mode=1 --primary="[01]00012345678905[10]ABCDEF" -d "[21]12345678"
./zint -o bar139.svg -b 139 --height=150 --border=10 --mode=1 --primary="[01]00012345678905[10]ABCDEF" -d "[21]12345678"
zint -o bar139.txt -b 139 --mode=1 --primary="[01]00012345678905[10]ABCDEF" -d "[21]12345678"
zint -o bar139.gif -b 139 --height=150 --border=10 --mode=1 --primary="[01]00012345678905[10]ABCDEF" -d "[21]12345678"
zint -o bar139.svg -b 139 --height=150 --border=10 --mode=1 --primary="[01]00012345678905[10]ABCDEF" -d "[21]12345678"
echo testing Channel Code
./zint -o bar140.txt -b 140 -d "12345"
./zint -o bar140.gif -b 140 --height=100 --border=10 -d "12345"
./zint -o bar140.svg -b 140 --height=100 --border=10 -d "12345"
zint -o bar140.txt -b 140 -d "12345"
zint -o bar140.gif -b 140 --height=100 --border=10 -d "12345"
zint -o bar140.svg -b 140 --height=100 --border=10 -d "12345"
echo testing Code One
./zint -o bar141.txt -b 141 -d "Demonstration Code One symbol generated by libzint"
./zint -o bar141.gif -b 141 --border=10 -d "Demonstration Code One symbol generated by libzint"
./zint -o bar141.svg -b 141 --border=10 -d "Demonstration Code One symbol generated by libzint"
zint -o bar141.txt -b 141 -d "Demonstration Code One symbol generated by libzint"
zint -o bar141.gif -b 141 --border=10 -d "Demonstration Code One symbol generated by libzint"
zint -o bar141.svg -b 141 --border=10 -d "Demonstration Code One symbol generated by libzint"
echo testing Grid Matrix
./zint -o bar142.txt -b 142 -d "Demonstration Grid Matrix generated by libzint"
./zint -o bar142.gif -b 142 --border=10 -d "Demonstration Grid Matrix generated by libzint"
./zint -o bar142.svg -b 142 --border=10 -d "Demonstration Grid Matrix generated by libzint"
zint -o bar142.txt -b 142 -d "Demonstration Grid Matrix generated by libzint"
zint -o bar142.gif -b 142 --border=10 -d "Demonstration Grid Matrix generated by libzint"
zint -o bar142.svg -b 142 --border=10 -d "Demonstration Grid Matrix generated by libzint"
echo testing output formats
./zint -o barout.png -b 58 --border=10 -d "Sample output QR Code"
./zint -o barout.gif -b 58 --border=10 -d "Sample output QR Code"
./zint -o barout.bmp -b 58 --border=10 -d "Sample output QR Code"
./zint -o barout.pcx -b 58 --border=10 -d "Sample output QR Code"
./zint -o barout.eps -b 58 --border=10 -d "Sample output QR Code"
./zint -o barout.svg -b 58 --border=10 -d "Sample output QR Code"
zint -o barout.png -b 58 --border=10 -d "Sample output QR Code"
zint -o barout.gif -b 58 --border=10 -d "Sample output QR Code"
zint -o barout.bmp -b 58 --border=10 -d "Sample output QR Code"
zint -o barout.pcx -b 58 --border=10 -d "Sample output QR Code"
zint -o barout.eps -b 58 --border=10 -d "Sample output QR Code"
zint -o barout.svg -b 58 --border=10 -d "Sample output QR Code"
echo testing image rotation
./zint -o barrot0.gif -b 130 --height=50 --border=10 --mode=1 --rotate=0 --primary=331234567890+01234 -d "[99]1234-abcd"
./zint -o barrot90.gif -b 130 --height=50 --border=10 --mode=1 --rotate=90 --primary=331234567890+01234 -d "[99]1234-abcd"
./zint -o barrot180.gif -b 130 --height=50 --border=10 --mode=1 --rotate=180 --primary=331234567890+01234 -d "[99]1234-abcd"
./zint -o barrot270.gif -b 130 --height=50 --border=10 --mode=1 --rotate=270 --primary=331234567890+01234 -d "[99]1234-abcd"
zint -o barrot0.gif -b 130 --height=50 --border=10 --mode=1 --rotate=0 --primary=331234567890+01234 -d "[99]1234-abcd"
zint -o barrot90.gif -b 130 --height=50 --border=10 --mode=1 --rotate=90 --primary=331234567890+01234 -d "[99]1234-abcd"
zint -o barrot180.gif -b 130 --height=50 --border=10 --mode=1 --rotate=180 --primary=331234567890+01234 -d "[99]1234-abcd"
zint -o barrot270.gif -b 130 --height=50 --border=10 --mode=1 --rotate=270 --primary=331234567890+01234 -d "[99]1234-abcd"
echo testing Extended ASCII support
./zint -o barext.txt -d "größer"
./zint -o barext.svg --height=50 --border=10 -d "größer"
zint -o barext.txt -d "größer"
zint -o barext.svg --height=50 --border=10 -d "größer"