Printer Functions - print a file

Printer Functions - print a file

am 04.02.2007 02:18:51 von Chuck Anderson

I've scoured the php.net online manual and other notes about Printer
functions and do not see how I simply send a file to the printer using
the Printer functions.

Can anyone help?

(I can open my printer and print text to a page, but I do not see how to
simply print an existing file - a gif image file, in this case.)

Thanks in advance for any help.

--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Printer Functions - print a file

am 04.02.2007 15:11:30 von Stut

Chuck Anderson wrote:
> I've scoured the php.net online manual and other notes about Printer
> functions and do not see how I simply send a file to the printer using
> the Printer functions.

PHP cannot do this directly, it needs something that understand the
particular file type you're wanting to print. Your best bet is to find a
command line utility that can do what you need and call that from PHP.

-Stut

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php