Printer functions and GD created image (Windows)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chuck Anderson

    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

    *************** **************
  • Erwin Moller

    #2
    Re: Printer functions and GD created image (Windows)

    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($imag ehandle, 'filenamehere.j pg');

    Regards,
    Erwin Moller

    Comment

    Working...