There may be a better way, but here are two possible ways:
### THIS WILL BRING UP THE SAME PRINT WINDOW AS USED BY WEB BROWSER
$dll = "$ENV{'WINDIR'}/System32/mshtml.dll";
system("rundll32.exe $dll,PrintHTML $file");
-OR-
### THIS MAY OR MAY NOT GIVE THE BEST RESULTS
system("copy $file \\\\ServerName\\PrinterName");
Good luck.
-----Original Message-----
From: Cruickshanks, Darin [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 24, 2003 11:12 AM
To: Perl-Win32-Gui-Users; [EMAIL PROTECTED]
Subject: [perl-win32-gui-users] Perl and printing
All,
I have a Perl application that uses Win32::GUI to provide a nice front end
for a database, what I would really like to do is provide a print feature
with the ability to print to a network printer through the gui. Does anyone
know of any way to do this?
Cheers,
Darin
--------------------------------------------
Darin Cruickshanks
Labs Manager, Computing Service
University of Essex
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
01206 873585