SitePoint Sponsor |
|
User Tag List
Results 76 to 89 of 89
Thread: Create Barcodes
-
Aug 28, 2007, 12:40 #76
- Join Date
- Dec 2005
- Posts
- 982
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You don't. That would be unnecessarily hard!
MySQL v5.1.58
PHP v5.3.6
-
Aug 28, 2007, 13:16 #77
- Join Date
- May 2006
- Location
- Lancaster University, UK
- Posts
- 7,062
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Pear is all PHP, and the client machine won't need to install any software
Jake Arkinstall
"Sometimes you don't need to reinvent the wheel;
Sometimes its enough to make that wheel more rounded"-Molona
-
Aug 28, 2007, 15:24 #78
- Join Date
- Feb 2004
- Location
- Tampa, FL (US)
- Posts
- 9,854
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
the barcode i scanned for you in your other post is not Code 128, it's EAN128. those two barcodes are completely different.
-
Aug 29, 2007, 03:04 #79
- Join Date
- Aug 2007
- Posts
- 40
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
-
Aug 29, 2007, 03:50 #80
- Join Date
- May 2006
- Location
- Lancaster University, UK
- Posts
- 7,062
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
If you had looked at one of the other 3 threads you made, you would see that he ran it through his barcode reader.
Jake Arkinstall
"Sometimes you don't need to reinvent the wheel;
Sometimes its enough to make that wheel more rounded"-Molona
-
Aug 29, 2007, 05:43 #81
- Join Date
- Jul 2002
- Location
- Toronto, Canada
- Posts
- 39,347
- Mentioned
- 63 Post(s)
- Tagged
- 3 Thread(s)
threads merged
please do not start multiple threads on the same topic
-
Aug 29, 2007, 06:31 #82
- Join Date
- Aug 2007
- Posts
- 266
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Create Barcodes
How do I create scannable Bar Codes, Using PHP, CSS, and 1 x 1 Pixel Images, for the black and white bars?
Example Bar Code: http://www.freewebs.com/ticstacs/Barcode.bmp
Many Thanks, Much Appreciated!!!
-
Aug 29, 2007, 06:36 #83
- Join Date
- Feb 2004
- Location
- Tampa, FL (US)
- Posts
- 9,854
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
the barcode scanner i have at work has mode that tells you the type of barcode when you scan it. i printed the barcode you posted earlier and scanned it.
no matter how many times you ask this same question, you're going to get the same answer: look at one of the pre-built barcode classes and write your code based on that. if you ask again, i'm going to ask that the thread be locked and all future threads you start on the subject be deleted.
we're here to help you learn how to program, and help you through the rough spots, not do the whole thing for you. if that's what you're looking for, start a post in the "looking to hire" forum and pay someone to do it.
-
Aug 29, 2007, 06:46 #84
- Join Date
- Aug 2007
- Posts
- 266
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
My Appologies, only I don't seem to be getting anywhere.
How do I get hold of these classes?
-
Aug 29, 2007, 07:03 #85
Read this http://pear.php.net/manual/en/introduction.php
it will explain everything.
-
Aug 29, 2007, 07:31 #86
- Join Date
- Feb 2004
- Location
- Tampa, FL (US)
- Posts
- 9,854
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
or simply download the gzip file for image_barcode and look at the php file. ignoring all the class stuff, image_barcode is a fairly simple piece of code.
-
Aug 29, 2007, 07:54 #87
- Join Date
- Jul 2005
- Location
- West Springfield, Massachusetts
- Posts
- 17,290
- Mentioned
- 198 Post(s)
- Tagged
- 3 Thread(s)
source code
If you don't want to download the package you can look at the online documentation http://pear.php.net/package/Image_Barcode/docs/latest/
-> Files, to choose a file, then
-> Filesource, to see the source code
If you want to have an "image" made up of smaller 1px images, you could use the PEAR package code to write your "convert number to bits" code, and then use those bits to determine which 1px image to use.
Nothing personal, I myself have "re-invented the wheel" just for the fun of the learning experience, but I would not count on others on being so keen on it. It's more of a solo adventure.Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse
-
Aug 29, 2007, 08:09 #88
- Join Date
- Aug 2007
- Posts
- 266
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
What actually is pear, what does it do?
-
Aug 29, 2007, 08:16 #89
READ http://pear.php.net/manual/en/introduction.php
Forgive the shouting...
Bookmarks