ok, i am trying to exec the following command.
the server has w2k,iis,php4.0.x
cmd /c echo "this is a test, this is a test of the printing system..." >\xxx.xxx.xxx.xxx\myprinter
the above command works fine on my local machine and my printer will print the message
but when i try to run it in php like below. i get no errors, and it doesn't print. i know the printer is set up on the php server.
$cmd="cmd /c echo \"this is a test, this is a test of the printing system...\" >\\\\xxx.xxx.xxx.xxx\\myprinter";
exec($cmd,$results);
any ideas?