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?