mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-19 17:55:10 -04:00
Add GS1 support to Code 49
This commit is contained in:
parent
aa1c9afc66
commit
063ac4ce4f
2 changed files with 16 additions and 5 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue