mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Add ECI encoding
This commit is contained in:
@ -568,6 +568,14 @@ static int dm200encode(struct zint_symbol *symbol, const unsigned char source[],
|
||||
if (debug) printf("RP ");
|
||||
}
|
||||
}
|
||||
|
||||
if (symbol->eci > 3) {
|
||||
target[tp] = 241; /* ECI Character */
|
||||
tp++;
|
||||
target[tp] = symbol->eci + 1;
|
||||
tp++;
|
||||
if (debug) printf("ECI %d ", symbol->eci + 1);
|
||||
}
|
||||
|
||||
/* Check for Macro05/Macro06 */
|
||||
/* "[)>[RS]05[GS]...[RS][EOT]" -> CW 236 */
|
||||
|
Reference in New Issue
Block a user