Page 1 of 2
Barcode php or linux
Posted: Fri Jan 12, 2007 7:39 am
by Den
I've been looking for a barcode EAN128C generator for a while but so far havent found nething good so the question is..
Does anyone know where/how/etc get a barcode EAN128C generator for php? or a linux program would be fine aswell (command line)
help!
Posted: Fri Jan 12, 2007 9:50 am
by BeAViS
Posted: Fri Jan 12, 2007 10:08 am
by Den
Posted: Fri Jan 12, 2007 10:14 am
by BeAViS
yes. and.... whats wrong with it?
Posted: Fri Jan 12, 2007 10:29 am
by Den
BeAViS wrote:
yes. and.... whats wrong with it?
Den wrote:Does anyone know where/how/etc get a barcode EAN128C generator for php? or a linux program would be fine aswell (command line)
Posted: Fri Jan 12, 2007 10:58 am
by BeAViS
Posted: Fri Jan 12, 2007 11:06 am
by Repsaj
Posted: Fri Jan 12, 2007 12:13 pm
by Den
Yeh tried those allready, they work allright (using php-barcode for another project)
doesnt support ean128c
Posted: Fri Jan 12, 2007 3:54 pm
by Stric
em, so ... ean 128 != ean 128c ?
Posted: Fri Jan 12, 2007 8:40 pm
by Liitokone
I used this at work last summer:
http://www.phpclasses.org/browse/package/2441.html
It had 2 bugs which I fixed and posted the fixed codes @ forum:
http://phpclasses.mkdata.net/discuss/package/2441/
After that I could produce code 128 C barcodes to bills that worked in Finnish banks.
Posted: Sat Jan 13, 2007 5:25 am
by Den
Nothing on phpclasses worked for me
Posted: Sun Jan 14, 2007 8:41 am
by Liitokone
Well, I modified that script to suit my purposes too. It didn't look what I was looking for before I ripped of everything other than the actual barcode from the output. But the main thing is that the actual encoding process calculated right results (after finding and fixing the couple bugs).
Posted: Sun Jan 14, 2007 8:44 am
by Liitokone
And of course the scripts doesn't work if you haven't got the needed graphic libraries.
Posted: Sun Jan 14, 2007 9:33 am
by Den
What i meant was, the phpclasses work just fine but none of them have support for EAN128C.. and its a bit out of my league to add one.
Posted: Sun Jan 14, 2007 5:38 pm
by Liitokone
EAN 128 C uses Code 128 C encoding which is supported in the script I pasted above. The script includes the start character and function code (FNC1) automatically if I remember right so all you have to do is to hardcode that the first character in the data field is fixed as proper Application Identifier.
Check more info from here.
http://www.gs1-128.info/
http://www.idautomation.com/code128faq. ... CC_EAN_128
Here is also the Code 128 barcode table which might come handy:
http://www.barcodeman.com/info/c128.php3