Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Win32::OLE and Adobe Acrobat

by BMaximus (Chaplain)
on Jan 11, 2006 at 00:04 UTC ( [id://522356]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://522356]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-04-18 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found