SitePoint Sponsor

User Tag List

Page 4 of 4 FirstFirst 1234
Results 76 to 89 of 89

Thread: Create Barcodes

  1. #76
    SitePoint Guru
    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

  2. #77
    Theoretical Physics Student bronze trophy Jake Arkinstall's Avatar
    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

  3. #78
    reads the ********* Crier silver trophybronze trophy longneck's Avatar
    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.

  4. #79
    Non-Member
    Join Date
    Aug 2007
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by longneck View Post
    the barcode i scanned for you in your other post is not Code 128, it's EAN128. those two barcodes are completely different.
    How do you know there different, does it tell you?
    If so, how does it tell you?

  5. #80
    Theoretical Physics Student bronze trophy Jake Arkinstall's Avatar
    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

  6. #81
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,350
    Mentioned
    63 Post(s)
    Tagged
    3 Thread(s)
    threads merged

    please do not start multiple threads on the same topic
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"

  7. #82
    Non-Member
    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!!!

  8. #83
    reads the ********* Crier silver trophybronze trophy longneck's Avatar
    Join Date
    Feb 2004
    Location
    Tampa, FL (US)
    Posts
    9,854
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by F10 View Post
    How do you know there different, does it tell you?
    If so, how does it tell you?
    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.
    Quote Originally Posted by TicTac View Post
    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!!!
    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.

  9. #84
    Non-Member
    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?

  10. #85
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Read this http://pear.php.net/manual/en/introduction.php
    it will explain everything.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  11. #86
    reads the ********* Crier silver trophybronze trophy longneck's Avatar
    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.

  12. #87
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    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.

  13. #88
    Non-Member
    Join Date
    Aug 2007
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What actually is pear, what does it do?

  14. #89
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by TicTac View Post
    What actually is pear, what does it do?
    READ http://pear.php.net/manual/en/introduction.php

    Forgive the shouting...
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •