Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Acrobat readed command line switches

Posted on 1998-08-19
1
Medium Priority
?
236 Views
Last Modified: 2013-12-03
I know this may not be the right place, but anyway.

Acrobat Reader 3 under Windows 95/98

I need to print pdf documents from a command line without any user intervention.

So far I've worked out that:

'acrord32.exe /p c:\name.pdf' will print a document but ask for confirmation of print, where as:

'acrord32.exe /p /h c:\name.pdf' will automatically print a document then close said document, but...
it doesn't 'shrink to fit' even if this is previously set, can someone tell me if this is possible and what the other command line switches are.

Thanks,
Antony
0
Comment
Question by:antony061897
1 Comment
 
LVL 8

Accepted Solution

by:
Answers2000 earned 200 total points
ID: 1413672
There doesn't appear to be a description of the command line switches anywhere I can find.

You can change the behaviour of the Acrobat reader considerably by writing to the Acroread.ini file (e.g. using WritePrivateProfileString) before kicking it off.

I couldn't find an INI documentation for Acrobat 3, but documentation for v2 is at
http://www.adobe.com/supportservice/custsupport/SOLUTIONS/2af2.htm
And it seems to be similar (2 seems to mostly be a subset of my v3 INI file).

Looking in AcroRead.INI (v3)there is an item called ShrinkToFit under [AdobeViewer], trying setting this to 1 (it's 0 on mine), this isn't documentated anywhere I know of, but I think will work.

All this is complicated but how many versions of Acrobat 3 are in circulation and poor documentation.

Good luck.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question