Cannot print images with Win32::Printer



Hi all,

I'm trying to use the Win32::Printer module to make my Perl program
capable of printing images (inline bitmaps and/or .bmp files). I've got
my code to the point of displaying the standard Windows "Print" dialog
box, but as soon as I click OK to print the image, I get the following
error:

"FreeImage is not supported in this build!"

According to the Win32::Printer documentation, bitmap support requires
that FreeImage.dll be "somewhere in your system path", so I downloaded
it from http://freeimage.sourceforge.net/download.html and tried it in
several directories on my path. Still no joy.

BTW, I'm running ActivePerl 5.8.7.815 in Windows XP, and I installed
Win32::Printer using ppm. Any ideas on how to get FreeImage supported?
Is there a better way to print bitmaps with Perl?

Thanks in advance,
Rob

.



Relevant Pages

  • Re: Bitmaps in ttk:: widgets?
    ... to support -image alone; and since images can do everything ... images natively, renders graphics as bitmaps, not images. ... Mac icons would be full 32-bit color with an alpha channel. ...
    (comp.lang.tcl)
  • Re: jpegs v bitmaps
    ... >Internet Explorer Saves Images As ... >Bitmaps (.bmp Files ... >Graphics Files in the Proper Format ... >Digital Image Support Center ...
    (microsoft.public.windowsxp.photos)
  • Re: Bitmaps in ttk:: widgets?
    ... support two colors) -- I'd have thought that the native ... It would appear that TkAqua interprets "bitmaps" differently ... different image type, but there's really no need to overload them into ...
    (comp.lang.tcl)
  • Re: How does a fix become a published patch?
    ... Doing the work on the VAX to fully support Write Bitmaps would have greatly ... Note, however, I said "active controller"; that does not mean that we'd ever ...
    (comp.os.vms)
  • Re: Bitmaps in ttk:: widgets?
    ... to support -image alone; and since images can do everything ... command in Tk-Cocoa, which allows Tk to access Mac icons and system images natively, renders graphics as bitmaps, not images. ... This would preclude the use of this command with ttk widgets, but as long as the traditional Tk label and button support bitmaps, then using this command is feasible. ...
    (comp.lang.tcl)