NYCPHP Meetup

NYPHP.org

[nycphp-talk] printer_list

Edgar Reyes ereyes at totalcreations.com
Wed Feb 5 00:24:15 EST 2003


well I don't know if this is what you are trying to achieve but why not just
use JavaScript you can you is a link or when the pages loads  with the!!!

<a href="#" onClick="javascript:window.print()"> Print</a>
----- Original Message -----
From: "Michael Welsh" <welsh_michael at hotmail.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Tuesday, February 04, 2003 7:18 PM
Subject: [nycphp-talk] printer_list


> 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
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>
>
>
>




More information about the talk mailing list