Aller au contenu principal

Recherche

Recherche

Print A Pdf File With Commander

Commentaires

3 commentaires

  • Avatar
    Ian Cummings
    Modérateur

    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
    Modérateur

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

     

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

    0

Vous devez vous connecter pour laisser un commentaire.