-
June 22nd, 2006, 01:32 AM
#1
[RESOLVED] Barcode generator
Hello dude,
how to generate Barcode ? any Algorithm, codes .. ...
i have read barcode reader .. but yet to come across the barcode genarator ...
It takes seconds for rating…that actually compensates the minutes taken for giving answers
The biggest guru-mantra is: Never share your secrets with anybody. It will destroy you.
Regards, Be generous->Rate people
Jayender!!
-
June 22nd, 2006, 02:01 AM
#2
Re: Barcode generator
if you can invest some time in understanding the java code, here are 2 links to open source barcode projects, The documentation can certainly help you debelop/port the barcode creation algo into C++.
http://jbarcodebean.sourceforge.net/
http://barbecue.sourceforge.net/
Regards,
Ramkrishna Pawar
-
June 22nd, 2006, 02:07 AM
#3
Re: Barcode generator
Originally Posted by Krishnaa
Thanks a lot Krishna, will check it up ..
and
more answers are welcome ..
thanks,
Jayender
-
June 22nd, 2006, 02:53 AM
#4
Re: Barcode generator
I generate barcode like I print strings of characters, except that I use a special font. For instance, in C:
Code:
hfont = CreateFont(18, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, "3 of 9 Barcode"); // specify a bar font
hfont_old = (HFONT) SelectObject(hdc, hfont); // select the font
TextOut(hdc, x, y, "*123456789*", 11); // print the barcode
SelectObject(hdc, hfont_old);
DeleteObject(hfont);
There are several fonts available.
I use "3 of 9", also called "39", because it is free and simple. With 39, the string of digits should start and end with stars (see the code above). With some other fonts, some checksum are needed.
-
June 22nd, 2006, 03:32 AM
#5
Re: Barcode generator
"Devise the simplest possible solution that solves the problems"
-
June 22nd, 2006, 04:13 AM
#6
Re: Barcode generator
Wow.. thanks dude... thanks a lot..
i got the idea from here :
barcode generator ,
anyway thanks for ur inputs ...
I could not rate u guys today ,as i have given out too many reputaions today ,this is the message
" You have given out too much Reputation in the last 24 hours, try again later.",
will do it tomorrow.
It takes seconds for rating…that actually compensates the minutes taken for giving answers
The biggest guru-mantra is: Never share your secrets with anybody. It will destroy you.
Regards, Be generous->Rate people
Jayender!!
-
January 23rd, 2013, 03:41 AM
#7
Re: [RESOLVED] Barcode generator
Luck to be here, I wanna choose a online barcode generator, so I have to search more info to descide which one is the best.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|