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
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php