views:

945

answers:

3

We have a downloadable PDF file which looks great at 72% magnification in Adobe Reader and not so good at 101%. When downloaded and opened in the reader, its default magnification is 101%.

Is there a way to define the default magnification in the PDF file itself so that we ensure the best user experience?

Thank you!

A: 

First, this is a programming website, so you should identify a programming context. This question will probably be closed because it belongs on the soon to be launched serverfault.com

To set the default magnification, you need Adobe Acrobat Standard or Professional not Reader to have the ability to edit pdfs. Then when you open the document, click File | Properties. Click the Initial View tab and enter 72% in the magnification text box and click ok. Save your pdf and reopen it. It should default to 72% magnification when it is opened.

Note: I am unsure if other open source pdf editors provide this type of functionality.

Update: Standard doesn't work for saving magnifications.

daub815
Tried the procedure with Acrobat Standard and unfortunately the magnification level did not get saved. When opening the file, the document automatically adjusts to the adobe reader window size. The reader seems to default to Fit to window on open even when it's unselected at save time.
aaandre
That's weird you couldn't do it with Standard. I did test it with Professional and it worked, so I guess it only works with that. Sorry.
daub815
+2  A: 

An example of how to define magnification when opening a file (regardless of the default one):

AcroRd32 /A "zoom=50=OpenActions" sh.pdf
ldigas
Any advise on defining magnification for a downloadable file? Thank you.
aaandre
@aaandre - Uhmm, I'm not sure what you mean exactly. You mean like the above action but for files which are opened immediately when downloaded or .... ?
ldigas
+2  A: 

If you can control the URL used to download, you can put parameters in the URL to control how the built-in reader will display the file.

For example, http://example.org/doc.pdf#zoom=50

will set the magnification to 50%.

See http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf

--
bmb

bmb
Thank you, this is exactly what I needed.
aaandre