Barcode php or linux

Forum for anything hard- or software related.

Moderator: Moderators

Den
something dur dur
Posts: 2616
Joined: Fri Jul 25, 2003 8:56 am
Location: nl
Contact:

Barcode php or linux

Post 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!
There's a chopper coming in 3 days and there's a katana on top of the cafe and that's all you need to know
Image
BeAViS
ittssaaa marrrioooo!
Posts: 1390
Joined: Wed Apr 06, 2005 5:15 am
Location: it
Contact:

Post by BeAViS »

- Killing today in old fashioned way -
- Beware of Beavers -
- :mario: -
Den
something dur dur
Posts: 2616
Joined: Fri Jul 25, 2003 8:56 am
Location: nl
Contact:

Post by Den »

BeAViS wrote:http://www.eazyservices.com/Main_Home.asp

it supports EAN128C
:mario: :ninja:
but asp
There's a chopper coming in 3 days and there's a katana on top of the cafe and that's all you need to know
Image
BeAViS
ittssaaa marrrioooo!
Posts: 1390
Joined: Wed Apr 06, 2005 5:15 am
Location: it
Contact:

Post by BeAViS »

Den wrote:
BeAViS wrote:http://www.eazyservices.com/Main_Home.asp

it supports EAN128C
:mario: :ninja:
but asp
yes. and.... whats wrong with it?
- Killing today in old fashioned way -
- Beware of Beavers -
- :mario: -
Den
something dur dur
Posts: 2616
Joined: Fri Jul 25, 2003 8:56 am
Location: nl
Contact:

Post by Den »

BeAViS wrote:
Den wrote:
BeAViS wrote:http://www.eazyservices.com/Main_Home.asp

it supports EAN128C
:mario: :ninja:
but asp
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)
There's a chopper coming in 3 days and there's a katana on top of the cafe and that's all you need to know
Image
BeAViS
ittssaaa marrrioooo!
Posts: 1390
Joined: Wed Apr 06, 2005 5:15 am
Location: it
Contact:

Post by BeAViS »

Image
- Killing today in old fashioned way -
- Beware of Beavers -
- :mario: -
Repsaj
as long as it's salty..
Posts: 661
Joined: Sun Jul 27, 2003 5:44 am
Location: nl

Post by Repsaj »

http://bisqwit.iki.fi/barcode.html

http://www.ashberg.de/php-barcode/download/

http://www.nieko.net/?view=barcode.php

Something like that? Guess the first 1 is less useful, but the 2 others look promising.
Den
something dur dur
Posts: 2616
Joined: Fri Jul 25, 2003 8:56 am
Location: nl
Contact:

Post by Den »

Repsaj wrote:http://bisqwit.iki.fi/barcode.html

http://www.ashberg.de/php-barcode/download/

http://www.nieko.net/?view=barcode.php

Something like that? Guess the first 1 is less useful, but the 2 others look promising.
Yeh tried those allready, they work allright (using php-barcode for another project)

doesnt support ean128c
There's a chopper coming in 3 days and there's a katana on top of the cafe and that's all you need to know
Image
Stric
needs some Pepto Bismol
Posts: 730
Joined: Tue Jul 29, 2003 5:41 am
Location: si
Contact:

Post by Stric »

em, so ... ean 128 != ean 128c ? :D
Image
Image
^stric^
Liitokone
is connecting
Posts: 7
Joined: Fri Aug 15, 2003 10:13 am
Location: fi
Contact:

Post 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.
Den
something dur dur
Posts: 2616
Joined: Fri Jul 25, 2003 8:56 am
Location: nl
Contact:

Post by Den »

Nothing on phpclasses worked for me :)
There's a chopper coming in 3 days and there's a katana on top of the cafe and that's all you need to know
Image
Liitokone
is connecting
Posts: 7
Joined: Fri Aug 15, 2003 10:13 am
Location: fi
Contact:

Post 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).
Liitokone
is connecting
Posts: 7
Joined: Fri Aug 15, 2003 10:13 am
Location: fi
Contact:

Post by Liitokone »

And of course the scripts doesn't work if you haven't got the needed graphic libraries.
Den
something dur dur
Posts: 2616
Joined: Fri Jul 25, 2003 8:56 am
Location: nl
Contact:

Post 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.
There's a chopper coming in 3 days and there's a katana on top of the cafe and that's all you need to know
Image
Liitokone
is connecting
Posts: 7
Joined: Fri Aug 15, 2003 10:13 am
Location: fi
Contact:

Post 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
Post Reply