mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-19 19:07:09 +00:00
Add GS1 support to Code 49
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user