Add Input mode support for Unicode, GS1 and Kanji

This commit is contained in:
hooper114 2009-01-11 09:11:03 +00:00
parent e246efe727
commit bc88024f04
5 changed files with 196 additions and 114 deletions

View file

@ -39,6 +39,7 @@ struct zint_symbol {
int option_1;
int option_2;
int option_3;
int input_mode;
char text[100];
int rows;
int width;
@ -132,6 +133,11 @@ struct zint_symbol {
#define BARCODE_BOX 4
#define BARCODE_STDOUT 8
#define DATA_MODE 0
#define UNICODE_MODE 1
#define GS1_MODE 2
#define KANJI_MODE 3
#define WARN_INVALID_OPTION 2
#define ERROR_TOO_LONG 5
#define ERROR_INVALID_DATA 6