diff --git a/frontend/CMakeLists.txt b/frontend/CMakeLists.txt index d7a2c1e9..fa638778 100644 --- a/frontend/CMakeLists.txt +++ b/frontend/CMakeLists.txt @@ -8,6 +8,8 @@ include_directories(BEFORE ../backend) add_executable(zint_frontend ${zint_frontend_SRCS}) +set_target_properties(zint_frontend PROPERTIES OUTPUT_NAME "zint") + add_dependencies(zint_frontend zint) link_directories( "../backend" ) diff --git a/frontend/Makefile b/frontend/Makefile index 8539896c..83b861a6 100644 --- a/frontend/Makefile +++ b/frontend/Makefile @@ -17,7 +17,7 @@ bindir := $(prefix)/bin DESTDIR := zint: main.c - $(CC) $(INCLUDE) $(CFLAGS) $(ZINT_VERSION) -I../backend -L../backend main.c -o zint_frontend -lzint + $(CC) $(INCLUDE) $(CFLAGS) $(ZINT_VERSION) -I../backend -L../backend main.c -o zint -lzint .PHONY: install uninstall clean dist diff --git a/frontend/test.sh b/frontend/test.sh index 5fdb61a7..a9979504 100755 --- a/frontend/test.sh +++ b/frontend/test.sh @@ -1,263 +1,263 @@ export LD_LIBRARY_PATH=../backend echo testing Code 11 -./zint_frontend -o bar01.png -b 1 --height=50 -d 87654321 -./zint_frontend -o bar01.eps -b 1 --height=50 -d 87654321 +./zint -o bar01.png -b 1 --height=50 -d 87654321 +./zint -o bar01.eps -b 1 --height=50 -d 87654321 echo testing Code 2 of 5 Standard -./zint_frontend -o bar02.png -b 2 --height=50 -d 87654321 -./zint_frontend -o bar02.eps -b 2 --height=50 -d 87654321 +./zint -o bar02.png -b 2 --height=50 -d 87654321 +./zint -o bar02.eps -b 2 --height=50 -d 87654321 echo testing Interleaved 2 of 5 -./zint_frontend -o bar03.png -b 3 --height=50 -d 87654321 -./zint_frontend -o bar03.eps -b 3 --height=50 -d 87654321 +./zint -o bar03.png -b 3 --height=50 -d 87654321 +./zint -o bar03.eps -b 3 --height=50 -d 87654321 echo testing Code 2 of 5 IATA -./zint_frontend -o bar04.png -b 4 --height=50 -d 87654321 -./zint_frontend -o bar04.eps -b 4 --height=50 -d 87654321 +./zint -o bar04.png -b 4 --height=50 -d 87654321 +./zint -o bar04.eps -b 4 --height=50 -d 87654321 echo testing Code 2 of 5 Data Logic -./zint_frontend -o bar06.png -b 6 --height=50 -d 87654321 -./zint_frontend -o bar06.eps -b 6 --height=50 -d 87654321 +./zint -o bar06.png -b 6 --height=50 -d 87654321 +./zint -o bar06.eps -b 6 --height=50 -d 87654321 echo testing Code 2 of 5 Industrial -./zint_frontend -o bar07.png -b 7 --height=50 -d 87654321 -./zint_frontend -o bar07.eps -b 7 --height=50 -d 87654321 +./zint -o bar07.png -b 7 --height=50 -d 87654321 +./zint -o bar07.eps -b 7 --height=50 -d 87654321 echo testing Code 39 -./zint_frontend -o bar08.png -b 8 --height=50 -d CODE39 -./zint_frontend -o bar08.eps -b 8 --height=50 -d CODE39 +./zint -o bar08.png -b 8 --height=50 -d CODE39 +./zint -o bar08.eps -b 8 --height=50 -d CODE39 echo testing Extended Code 39 -./zint_frontend -o bar09.png -b 9 --height=50 -d 'Code 39e' -./zint_frontend -o bar09.eps -b 9 --height=50 -d 'Code 39e' +./zint -o bar09.png -b 9 --height=50 -d 'Code 39e' +./zint -o bar09.eps -b 9 --height=50 -d 'Code 39e' echo testing EAN8 -./zint_frontend -o bar10.png -b 13 --height=50 -d 7654321 -./zint_frontend -o bar10.eps -b 13 --height=50 -d 7654321 +./zint -o bar10.png -b 13 --height=50 -d 7654321 +./zint -o bar10.eps -b 13 --height=50 -d 7654321 echo testing EAN8 - 2 digits add on -./zint_frontend -o bar11.png -b 13 --height=50 -d 7654321+21 -./zint_frontend -o bar11.eps -b 13 --height=50 -d 7654321+21 +./zint -o bar11.png -b 13 --height=50 -d 7654321+21 +./zint -o bar11.eps -b 13 --height=50 -d 7654321+21 echo testing EAN8 - 5 digits add-on -./zint_frontend -o bar12.png -b 13 --height=50 -d 7654321+54321 -./zint_frontend -o bar12.eps -b 13 --height=50 -d 7654321+54321 +./zint -o bar12.png -b 13 --height=50 -d 7654321+54321 +./zint -o bar12.eps -b 13 --height=50 -d 7654321+54321 echo testing EAN13 -./zint_frontend -o bar13.png -b 13 --height=50 -d 210987654321 -./zint_frontend -o bar13.eps -b 13 --height=50 -d 210987654321 +./zint -o bar13.png -b 13 --height=50 -d 210987654321 +./zint -o bar13.eps -b 13 --height=50 -d 210987654321 echo testing EAN13 - 2 digits add-on -./zint_frontend -o bar14.png -b 13 --height=50 -d 210987654321+21 -./zint_frontend -o bar14.eps -b 13 --height=50 -d 210987654321+21 +./zint -o bar14.png -b 13 --height=50 -d 210987654321+21 +./zint -o bar14.eps -b 13 --height=50 -d 210987654321+21 echo testing EAN13 - 5 digits add-on -./zint_frontend -o bar15.png -b 13 --height=50 -d 210987654321+54321 -./zint_frontend -o bar15.eps -b 13 --height=50 -d 210987654321+54321 +./zint -o bar15.png -b 13 --height=50 -d 210987654321+54321 +./zint -o bar15.eps -b 13 --height=50 -d 210987654321+54321 echo testing GS1-128 -./zint_frontend -o bar16.png -b 16 --height=50 -d "[01]98898765432106[3202]012345[15]991231" -./zint_frontend -o bar16.eps -b 16 --height=50 -d "[01]98898765432106[3202]012345[15]991231" +./zint -o bar16.png -b 16 --height=50 -d "[01]98898765432106[3202]012345[15]991231" +./zint -o bar16.eps -b 16 --height=50 -d "[01]98898765432106[3202]012345[15]991231" echo testing CodaBar -./zint_frontend -o bar18.png -b 18 --height=50 -d D765432C -./zint_frontend -o bar18.eps -b 18 --height=50 -d D765432C +./zint -o bar18.png -b 18 --height=50 -d D765432C +./zint -o bar18.eps -b 18 --height=50 -d D765432C echo testing Code 128 -./zint_frontend -o bar20.png -b 20 --height=50 -d 'Code 128' -./zint_frontend -o bar20.eps -b 20 --height=50 -d 'Code 128' +./zint -o bar20.png -b 20 --height=50 -d 'Code 128' +./zint -o bar20.eps -b 20 --height=50 -d 'Code 128' echo testing Deutshe Post Leitcode -./zint_frontend -o bar21.png -b 21 --height=50 -d 3210987654321 -./zint_frontend -o bar21.eps -b 21 --height=50 -d 3210987654321 +./zint -o bar21.png -b 21 --height=50 -d 3210987654321 +./zint -o bar21.eps -b 21 --height=50 -d 3210987654321 echo testing Deutche Post Identcode -./zint_frontend -o bar22.png -b 22 --height=50 -d 10987654321 -./zint_frontend -o bar22.eps -b 22 --height=50 -d 10987654321 +./zint -o bar22.png -b 22 --height=50 -d 10987654321 +./zint -o bar22.eps -b 22 --height=50 -d 10987654321 echo testing Code 16k -./zint_frontend -o bar23.png -b 23 --height=50 -d "Demonstration Code 16k symbol generated by libzint" -./zint_frontend -o bar23.eps -b 23 --height=50 -d "Demonstration Code 16k symbol generated by libzint" +./zint -o bar23.png -b 23 --height=50 -d "Demonstration Code 16k symbol generated by libzint" +./zint -o bar23.eps -b 23 --height=50 -d "Demonstration Code 16k symbol generated by libzint" echo testing Code 93 -./zint_frontend -o bar25.png -b 25 --height=50 -d 'Code 93' -./zint_frontend -o bar25.eps -b 25 --height=50 -d 'Code 93' +./zint -o bar25.png -b 25 --height=50 -d 'Code 93' +./zint -o bar25.eps -b 25 --height=50 -d 'Code 93' echo testing Flattermarken -./zint_frontend -o bar28.png -b 28 --height=50 -d 87654321 -./zint_frontend -o bar28.eps -b 28 --height=50 -d 87654321 +./zint -o bar28.png -b 28 --height=50 -d 87654321 +./zint -o bar28.eps -b 28 --height=50 -d 87654321 echo testing GS1 DataBar-14 -./zint_frontend -o bar29.png -b 29 --height=33 -d 2001234567890 -./zint_frontend -o bar29.eps -b 29 --height=33 -d 2001234567890 +./zint -o bar29.png -b 29 --height=33 -d 2001234567890 +./zint -o bar29.eps -b 29 --height=33 -d 2001234567890 echo testing GS1 DataBar Limited -./zint_frontend -o bar30.png -b 30 --height=50 -w 2 -d 31234567890 -./zint_frontend -o bar30.eps -b 30 --height=50 -w 2 -d 31234567890 +./zint -o bar30.png -b 30 --height=50 -w 2 -d 31234567890 +./zint -o bar30.eps -b 30 --height=50 -w 2 -d 31234567890 echo testing GS1 DataBar Expanded -./zint_frontend -o bar31.png -b 31 --height=50 -d "[01]90012345678908[3103]001750" -./zint_frontend -o bar31.eps -b 31 --height=50 -d "[01]90012345678908[3103]001750" +./zint -o bar31.png -b 31 --height=50 -d "[01]90012345678908[3103]001750" +./zint -o bar31.eps -b 31 --height=50 -d "[01]90012345678908[3103]001750" echo testing Telepen Alpha -./zint_frontend -o bar32.png -b 32 --height=50 -d 'Telepen' -./zint_frontend -o bar32.eps -b 32 --height=50 -d 'Telepen' +./zint -o bar32.png -b 32 --height=50 -d 'Telepen' +./zint -o bar32.eps -b 32 --height=50 -d 'Telepen' echo testing UPC A -./zint_frontend -o bar34.png -b 34 --height=50 -d 10987654321 -./zint_frontend -o bar34.eps -b 34 --height=50 -d 10987654321 +./zint -o bar34.png -b 34 --height=50 -d 10987654321 +./zint -o bar34.eps -b 34 --height=50 -d 10987654321 echo testing UPC A - 2 digit add-on -./zint_frontend -o bar35.png -b 34 --height=50 -d 10987654321+21 -./zint_frontend -o bar35.eps -b 34 --height=50 -d 10987654321+21 +./zint -o bar35.png -b 34 --height=50 -d 10987654321+21 +./zint -o bar35.eps -b 34 --height=50 -d 10987654321+21 echo testing UPC A - 5 digit add-on -./zint_frontend -o bar36.png -b 36 --height=50 -d 10987654321+54321 -./zint_frontend -o bar36.eps -b 36 --height=50 -d 10987654321+54321 +./zint -o bar36.png -b 36 --height=50 -d 10987654321+54321 +./zint -o bar36.eps -b 36 --height=50 -d 10987654321+54321 echo testing UPC E -./zint_frontend -o bar37.png -b 37 --height=50 -d 654321 -./zint_frontend -o bar37.eps -b 37 --height=50 -d 654321 +./zint -o bar37.png -b 37 --height=50 -d 654321 +./zint -o bar37.eps -b 37 --height=50 -d 654321 echo testing UPC E - 2 digit add-on -./zint_frontend -o bar38.png -b 37 --height=50 -d 654321+21 -./zint_frontend -o bar38.eps -b 37 --height=50 -d 654321+21 +./zint -o bar38.png -b 37 --height=50 -d 654321+21 +./zint -o bar38.eps -b 37 --height=50 -d 654321+21 echo testing UPC E - 5 digit add-on -./zint_frontend -o bar39.png -b 37 --height=50 -d 654321+54321 -./zint_frontend -o bar39.eps -b 37 --height=50 -d 654321+54321 +./zint -o bar39.png -b 37 --height=50 -d 654321+54321 +./zint -o bar39.eps -b 37 --height=50 -d 654321+54321 echo testing PostNet-6 -./zint_frontend -o bar41.png -b 40 -d 54321 -./zint_frontend -o bar41.eps -b 40 -d 54321 +./zint -o bar41.png -b 40 -d 54321 +./zint -o bar41.eps -b 40 -d 54321 echo testing PostNet-10 -./zint_frontend -o bar43.png -b 40 -d 987654321 -./zint_frontend -o bar43.eps -b 40 -d 987654321 +./zint -o bar43.png -b 40 -d 987654321 +./zint -o bar43.eps -b 40 -d 987654321 echo testing PostNet-12 -./zint_frontend -o bar45.png -b 40 -d 10987654321 -./zint_frontend -o bar45.eps -b 40 -d 10987654321 +./zint -o bar45.png -b 40 -d 10987654321 +./zint -o bar45.eps -b 40 -d 10987654321 echo testing MSI Code -./zint_frontend -o bar47.png -b 47 --height=50 -d 87654321 -./zint_frontend -o bar47.eps -b 47 --height=50 -d 87654321 +./zint -o bar47.png -b 47 --height=50 -d 87654321 +./zint -o bar47.eps -b 47 --height=50 -d 87654321 echo testing FIM -./zint_frontend -o bar49.png -b 49 --height=50 -d D -./zint_frontend -o bar49.eps -b 49 --height=50 -d D +./zint -o bar49.png -b 49 --height=50 -d D +./zint -o bar49.eps -b 49 --height=50 -d D echo testing LOGMARS -./zint_frontend -o bar50.png -b 50 --height=50 -d LOGMARS -./zint_frontend -o bar50.eps -b 50 --height=50 -d LOGMARS +./zint -o bar50.png -b 50 --height=50 -d LOGMARS +./zint -o bar50.eps -b 50 --height=50 -d LOGMARS echo testing Pharmacode One-Track -./zint_frontend -o bar51.png -b 51 --height=50 -d 123456 -./zint_frontend -o bar51.eps -b 51 --height=50 -d 123456 +./zint -o bar51.png -b 51 --height=50 -d 123456 +./zint -o bar51.eps -b 51 --height=50 -d 123456 echo testing Pharmazentralnumber -./zint_frontend -o bar52.png -b 52 --height=50 -d 654321 -./zint_frontend -o bar52.eps -b 52 --height=50 -d 654321 +./zint -o bar52.png -b 52 --height=50 -d 654321 +./zint -o bar52.eps -b 52 --height=50 -d 654321 echo testing Pharmacode Two-Track -./zint_frontend -o bar53.png -b 53 --height=50 -d 12345678 -./zint_frontend -o bar53.eps -b 53 --height=50 -d 12345678 +./zint -o bar53.png -b 53 --height=50 -d 12345678 +./zint -o bar53.eps -b 53 --height=50 -d 12345678 echo testing PDF417 -./zint_frontend -o bar55.png -b 55 -d "Demonstration PDF417 symbol generated by libzint" -./zint_frontend -o bar55.eps -b 55 -d "Demonstration PDF417 symbol generated by libzint" +./zint -o bar55.png -b 55 -d "Demonstration PDF417 symbol generated by libzint" +./zint -o bar55.eps -b 55 -d "Demonstration PDF417 symbol generated by libzint" echo testing PDF417 Truncated -./zint_frontend -o bar56.png -b 56 -d "Demonstration PDF417 symbol generated by libzint" -./zint_frontend -o bar56.eps -b 56 -d "Demonstration PDF417 symbol generated by libzint" +./zint -o bar56.png -b 56 -d "Demonstration PDF417 symbol generated by libzint" +./zint -o bar56.eps -b 56 -d "Demonstration PDF417 symbol generated by libzint" echo testing Maxicode -./zint_frontend -o bar57.png -b 57 --primary="999999999840012" -d "Demonstration Maxicode symbol generated by libzint" -./zint_frontend -o bar57.eps -b 57 --primary="999999999840012" -d "Demonstration Maxicode symbol generated by libzint" +./zint -o bar57.png -b 57 --primary="999999999840012" -d "Demonstration Maxicode symbol generated by libzint" +./zint -o bar57.eps -b 57 --primary="999999999840012" -d "Demonstration Maxicode symbol generated by libzint" echo testing QR Code -./zint_frontend -o bar58.png -b 58 -d "Demonstration QR Code symbol generated by libzint" -./zint_frontend -o bar58.eps -b 58 -d "Demonstration QR Code symbol generated by libzint" +./zint -o bar58.png -b 58 -d "Demonstration QR Code symbol generated by libzint" +./zint -o bar58.eps -b 58 -d "Demonstration QR Code symbol generated by libzint" echo testing Code 128 Subset B -./zint_frontend -o bar60.png -b 60 --height=50 -d 87654321 -./zint_frontend -o bar60.eps -b 60 --height=50 -d 87654321 +./zint -o bar60.png -b 60 --height=50 -d 87654321 +./zint -o bar60.eps -b 60 --height=50 -d 87654321 echo testing Australian Post Standard Customer -./zint_frontend -o bar63.png -b 63 -d 87654321 -./zint_frontend -o bar63.eps -b 63 -d 87654321 +./zint -o bar63.png -b 63 -d 87654321 +./zint -o bar63.eps -b 63 -d 87654321 echo testing Australian Post Customer 2 -./zint_frontend -o bar64.png -b 63 -d 87654321AUSPS -./zint_frontend -o bar64.eps -b 63 -d 87654321AUSPS +./zint -o bar64.png -b 63 -d 87654321AUSPS +./zint -o bar64.eps -b 63 -d 87654321AUSPS echo testing Australian Post Customer 3 -./zint_frontend -o bar65.png -b 63 -d '87654321 AUSTRALIA' -./zint_frontend -o bar65.eps -b 63 -d '87654321 AUSTRALIA' +./zint -o bar65.png -b 63 -d '87654321 AUSTRALIA' +./zint -o bar65.eps -b 63 -d '87654321 AUSTRALIA' echo testing Australian Post Reply Paid -./zint_frontend -o bar66.png -b 66 -d 87654321 -./zint_frontend -o bar66.eps -b 66 -d 87654321 +./zint -o bar66.png -b 66 -d 87654321 +./zint -o bar66.eps -b 66 -d 87654321 echo testing Australian Post Routing -./zint_frontend -o bar67.png -b 67 -d 87654321 -./zint_frontend -o bar67.eps -b 67 -d 87654321 +./zint -o bar67.png -b 67 -d 87654321 +./zint -o bar67.eps -b 67 -d 87654321 echo testing Australian Post Redirection -./zint_frontend -o bar68.png -b 68 -d 87654321 -./zint_frontend -o bar68.eps -b 68 -d 87654321 +./zint -o bar68.png -b 68 -d 87654321 +./zint -o bar68.eps -b 68 -d 87654321 echo testing ISBN Code -./zint_frontend -o bar69.png -b 69 --height=50 -d 0333638514 -./zint_frontend -o bar69.eps -b 69 --height=50 -d 0333638514 +./zint -o bar69.png -b 69 --height=50 -d 0333638514 +./zint -o bar69.eps -b 69 --height=50 -d 0333638514 echo testing Royal Mail 4 State -./zint_frontend -o bar70.png -b 70 -d ROYALMAIL -./zint_frontend -o bar70.eps -b 70 -d ROYALMAIL +./zint -o bar70.png -b 70 -d ROYALMAIL +./zint -o bar70.eps -b 70 -d ROYALMAIL echo testing Data Matrix -./zint_frontend -o bar71.png -b 71 -d "Demonstration Data Matrix symbol generated by libzint" -./zint_frontend -o bar71.eps -b 71 -d "Demonstration Data Matrix symbol generated by libzint" +./zint -o bar71.png -b 71 -d "Demonstration Data Matrix symbol generated by libzint" +./zint -o bar71.eps -b 71 -d "Demonstration Data Matrix symbol generated by libzint" echo testing EAN-14 -./zint_frontend -o bar72.png -b 72 --height=50 -d 3210987654321 -./zint_frontend -o bar72.eps -b 72 --height=50 -d 3210987654321 +./zint -o bar72.png -b 72 --height=50 -d 3210987654321 +./zint -o bar72.eps -b 72 --height=50 -d 3210987654321 echo testing Codablock-F -./zint_frontend -o bar74.png -b 74 -d "Demonstration Codablock-F symbol generated by libzint" -./zint_frontend -o bar74.eps -b 74 -d "Demonstration Codablock-F symbol generated by libzint" +./zint -o bar74.png -b 74 -d "Demonstration Codablock-F symbol generated by libzint" +./zint -o bar74.eps -b 74 -d "Demonstration Codablock-F symbol generated by libzint" echo testing NVE-18 -./zint_frontend -o bar75.png -b 75 --height=50 -d 76543210987654321 -./zint_frontend -o bar75.eps -b 75 --height=50 -d 76543210987654321 +./zint -o bar75.png -b 75 --height=50 -d 76543210987654321 +./zint -o bar75.eps -b 75 --height=50 -d 76543210987654321 echo testing GS1 DataBar Truncated -./zint_frontend -o bar78.eps -b 29 --height=13 -d 1234567890 -./zint_frontend -o bar78.png -b 29 --height=13 -d 1234567890 +./zint -o bar78.eps -b 29 --height=13 -d 1234567890 +./zint -o bar78.png -b 29 --height=13 -d 1234567890 echo testing GS1 DataBar Stacked -./zint_frontend -o bar79.eps -b 79 -d 1234567890 -./zint_frontend -o bar79.png -b 79 -d 1234567890 +./zint -o bar79.eps -b 79 -d 1234567890 +./zint -o bar79.png -b 79 -d 1234567890 echo testing GS1 DataBar Stacked Omnidirectional -./zint_frontend -o bar80.eps -b 80 --height=69 -d 3456789012 -./zint_frontend -o bar80.png -b 80 --height=69 -d 3456789012 +./zint -o bar80.eps -b 80 --height=69 -d 3456789012 +./zint -o bar80.png -b 80 --height=69 -d 3456789012 echo testing GS1 DataBar Expanded Stacked -./zint_frontend -o bar81.eps -b 81 -d "[01]98898765432106[3202]012345[15]991231" -./zint_frontend -o bar81.png -b 81 -d "[01]98898765432106[3202]012345[15]991231" +./zint -o bar81.eps -b 81 -d "[01]98898765432106[3202]012345[15]991231" +./zint -o bar81.png -b 81 -d "[01]98898765432106[3202]012345[15]991231" echo testing Planet 12 Digit -./zint_frontend -o bar82.png -b 82 -d 10987654321 -./zint_frontend -o bar82.eps -b 82 -d 10987654321 +./zint -o bar82.png -b 82 -d 10987654321 +./zint -o bar82.eps -b 82 -d 10987654321 echo testing Planet 14 Digit -./zint_frontend -o bar83.png -b 82 -d 3210987654321 -./zint_frontend -o bar83.eps -b 82 -d 3210987654321 +./zint -o bar83.png -b 82 -d 3210987654321 +./zint -o bar83.eps -b 82 -d 3210987654321 echo testing Micro PDF417 -./zint_frontend -o bar84.png -b 84 -d "Demonstration MicroPDF417 symbol generated by libzint" -./zint_frontend -o bar84.eps -b 84 -d "Demonstration MicroPDF417 symbol generated by libzint" +./zint -o bar84.png -b 84 -d "Demonstration MicroPDF417 symbol generated by libzint" +./zint -o bar84.eps -b 84 -d "Demonstration MicroPDF417 symbol generated by libzint" echo testing USPS OneCode 4-State Customer Barcode -./zint_frontend -o bar85.png -b 85 -d 01234567094987654321 -./zint_frontend -o bar85.eps -b 85 -d 01234567094987654321 +./zint -o bar85.png -b 85 -d 01234567094987654321 +./zint -o bar85.eps -b 85 -d 01234567094987654321 echo testing Plessey Code with bidirectional reading support -./zint_frontend -o bar86.png -b 86 --height=50 -d 87654321 -./zint_frontend -o bar86.eps -b 86 --height=50 -d 87654321 +./zint -o bar86.png -b 86 --height=50 -d 87654321 +./zint -o bar86.eps -b 86 --height=50 -d 87654321 echo testing Telepen Numeric -./zint_frontend -o bar87.png -b 87 --height=50 -d 87654321 -./zint_frontend -o bar87.eps -b 87 --height=50 -d 87654321 +./zint -o bar87.png -b 87 --height=50 -d 87654321 +./zint -o bar87.eps -b 87 --height=50 -d 87654321 echo testing ITF-14 -./zint_frontend -o bar89.png -b 89 --height=50 -d 3210987654321 -./zint_frontend -o bar89.eps -b 89 --height=50 -d 3210987654321 +./zint -o bar89.png -b 89 --height=50 -d 3210987654321 +./zint -o bar89.eps -b 89 --height=50 -d 3210987654321 echo testing KIX Code -./zint_frontend -o bar90.eps -b 90 -d '1231FZ13Xhs' -./zint_frontend -o bar90.png -b 90 -d '1231FZ13Xhs' +./zint -o bar90.eps -b 90 -d '1231FZ13Xhs' +./zint -o bar90.png -b 90 -d '1231FZ13Xhs' echo testing Aztec Code -./zint_frontend -o bar92.eps -b 92 -d "Demonstration Aztec Code symbol generated by libzint" -./zint_frontend -o bar92.png -b 92 -d "Demonstration Aztec Code symbol generated by libzint" +./zint -o bar92.eps -b 92 -d "Demonstration Aztec Code symbol generated by libzint" +./zint -o bar92.png -b 92 -d "Demonstration Aztec Code symbol generated by libzint" echo testing DAFT Code -./zint_frontend -o bar93.eps -b 93 -d "daftdaftdaftdaftdaftdaftdaftdaftdaft" -./zint_frontend -o bar93.png -b 93 -d "daftdaftdaftdaftdaftdaftdaftdaftdaft" +./zint -o bar93.eps -b 93 -d "daftdaftdaftdaftdaftdaftdaftdaftdaft" +./zint -o bar93.png -b 93 -d "daftdaftdaftdaftdaftdaftdaftdaftdaft" echo testing Code 23 -./zint_frontend -o bar129.eps -b 129 -d "12345678" -./zint_frontend -o bar129.png -b 129 -d "12345678" +./zint -o bar129.eps -b 129 -d "12345678" +./zint -o bar129.png -b 129 -d "12345678" echo testing EAN-8 Composite with CC-A -./zint_frontend -o bar130.eps -b 130 --height=100 --mode=1 --primary=1234567 -d "[21]A12345678" -./zint_frontend -o bar130.png -b 130 --height=100 --mode=1 --primary=1234567 -d "[21]A12345678" +./zint -o bar130.eps -b 130 --height=100 --mode=1 --primary=1234567 -d "[21]A12345678" +./zint -o bar130.png -b 130 --height=100 --mode=1 --primary=1234567 -d "[21]A12345678" echo testing EAN-13 Composite with CC-A -./zint_frontend -o bar130a.eps -b 130 --height=100 --mode=1 --primary=331234567890 -d "[99]1234-abcd" -./zint_frontend -o bar130a.png -b 130 --height=100 --mode=1 --primary=331234567890 -d "[99]1234-abcd" +./zint -o bar130a.eps -b 130 --height=100 --mode=1 --primary=331234567890 -d "[99]1234-abcd" +./zint -o bar130a.png -b 130 --height=100 --mode=1 --primary=331234567890 -d "[99]1234-abcd" echo testing UCC/EAN-128 Composite with CC-A -./zint_frontend -o bar131.eps -b 131 --height=100 --mode=1 --primary="[01]03212345678906" -d "[10]1234567ABCDEFG" -./zint_frontend -o bar131.png -b 131 --height=100 --mode=1 --primary="[01]03212345678906" -d "[10]1234567ABCDEFG" +./zint -o bar131.eps -b 131 --height=100 --mode=1 --primary="[01]03212345678906" -d "[10]1234567ABCDEFG" +./zint -o bar131.png -b 131 --height=100 --mode=1 --primary="[01]03212345678906" -d "[10]1234567ABCDEFG" echo testing UCC/EAN-128 Composite with CC-C -./zint_frontend -o bar131a.eps -b 131 --height=100 --mode=3 --primary="[00]030123456789012340" -d "[02]130123456789093724[10]1234567ABCDEFG" -./zint_frontend -o bar131a.png -b 131 --height=100 --mode=3 --primary="[00]030123456789012340" -d "[02]130123456789093724[10]1234567ABCDEFG" +./zint -o bar131a.eps -b 131 --height=100 --mode=3 --primary="[00]030123456789012340" -d "[02]130123456789093724[10]1234567ABCDEFG" +./zint -o bar131a.png -b 131 --height=100 --mode=3 --primary="[00]030123456789012340" -d "[02]130123456789093724[10]1234567ABCDEFG" echo testing RSS-14 Composite with CC-A -./zint_frontend -o bar132.eps -b 132 --height=100 --mode=1 --primary=361234567890 -d "[11]990102" -./zint_frontend -o bar132.png -b 132 --height=100 --mode=1 --primary=361234567890 -d "[11]990102" +./zint -o bar132.eps -b 132 --height=100 --mode=1 --primary=361234567890 -d "[11]990102" +./zint -o bar132.png -b 132 --height=100 --mode=1 --primary=361234567890 -d "[11]990102" echo testing RSS Limited Composite with CC-B -./zint_frontend -o bar133.eps -b 133 --height=100 --mode=2 --primary=351234567890 -d "[21]abcdefghijklmnopqrstuv" -./zint_frontend -o bar133.png -b 133 --height=100 --mode=2 --primary=351234567890 -d "[21]abcdefghijklmnopqrstuv" +./zint -o bar133.eps -b 133 --height=100 --mode=2 --primary=351234567890 -d "[21]abcdefghijklmnopqrstuv" +./zint -o bar133.png -b 133 --height=100 --mode=2 --primary=351234567890 -d "[21]abcdefghijklmnopqrstuv" echo testing RSS Expanded Composite with CC-A -./zint_frontend -o bar134.eps -b 134 --height=100 --mode=1 --primary="[01]93712345678904[3103]001234" -d "[91]1A2B3C4D5E" -./zint_frontend -o bar134.png -b 134 --height=100 --mode=1 --primary="[01]93712345678904[3103]001234" -d "[91]1A2B3C4D5E" +./zint -o bar134.eps -b 134 --height=100 --mode=1 --primary="[01]93712345678904[3103]001234" -d "[91]1A2B3C4D5E" +./zint -o bar134.png -b 134 --height=100 --mode=1 --primary="[01]93712345678904[3103]001234" -d "[91]1A2B3C4D5E" echo testing UPC-A Composite with CC-A -./zint_frontend -o bar135.eps -b 135 --height=100 --mode=1 --primary=10987654321 -d "[15]021231" -./zint_frontend -o bar135.png -b 135 --height=100 --mode=1 --primary=10987654321 -d "[15]021231" +./zint -o bar135.eps -b 135 --height=100 --mode=1 --primary=10987654321 -d "[15]021231" +./zint -o bar135.png -b 135 --height=100 --mode=1 --primary=10987654321 -d "[15]021231" echo testing UPC-E Composite with CC-A -./zint_frontend -o bar136.eps -b 136 --height=100 --mode=1 --primary=121230 -d "[15]021231" -./zint_frontend -o bar136.png -b 136 --height=100 --mode=1 --primary=121230 -d "[15]021231" +./zint -o bar136.eps -b 136 --height=100 --mode=1 --primary=121230 -d "[15]021231" +./zint -o bar136.png -b 136 --height=100 --mode=1 --primary=121230 -d "[15]021231" echo testing RSS-14 Stacked Composite with CC-A -./zint_frontend -o bar137.eps -b 137 --mode=1 --primary=341234567890 -d "[17]010200" -./zint_frontend -o bar137.png -b 137 --mode=1 --primary=341234567890 -d "[17]010200" +./zint -o bar137.eps -b 137 --mode=1 --primary=341234567890 -d "[17]010200" +./zint -o bar137.png -b 137 --mode=1 --primary=341234567890 -d "[17]010200" echo testing RSS-14 Stacked Omnidirectional Composite with CC-A -./zint_frontend -o bar138.eps -b 138 --mode=1 --primary=341234567890 -d "[17]010200" -./zint_frontend -o bar138.png -b 138 --mode=1 --primary=341234567890 -d "[17]010200" +./zint -o bar138.eps -b 138 --mode=1 --primary=341234567890 -d "[17]010200" +./zint -o bar138.png -b 138 --mode=1 --primary=341234567890 -d "[17]010200" echo testing RSS Expanded Stacked Composite with CC-A -./zint_frontend -o bar139.eps -b 139 --height=150 --mode=1 --primary="[01]00012345678905[10]ABCDEF" -d "[21]12345678" -./zint_frontend -o bar139.png -b 139 --height=150 --mode=1 --primary="[01]00012345678905[10]ABCDEF" -d "[21]12345678" +./zint -o bar139.eps -b 139 --height=150 --mode=1 --primary="[01]00012345678905[10]ABCDEF" -d "[21]12345678" +./zint -o bar139.png -b 139 --height=150 --mode=1 --primary="[01]00012345678905[10]ABCDEF" -d "[21]12345678" echo testing PNG rotation -./zint_frontend -o barrot0.png -b 130 --height=50 --mode=1 --rotate=0 --primary=331234567890+01234 -d "[99]1234-abcd" -./zint_frontend -o barrot90.png -b 130 --height=50 --mode=1 --rotate=90 --primary=331234567890+01234 -d "[99]1234-abcd" -./zint_frontend -o barrot180.png -b 130 --height=50 --mode=1 --rotate=180 --primary=331234567890+01234 -d "[99]1234-abcd" -./zint_frontend -o barrot270.png -b 130 --height=50 --mode=1 --rotate=270 --primary=331234567890+01234 -d "[99]1234-abcd" +./zint -o barrot0.png -b 130 --height=50 --mode=1 --rotate=0 --primary=331234567890+01234 -d "[99]1234-abcd" +./zint -o barrot90.png -b 130 --height=50 --mode=1 --rotate=90 --primary=331234567890+01234 -d "[99]1234-abcd" +./zint -o barrot180.png -b 130 --height=50 --mode=1 --rotate=180 --primary=331234567890+01234 -d "[99]1234-abcd" +./zint -o barrot270.png -b 130 --height=50 --mode=1 --rotate=270 --primary=331234567890+01234 -d "[99]1234-abcd" echo testing Extended ASCII support -./zint_frontend -o barext.png --height=50 -d "größer" +./zint -o barext.png --height=50 -d "größer"