Connecting Tech Pros Worldwide Help | Site Map

Printer functions and GD created image (Windows)

 
LinkBack Thread Tools Search this Thread
  #1  
Old January 17th, 2007, 10:05 PM
Chuck Anderson
Guest
 
Posts: n/a
Default Printer functions and GD created image (Windows)

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
*****************************

  #2  
Old January 18th, 2007, 08:55 AM
Erwin Moller
Guest
 
Posts: n/a
Default Re: Printer functions and GD created image (Windows)

Chuck Anderson wrote:
Quote:
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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.