[nycphp-talk] printer_list
Michael Welsh
welsh_michael at hotmail.com
Tue Feb 4 22:36:07 EST 2003
Thank you for the swift response Matthew, but, maybe I wasn't clear. Or
perhaps you answered a little too swiftly.
As described:
<<< printer_list -- Return an array of printers attached to the server
Description
array printer_list ( int enumtype [, string name [, int level]])
The function enumerates available printers and their capabilities. level
sets the level of information request.>>>
I was hoping someone had some success with this and could share.
Michael
end of message --------------------------------
----Original Message Follows----
From: "CHUN-YIU LAM" <chun_lam at hotmail.com>
Reply-To: talk at nyphp.org
To: NYPHP Talk <talk at nyphp.org>
Subject: Re: [nycphp-talk] printer_list
Date: Tue, 4 Feb 2003 20:48:11 -0500
The reason you can not do this is simple. PHP runs on the server side not
client side.
Matthew
----Original Message Follows----
From: "Michael Welsh" <welsh_michael at hotmail.com>
Reply-To: talk at nyphp.org
To: NYPHP Talk <talk at nyphp.org>
Subject: [nycphp-talk] printer_list
Date: Tue, 4 Feb 2003 19:18:25 -0500
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
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
--- Unsubscribe at http://nyphp.org/list/ ---
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
More information about the talk
mailing list