Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Print PDF using Win32::OLE and Acrobat Reader

by kalyanrajsista (Scribe)
on Feb 24, 2010 at 06:22 UTC ( #825002=note: print w/ replies, xml ) Need Help??


in reply to Re: Print PDF using Win32::OLE and Acrobat Reader
in thread Print PDF using Win32::OLE and Acrobat Reader

I'm trying with the following program

#!c:/perl/bin/perl -w use strict; use Win32::API; my $filename = "foobar.pdf"; my $shellopen = new Win32::API("shell32", "ShellExecute", ['N', 'P', 'P', 'P', 'P', 'I'], 'N'); $shellopen->Call(0, "print", $filename, 0, 0, 0);

also, let me know if there are any issues/dependencies for the above program


Comment on Re^2: Print PDF using Win32::OLE and Acrobat Reader
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2014-07-25 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (174 votes), past polls