NYCPHP Meetup

printer_list

Michael Welsh welsh_michael at hotmail.com
Tue Feb 4 19:18:22 EST 2003


All,

I'm trying to send output directly to a printer without the user clicking 
File>Print on their browser.  I'm using PHP Version 4.2.2.

I've looked it up online 
http://www.php.net/manual/en/function.printer-list.php and even 'google'd 
it, but didn't find much.

Has anyone used this?  I couldn't get it to return anything on a windows or 
linux server running Apache:  var_dump( printer_list(PRINTER_ENUM_LOCAL | 
PRINTER_ENUM_NETWORK) );

Am I on the right track?  Any feedback would be great.

Michael

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail




More information about the talk mailing list