c# - Barcode 128 space -


i'm converting in visual studio's console application strings barcode128 format.

my problem "space" ( ): can't convert in form, have barcode128 library word , doesn't convert space, splits 2 barcodes making them impossible read.

i read replace ascii 32 ( ) ascii 194 (┬) ascii not converted word. how can convert barcode128 string space?

example "prop. log."

thanks all

whether space character needs special treatment depends on actual font using.

but fonts seem miss working code point space expect it. while defined (with pattern of '11011001100' , weights of '212222') fonts out there seem not have @ same spot. use font doesn't contain proper space character @ 32.

so have find out space character in font.

one free font have @ 32 found here.

i looked few other free fonts , found have space character @ 223.

the control codes misplaced. wikipedia says this:

the encoded ascii char depends on actual used barcode-font. ascii char of value 0 , of value 95 , above can defined differently in font installed.

according code numbers in table may or may not include space character..

here constants worked me:

    char fnc1 = (char)181;     char fnc4 = (char)220;     char starta = (char)192;     char startb = (char)193;     char startc = (char)194;     char stop = (char)200;     char shiftab = (char)252;     char space = (char)223; 

update found mess various fonts provided decided go drawing barcodes need myself. not hard @ , can stay codes set in standard tables..


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -