On Jun 22, 6:18 am, d...@perl.it (Aldo Calpini) wrote: > On 22.06.2011 05:11, Pilcrow wrote: > > > I want to print the file from my perl program without launching Adobe > > Reader. > > this PerlMonks post could be of help: > > http://www.perlmonks.org/?node_id=824842 > > basically, 3 different approaches are mentioned there: > > 1. use Win32::OLE > 2. use system() to invoke Reader (hint: add the /p parameter) > 3. use Win32::API and ShellExecute (that's basically the same thing as > right clicking on the file from the explorer) > > note that in all 3 cases Adobe Reader *is* launched, just not visible. > which also means it must be installed on the machine that has to print > the PDF, otherwise it won't work. > > hope this helps! > > cheers, > Aldo
After all my threshing around, you gave me the solution -- actually 3 solutions.. Thanks loads!