printing a pdf file from php

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Hello, I need some help with printing pdf files through php.  I have a
script that will create many pdf files but I want them printed.  I
found this program to print pdf from the command line from,52
and it works fine when I do the command

C:\pdfp -p "\computer\LaserJet" "C:\Program

through start->run but when I try to do it through php using

function print_file($filename) {
     $adobe_path='C:\pdfp -p "\computer\LaserJet"';
     $output = shell_exec($adobe_path.' "'.$filename.'"');
     echo $output;


I get this for the output:
Printer: "\rzfarrell\LaserJet" Printing: C:\Program
Files\xampp\htdocs\weeklyhomebuyers\temp\invoice4.pdf 1 File(s) Printed

but nothing happens. Anyone have any ideas?

Site Timeline