in reply to Re: Win32::OLE and Adobe Acrobat
in thread Win32::OLE and Adobe Acrobat

I've used this module and it looks like this is the best way to do what I need to do. The problem is getting the PDF to print on its own without the user having to open the file and print it. I've looked in to Win32::Printer but unfortunately it looks like the ppm from ActiveState is corrupted. It wont install. I tried downloading it from CPAN and installing it using nmake but since I don't have a compiler it blows up. Wasx.net looks like its dead so I can't get it from there either.

BMaximus

Replies are listed 'Best First'.
Re^3: Win32::OLE and Adobe Acrobat
by runrig (Abbot) on Jan 11, 2006 at 04:39 UTC
    Do you need to create pdf files or just print them (it sounds like you have the first covered and are just wondering about the second)? If you just need to print it then the the first reply had the answer:
    AcroRd32.exe /t path "printername" "drivername" "portname" Initiates Adobe Reader and prints a file, whose path must be fully spe +cified, while suppressing the Print dialog box.

    I know it's not OLE, but it ought to work :-)

    Also, there's another version of the Win32::Printer ppm in the Kobes repository.