RE: [perl-win32] RE: Win32::Printer - Multiple Line Output

2006-06-12 Thread Jack D.
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Robert May > Sent: June 8, 2006 6:54 PM > To: perl-win32-users@listserv.ActiveState.com > Subject: Re: [perl-win32] RE: Win32::Printer - Multiple Line Output > >

Re: [perl-win32] Re: Win32::Printer - Multiple Line Output

2006-06-08 Thread $Bill Luebkert
Robert May wrote: > $Bill Luebkert wrote: > >>Timothy Johnson wrote: >> >> >>>Maybe try /r/f instead of /r/n? >> >>I'd just use \n which should be output as \r\n if you haven't use binmode. > > > I doubt it. The Win32::Printer::Write() method calls the Win32 API > directly (TextOut() OR Draw

Re: [perl-win32] Re: Win32::Printer - Multiple Line Output

2006-06-08 Thread Robert May
$Bill Luebkert wrote: Timothy Johnson wrote: Maybe try /r/f instead of /r/n? I'd just use \n which should be output as \r\n if you haven't use binmode. I doubt it. The Win32::Printer::Write() method calls the Win32 API directly (TextOut() OR DrawText()). There's no PerlIO layers anywher

Re: [perl-win32] RE: Win32::Printer - Multiple Line Output

2006-06-08 Thread Robert May
Try using 'Draw Mode' (DM) rather than 'String Mode' (SM) - that means using the $height = $dc->Write($text, $x, $y, $width, $height, [$format, [$tab_stop]]); form of the Write() call. Rob. Jack D. wrote: -Original Message- From: Timothy Johnson [mailto:[EMAIL PROTECTED] Sent: June