Since this discussion went off-list,
I'll summarize ...
The Win32::Printer module is available built with FreeImage, at the
bribes repository, at least.
Mario succeeded in printing a .jpeg using the $dc->Image command,
the 3 argument version.
I found that the 5 argument version of $dc->Image al
I don't have my code here now, but I know that Win32::Printer can work
well with .tif files.
In order to print a .tif file, you need the FreeImage.dll library
(freely available from sourceforge).
My first idea is that you may not have that, or your Win32::Printer may
not have been built with th
If memory serves, you can share the printer, then just treat it like a
UNC file path.
For example, if your computer is named FOGHORN and you share the printer
as LEGHORN, you can do this:
Open FILE, "foghorn\\leghorn"
Print FILE ...
Close FILE
-Original Message-
From: perl-win32-use
2009/2/22 Spencer Chase
>
> Greetings Jon et.al,
>
> I installed win32::printer using the graphical version of PPM. No
> problems installing but it looks like this module is way more than I
> need to just send plain text to a chosen printer, realtime. Any
> suggestions as to how to do this (maybe
> -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
>
>
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
$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
[EMAIL PROTECTED]
Sent: June 8, 2006 4:31 PM
To: Jack D.; perl-win32-users@listserv.ActiveState.com
Subject: RE: Win32::Printer - Multiple Line Output
Maybe try /r/f instead of /r/n?
I tried "\r\f" ( backslashes:-) ) with the same erroneous one-line result.
Any other ideas? So far I
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jack D.
Sent: Thursday, June 08, 2006 5:12 PM
To: 'Chris Wagner'; perl-win32-users@listserv.ActiveState.com
Subject: RE: Win32::Printer - Multiple Line Output
>
>
> That was th
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Chris Wagner
> Sent: June 8, 2006 5:08 PM
> To: perl-win32-users@listserv.ActiveState.com
> Subject: Re: Win32::Printer - Multiple Line Output
>
> Try it without the \r.
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'm trying to print multiple lines to Win32::Printer *without* using a
> temporary file. Everytime it mushes the data into one line with little
> boxes
> being pr
Out of curiosity, why are you printing directly to the printer?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Timothy Johnson
Sent: Thursday, June 08, 2006 3:31 PM
To: Jack D.; perl-win32-users@listserv.ActiveState.com
Subject: RE: Win32::Printer
> -Original Message-
> From: Timothy Johnson [mailto:[EMAIL PROTECTED]
> Sent: June 8, 2006 4:31 PM
> To: Jack D.; perl-win32-users@listserv.ActiveState.com
> Subject: RE: Win32::Printer - Multiple Line Output
>
>
> Maybe try /r/f instead of /r/n?
>
I
Try it without the \r. PerlIO should supply it as needed. Just use \n.
At 03:55 PM 6/8/2006 -0600, Jack D. wrote:
>I'm trying to print multiple lines to Win32::Printer *without* using a
>temporary file. Everytime it mushes the data into one line with little boxes
>being printed where the carriag
Maybe try /r/f instead of /r/n?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jack D.
Sent: Thursday, June 08, 2006 2:55 PM
To: perl-win32-users@listserv.ActiveState.com
Subject: Win32::Printer - Multiple Line Output
I'm trying to print multiple line
15 matches
Mail list logo