If you are on a linux box with lpr [1] running you could try a
shell_exec() in combination with imagemagick
[1] http://tldp.org/HOWTO/Printing-Usage-HOWTO-2.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greetings, "Kyle Terry".
In reply to Your message dated Thursday, October 23, 2008, 15:32:07,
> I'm stuck... What is the best way to send a jpg to a printer with PHP? Looks
> like it is only working with png and bmp...
Example?
--
Sincerely Yours, ANR Daemon <[EMAIL PROTECTED]>
--
PHP Gener
>>Hm, it could be that IE tries to reload the picture (which isn't there
>>anymore because the form-data has been expired). Perhaps saving the
>>picture temporarly on the server will prevent the problem.
>>
>
>That could be what is happening. I'm generating data for students to
>analyze on one pa
>To: [EMAIL PROTECTED]
>Message-ID: <[EMAIL PROTECTED]>
>Date: Fri, 25 Jan 2002 16:20:57 +0100
>From: Martin Thoma <[EMAIL PROTECTED]>
>MIME-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>Subject: Re: Printing JPEG images generated with ImageJPEG with IE
Hm, it could be that IE tries to reload the picture (which isn't there
anymore because the form-data has been expired). Perhaps saving the
picture temporarly on the server will prevent the problem.
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTEC
5 matches
Mail list logo