Print A Pdf File With Commander 关注

0
Avatar
Legacy Poster

Hi,

 

I try to print directly a PDF File that i put in my scan directory.

The detection is OK but the print don't start.

 

I don't use BTW file or triger file name because my PDF File is already generate.

Do you have any ideas ?

 

Thanks,

Jeremy

 

3 评论

0
Avatar
Ian Cummings
版主
评论操作 固定链接

Use an "Operating System" command type to run a command line on AcroRd32.exe which is the Adobe Reader executable, providing the "%Trigger File Name%" Commander variable to insert the path and filename of the PDF you want to print.  Search "Adobe Reader command lines" for help on how you go about formulating such command lines.

0
Avatar
Legacy Poster
评论操作 固定链接

Hi Ian,

 

Thanks for your time.

 

I tried : 

 

$execString = "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe  /t %Trigger File Name%";
shell_exec($execString);
 
But my command is not recognized  :(
 
I don't understand how to use Adobe command and Commander command at the same time  :huh:
0
Avatar
Ian Cummings
版主
评论操作 固定链接

The command should call AcroRd32.exe directly like in the below StackOverflow article: 

 

http://stackoverflow.com/questions/619158/adobe-reader-command-line-reference

请先登录再写评论。