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 $d
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
Hi @ll,
I have problems with the Module Win32::Printer.
If I print a document with write and brush, how it make in the example,
I get an positve result.
Now, I will to print an image and I get an blanko paper. Where is my
mistake?
My code:
use Win32::Printer ;
$filename = &q
perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Jon Bjornstad
Sent: Saturday, February 21, 2009 11:51 AM
To: perl-win32-users@listserv.ActiveState.com
Subject: Win32::Printer???
In the activestate ppm repository at:
h
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
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 a sample script?) would be
In the activestate ppm repository at:
http://ppm4.activestate.com/idx/W3...WU.html
Win32::Printer is listed but it is not available for download.
The build logs show that there were fatal errors during the build
on 5.8 and 5.10.
If I simply want to send a plain text file to the default
> -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::Print
$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 n
[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 wit
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 pri
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 mul
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 carriage returns are. Can anyone help me out here?
##Sample Code##
use Win32::Printer;
my @array = keys %ENV;
print
19 matches
Mail list logo