[nycphp-talk] printer_list

CHUN-YIU LAM chun_lam at
Tue Feb 4 20:48:08 EST 2003

The reason you can not do this is simple.  PHP runs on the server side not 
client side.


----Original Message Follows----
From: "Michael Welsh" <welsh_michael at>
Reply-To: talk at
To: NYPHP Talk <talk at>
Subject: [nycphp-talk] printer_list
Date: Tue,  4 Feb 2003 19:18:25 -0500
Received: from ([]) by with Microsoft SMTPSVC(5.0.2195.5600); Tue, 4 Feb 
2003 16:18:55 -0800
Received: from ( [])by (8.12.6/8.12.6) with ESMTP id h150IPoC038684for 
<chun_lam at>; Tue, 4 Feb 2003 19:18:52 -0500 (EST)(envelope-from 
null at
X-Message-Info: dHZMQeBBv44lPE7o4B5bAg==
Message-Id: <200302050018.h150IPoC038684 at>
X-Paralist-Archived: <>
X-List-Software: Paralist 0.6
List-ID: <>
List-Owner: <mailto:listmaster at>
List-Archive: <>
List-Subscribe: <>
List-Unsubscribe: <>
Organization: New York PHP
X-Mailer: Paramail 0.5
Return-Path: null at
X-OriginalArrivalTime: 05 Feb 2003 00:18:55.0452 (UTC) 


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 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 |

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


Tired of spam? Get advanced junk mail protection with MSN 8.

--- Unsubscribe at ---

Tired of spam? Get advanced junk mail protection with MSN 8.

More information about the talk mailing list