Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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

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 making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-10-01 18:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (4 votes). Check out past polls.