Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Acrobat readed command line switches

Posted on 1998-08-19
1
Medium Priority
?
234 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…

671 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