跳至主內容

搜尋

搜尋

Print A Pdf File With Commander

評論

3 條評論

  • 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

    0

登入寫評論。