Is it possible to have a PDF file open at a predefined magnification in Adobe Reader? - pdf

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!

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: https://www.evermap.com/AutoBookmark/Manual/OpenParameters.htm
The above applies to the built-in reader supplied by Adobe. Other readers may not honor the parameters. In particular, see the answer to this question regarding Chrome.

An example of how to define magnification when opening a file (regardless of the default one):
AcroRd32 /A "zoom=50=OpenActions" sh.pdf

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.

For Adobe Standard, go to "Edit" then "Preferences."
When you click on the "Page Display" tab on the left, you'll see a panel with a field called "Zoom," where you can select a percentage from a drop-down menu.

If the above suggestions are not working it may be because the bookmarks can contain zoom instructions in their properties. To look at the bookmark properties select a bookmark in the bookmark panel and right click it to open properties. Choose actions. There should be a description of actions that will be applied when clicking on the bookmark.
The best solution I have found is that you can add a subsequent property for zoom instructions that will execute following the initial one, and set the page zoom to your specifications. To do this, select all of the bookmarks, right click to open properties, then actions, then choose the add function. After choosing add, find the zoom instruction that is the best fit for what you are looking for.
If you want to edit the initial zoom instruction through the edit function in bookmark properties on all bookmarks, you cannot select all, because, although the zoom will be set correctly, every bookmark will be set to one bookmark page. If you wish to edit the properties this way you must edit each, one by one.

Related

Extract PDF coordinates using mouse click

I want to extract the coordinates of a PDF document with the help of a mouse click. I have gone through some posts but since I'm new to this, I'm not being able to understand it properly. Also, can this be done if I render the PDF file in a web page?
You can add javascript to a pdf document. Although you only get access to a limited subset of the language.
If you only need the coordinates once (for instance when doing layout of the document), you can simply open it with adobe and activate the rulers/grid option to see where your mousepointer is currently located.

UI mock-up in PDF

I want to do a mock-up GUI within a pdf file. Basically, it's a series of pages. If you click button A on a first page, for example, it goes to the third page, if you click button B, it goes to the second page, etc. I want to know if there is tutorial, video for this and what software should I use?
Thanks.
If you have Acrobat (not reader -- standard or professional), creating clickable links within PDFs is as simple as click and drag. E.g. as documented here:
http://www.webmasterworld.com/graphics_multimedia/3439118.htm
"You need the full Standard version of Acrobat or better, go to tools->Advanced Editing->Link tool. Draw a rectangle around the text to link and it will prompt you for link options (in-document, web URL, link colors, etc.)"
The pdf requirement is an odd one and will make this difficult. If you are just looking for a mockup GUI there are better ways to do it!
Here's a free one:
http://www.10screens.com/
Here is a popular one:
http://www.balsamiq.com/
And here is a previous question on this that you might find useful:
https://stackoverflow.com/questions/156755/tools-for-creating-a-user-interface-prototype
Good luck!
Create your GUI mockups with MockupUI and export the designs to a PDF document, one screen per page. Then you can open it in Acrobat and add page links.

Can I hide the Adobe floating toolbar when showing a PDF in browser?

I am generating a PDF document and displaying it in a Web browser (current version of IE is most important target). I want to suppress the floating toolbar (see below) that appears and disappears depending on mouse movement.
Is there a way to suppress this? I can control the PDF document (it's built using itextpdf), as well as the Url.
I think that is the preference of the user.
What you can do is to add #toolbar=0 to the end of the URL.
For example,
http://DOMAIN/FILE_NAME.pdf#toolbar=0
Something you might want to do is:
<embed src="MyFile.pdf#toolbar=0&scrollbar=0&navpanes=1" width="530" height="300" />
For details of parameters, please visit PDF Open Parameters.
What you're looking for isn't possible.
Read the answer by Leonard Rosenthol (Adobe's PDF architect) on the iText mailing list: http://thread.gmane.org/gmane.comp.java.lib.itext.general/55112/focus=55120
Since version X of Adobe Reader, there is a new mode called "Read Mode",
which is the default viewing mode when you open a PDF in a web browser.
In "Read Mode" you can find a semi-transparent floating toolbar containing
basic reading controls, such as page navigation, print and zoom.
Unchecking "Display in Read Mode by Default" can be done from Edit > Preferences > Internet
in Adobe Reader X but it there is no way to disable "read mode" programmatically.
This the way:
myPdfView.put_src("D:\Recomendations.pdf#toolbar=0&navpanes=0&scrollbar=0");
You are welcome...

Making a button in indesign go to a specific page in exported PDF

In InDesign I can define buttons and can add different actions to them. One of these actions is "go to page", but apparently that function is only usable when exporting the InDesign document as an SWF. However, we want to export an interactive PDF.
When we open the exported PDF in Adobe Acrobat Professional we can touch up each and every button in the document and set the page to the page we want, but this is of course extremely tedious work, especially when you have several proving runs.
So, my question is: how do I get my buttons in InDesign to jump to a specific page without having to do the touch up late in Adobe Acrobat Professional? Surely it must be possible to navigate between pages?!
I stumbled on this issue a while back too, and i figured out how to link to a place in an interactive PDF document via Buttons:
1) Create Bookmarks on the pages you want to link to. (I usually make a text in the top of the page in 'paper color' and create a bookmark from that)
2) Button action "Go to destination" -> Bookmark
Hope this helps...
Make a box in inDesign.
Select the box.
Open Hyperlink panel
"Create a hyperlink destination" I use the page number
Then go to the page in your inDesign document where you want to make the button.
Make a box and select it
Open hyperlinkpanel "Make hyperlink" and choose the destination you made using the pulldown (not the page number counter, that didn't work for me).
interactiv->Hyperlink and You choose "New Hyperlink destination" from menu in top-right dropdown menu. And choose page.
I tried sometime but now i know the deal (on CS5 on Windows). I only have the German version so maybe i´ll label some things wrong:
When you create your button and determine the "action" you´ll get a list with available options. Here the upper options work in PDF and SWF, but some options are available "only in swf" and "only in pdf.
"Go to a certain page" is not available in PDF :(
So you have to edit the document via Acrobat.
Another thing: When writing an interactive pdf-file use the option "Export..." under "File", here you chose "Adobe PDF (Interactive)" under filetype.
Maybe (as a thought) there is a way to use Javascript in InDesign and/or Acrobat to assign the buttons automatically.

Customize PDF view inside a browser

I've worked on a requirement that allows me to show a PDF file inside a browser by doingo a Response.ContentType = "application/pdf".
The problem is that the default view of the PDF is always showing the bookmarks menu at the left, is there a way by using HTTP headers or something to tell the PDF viewer not to show the bookmarks section?
Thanks in advance.
There's two ways that you can do it. The way that I would recommend is to actually open the PDF in Adobe Acrobat and go to File, Properties. On the Initial View tab you'll see a lot of options for how to display the PDF. The second way I haven't tested but Adobe says you can pass various querystring options to the PDF. The one you'd probably want is http://example.org/doc.pdf#pagemode=none
The way how a PDF document is displayed can be configured inside the PDF document.
There are a lot of PDF editors that can modify the "viewer preferences" as it is mostly called. One free example is BeCyPDFMetaEdit.