How to force open PDF in particular view? - pdf

I have few questions about it:
How to force pdf brochure open in particular view in browser? Is it possible? If not, how to do it in Acrobat Reader DC?
Thank you!

Not all PDF viewers, in-browser or otherwise, respect the "Initial View" settings. However, Acrobat Reader does. You can set the initial view, including page number, zoom level, page layout, and turn on or off some of the UI elements using the Initial View tab in the Document Properties dialog in the Acrobat Standard. Save the file with these properties and Acrobat Reader (and a few others) will respect them.

Related

Can I ask Acrobat Pro XI to open the PDF document through other applications?

As I need to read help-documentation for Stata, I need to set Acrobat as the default PDF viewer. However, compared to Sumatra, the main drawback is that I can no longer obtain the following menu.
Is there a way to create such menu-entries in Acrobat, so that I can open other PDF editors from Acrobat? The use-case is: first, have Stata open the help-file correctly in Acrobat; and in Acrobat, with this file under view, open the same file (and show the same page, at best) in an external PDF viewer.
Is there a way to create such menu-entries in Acrobat, so that I can open other PDF editors from Acrobat?
No. Acrobat does allow menu items to be added via folder level JavaScript but you can't use it to launch other applications in that way. You can cause PDF files to open, but they'd get opened by the default viewer... which is Acrobat... and defeats your purpose.

Use Adobe Reader to open a PDF from own app using WebViewController

In my iPad app, I have a button that opens a document using a WebViewController to view the file.
For certain PDF documents that were viewable in iOS4, opening them on iOS5 now crashes the app. The same thing happens in Mail if I try to view these PDF documents that are attached to emails. However, if I tap and hold in Mail and select "Open with Adobe Reader," the document opens successfully.
Is there a way to change what is used to generate the view of the PDF in the WebViewController to use the Adobe Reader viewer, rather than the native PDF viewer?
I would like to do this directly within the same WebViewController, rather than using a UIDocumentInteractionController popover that shows the "Open in Adobe Reader" prompt.
To my knowledge the only way to do this would be if the Adobe Reader had a custom URL Scheme. You could 'intercept' the URL with a PDF extension and re-craft the URL to use the URL Scheme. However, to my knowledge Adobe Reader doesn't provide this URL scheme.
That being said, you can give the user the option to open files with a viewer of their choice (if they save it locally). If Adobe Reader is registered to open PDF files (and I'm sure it is) then you can create an 'Open With' button to determine how it should be opened. It will show all programs that can open a PDF file. For more information on this, check the Apple documentation:
http://developer.apple.com/library/ios/#documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/RegisteringtheFileTypesYourAppSupports.html#//apple_ref/doc/uid/TP40010411-SW1

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.

Jasper report: disable pdf toolbar when generating a pdf

Is it possible to disable the pdf toolbar when generating a pdf from a Jasper Report?
Is your PDF being opened by an external PDF Reader, like Adobe or Foxit?
If so, then I don't think so, this is the toolbar of the application itself.
On the other hand you can use PDF Viewer, a viewer that comes integrated with JasperReports. This one you can control. But then you will limit the user if he wants to do anything with the PDF.
In my own experience, I way keep it. If you remove it, the customer will soon ask for tools to zoom in and out, and maybe even to annotate.

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

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.