Printer functions and GD created image (Windows)

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have created an image using GD lib and now I would like to print it  
using the Printer functions (on Windows XP).  Does anyone know how to  
write the image in memory to the printer (I assume I can use the Printer  

(Is there a method that involves saving it as a file first?)

 Chuck Anderson • Boulder, CO

Re: Printer functions and GD created image (Windows)

Chuck Anderson wrote:

Quoted text here. Click to load it


I do not know of anything about directly using a printer under PHP, but the  
saving of files is handled easily by the the PHP-image functions.
imagejpeg($imagehandle, 'filenamehere.jpg');

Erwin Moller

Site Timeline