Results 1 to 3 of 3
  1. #1
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    AcroReader Command Line Switches (4 or 5)

    Does anyone know all the command line switches for Adobe's Acrobat Reader?

    I know "acrord32.exe /p somedoc.pdf" will open the pdf hidden from view and pop up a print dialog. I'd like to know if there's a switch that will just print without presenting the dialog.

    I'd like to know all the switches because I'm curious.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: AcroReader Command Line Switches (4 or 5)

    Hard to tease this info out of Adobe's site, but you could start here with /p and /t:
    How To: Batch Printing PDF Files

    To really talk to Acrobat Reader, you can avail yourself of DDE, which appears to be amply documented in:
    Acrobat Interapplication Communication Reference

    Or you can dig in for the long haul (10 MB!) with the API:
    Acrobat Core API Reference

    Have fun!

  3. #3
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: AcroReader Command Line Switches (4 or 5)

    Wow, great job. I was all over their sites, dev or otherwise. Nice hunting. I've even got the SDK on my PC and searched and searched.

    I test the /p and I still get the print dialog. I'll try /t next. Then on to the AVdoc object.

    You get a shiny gold star for this one: <img src=/S/trophy.gif border=0 alt=trophy width=15 height=15> (well, at least its gold)
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •