shell_exec メソッド内のコマンドは、明らかにコマンド ラインで機能します。この方法を Web サーバーで試しましたが、うまくいきません。これをトリガーする方法に関する追加の構文はありますか?
echo shell_exec("'C:\Program Files\Adobe\Reader 10.0\Reader>AcroRd32.exe' /t C:\Documents and Settings\cgcuser\My Documents\Downloads\Documents\sample.pdf \\myserver\myprinter");