I am using strawberry perl 5.12.1.0 on top of Windows 7, sp1. I have a perl program that produces a pdf file, using PDF::Create, I want to be able, using the same program, to print that file. I know that I can launch Adobe Reader to view the file, using <system "/ Progra~2/Adobe/Reader~1.0/Reader/AcroRd32.exe $outfile";>, and then to print it, from Adobe's window.
I want to print the file from my perl program without launching Adobe Reader. I note that the file can be printed from within windows explorer by right clicking on the file and choosing print. How can I do the same thing from within perl? I would like to be able to print any file that I can print from the windows explorer window. I realize that this may not be the most appropriate forum, but I don't know a better one, so please don't be rough with me. And thanks in advance.