A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

April 3, 2013

Sending fpdf labels to a zebra label printer

I've written a web driven app, and it creates labels with fpdf (outputs a pdf file). I want to send that file to a lpd printer (Xebra 110XiIIIPlus) attached to a netgear print server. I'm able to drop print jobs at a shell prompt using "cat 2013-03-26T15:56:56-04:00.pdf | lpr -#1 -h" with varying amounts of success based on driver options. I need to be able to specify the options from php (paper size, margins, orientation, number of copies, etc.). Any ideas?

Click Here!