http://www.perlmonks.org?node_id=825002


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