On another forum I saw someone give a great answer but I lost the email.
They showed how to use a Windows DLL to do this with the system command.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jens Luedicke
Sent: Monday, January 31, 2000 4:38 PM
To: [EMAIL PROTECTED]
Subject: Re: [perl-win32-gui] dump something to a local printer
Hi there ...
I solved my problem...
sub Print_Click {
$Editor->Save("print.tmp", "1");
system("copy", "print.tmp lpt1");
unlink("print.tmp");
}
But I think that this "solution" isn't that perfect....
> Hi there ...
> How can I dump the contents of a RichEdit Window to
> a local printer connected to the LPT1 Port ??
> with friendly regards....
> Jens Luedicke <[EMAIL PROTECTED]>
with friendly regards....
Jens Luedicke <[EMAIL PROTECTED]>