By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,827 Members | 1,225 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,827 IT Pros & Developers. It's quick & easy.

Printer functions and GD created image (Windows)

P: n/a
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
functions)?

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

--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************
Jan 17 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Chuck Anderson wrote:
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
functions)?

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

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.
eg:
imagejpeg($imagehandle, 'filenamehere.jpg');

Regards,
Erwin Moller
Jan 18 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.