Re: Win32::Printer print image

2009-08-18 Thread Ed Zarger
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

Re: Win32::Printer print image

2009-08-13 Thread Ed Zarger
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

Win32::Printer print image

2009-08-13 Thread Goerres, Mario
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

RE: Win32::Printer???

2009-02-23 Thread Ken Cornetet
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

Re: Win32::Printer???

2009-02-21 Thread Justin Allegakoen
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

Win32::Printer???

2009-02-21 Thread 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 a sample script?) would be

Win32::Printer???

2009-02-21 Thread Jon Bjornstad
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

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::Print

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 n

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

2006-06-08 Thread Robert May
[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&#x

RE: Win32::Printer - Multiple Line Output

2006-06-08 Thread Timothy Johnson
-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

RE: Win32::Printer - Multiple Line Output

2006-06-08 Thread Jack D.
> -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.

Re: Win32::Printer - Multiple Line Output

2006-06-08 Thread $Bill Luebkert
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

RE: Win32::Printer - Multiple Line Output

2006-06-08 Thread Timothy Johnson
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

RE: Win32::Printer - Multiple Line Output

2006-06-08 Thread Jack D.
> -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

Re: Win32::Printer - Multiple Line Output

2006-06-08 Thread Chris Wagner
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

RE: Win32::Printer - Multiple Line Output

2006-06-08 Thread Timothy Johnson
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

Win32::Printer - Multiple Line Output

2006-06-08 Thread Jack D.
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