Add GS1 support to Code 49

This commit is contained in:
hooper114 2009-07-09 08:28:00 +00:00
parent aa1c9afc66
commit 063ac4ce4f
2 changed files with 16 additions and 5 deletions

View file

@ -376,6 +376,8 @@ int gs1_compliant(int symbology)
case BARCODE_AZTEC:
case BARCODE_DATAMATRIX:
case BARCODE_CODABLOCKF:
case BARCODE_CODEONE:
case BARCODE_CODE49:
result = 1;
break;
}
@ -595,14 +597,14 @@ int ZBarcode_Print(struct zint_symbol *symbol)
int error_number;
char output[4];
/* int i, j;
/*int i, j;
for(i = 0; i < symbol->rows; i++) {
for(j = 0; j <= symbol->width / 7; j++) {
printf("%2.2X ", symbol->encoded_data[i][j]);
}
printf("\n");
} */
}*/
if(strlen(symbol->outfile) > 3) {
output[0] = symbol->outfile[strlen(symbol->outfile) - 3];