Problem printing on server side

From: Date: Fri, 23 Jan 2004 09:59:54 +0000
Subject: Problem printing on server side
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-22651@lists.php.net to get a copy of this message
Hi, Can print to a remote printer that is not connected to the server but in another computer. I use printer_list and i see the remote printer \\COMPAQ\Epson Stylus Color 900 ... $a=printer_list(PRINTER_ENUM_NETWORK | PRINTER_ENUM_REMOTE); ... The script stampa.php run and not give me any error only a warning: .... 10 $handle = printer_open("\\\\COMPAQ\\EPSON Stylus Photo 900"); 11 printer_write($handle, "Hi"); 12 printer_close($handle); ... Warning: couldn't allocate the printerjob [5] in d:\siti\ordinazioni\stampa.php on line 11 In the server (on the computer where there is the apache) I'm shared the remote printer My configuration is: Win Xp or Win 2000 apache 1.3.27 php 4.3.3 Thanks, Rino

« previous php.windows (#22651) next »