From: "R.MURUGAVEL" <[EMAIL PROTECTED]>
> I am new to this group, I have one problem that is how
> to print pdf files to the particular printer installed
> our system/network systems.
>
> If any one helps me a very great help for me urgent
> Pl?
This print the file on command line:
print /d:"\\czfiles\HP4200 PCL" c:\boot.ini
So just call something like this by system() or `` and it should
work.
Or try this:
open OUT, '>\\\\czfiles\HP4200 PCL'
binmode OUT;
print OUT $the_data;
close OUT;
If neither of these works correctly try to run the Acrobat Reader and
instruct it to print the document:
"C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe" /p /h
"<filename"
Not sure how to specify other than the default printer.
Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>