Using PHP to Print Labels

Discussion in 'PHP' started by ProtegeSales, Feb 12, 2010.

  1. #1
    I am working with an Order processing script. I don't need someone to do the work for me, but rather point me in the right place to find a resource to learn from. I have searched Google, but nothing is definitive.

    It doesn't matter how applicable it is to my Application. I can generally clone it by reverse engineering techniques, but in this case I can't get it - I don't even know where to start.
     
    ProtegeSales, Feb 12, 2010 IP
  2. systematical

    systematical Peon

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have done this at work, please review

    http://blog.cnizz.com/2009/07/23/ad...fault-printer-and-firefox-command-line-print/

    Your other option is a perl script called html2ps which converts HTML to post script. I migrated our batch printing away from html2ps because html2ps is slow and has poor CSS support. Let me know if this works or if you have questions.

     
    systematical, Feb 12, 2010 IP
  3. ProtegeSales

    ProtegeSales Guest

    Messages:
    88
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you. I'll let you know how it goes. :)
     
    ProtegeSales, Feb 12, 2010 IP
  4. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #4
    fpdf is the way to go. Won't be simple but you will be able to have total control over the appearance and positioning of your labels.
     
    SmallPotatoes, Feb 13, 2010 IP