Wx::Perl has very nice, liberally licensed Win32 pinting capabilities.
I haven't worked with Postscript or PDF from WxPerl, so I don't know what would be involved. Googling wxPerl print pdf turns up this post on the wxperl list.
Subject: Re: [wxperl-users] printing a
PDF from wxPerl Actions... From: Mark
Dootson ([email protected]) Date: Apr
5, 2007 5:02:40 pm
List: org.perl.wxperl-users
Hi,
After writing the last reply, a huge
kludge occurred to me that, as it
turns out, works just fine.
use Wx::ActiveX::IE pass it the URL of
your pdf, and print merrily. e.g.
my $obj = Wx::ActiveX::IE->new( $frame, -1, wxDefaultPosition, wxDefaultSize );
$obj->LoadUrl("file:///C:/mytest.pdf");
$obj->Print(0); # for no print dialog
$obj->Print(1); # for print dialog
Of course, loading IE and the Acrobat
plugin may seem a little excessive
just to print a doc, but heck, this is
windows and four lines of code is
pretty impressive.
Mark
This command line program might be another option. I haven't tried it, and can't vouch for it, but it claims to work for printing postscript data to non-postscript printers.