Add HIBC support

This commit is contained in:
hooper114 2009-01-31 22:03:46 +00:00
parent 0a6961506f
commit 099dd11fcc
6 changed files with 135 additions and 3 deletions

View file

@ -703,6 +703,7 @@ int ps_plot(struct zint_symbol *symbol)
switch(symbol->symbology) {
case BARCODE_CODABLOCKF:
case BARCODE_HIBC_BLOCKF:
fprintf(feps, "TE\n");
fprintf(feps, "%.2f %.2f %.2f setrgbcolor\n", red_ink, green_ink, blue_ink);
fprintf(feps, "%.2f %.2f TB %.2f %.2f TR\n", symbol->border_width * scaler, textoffset * scaler, xoffset * scaler, symbol->width * scaler);