Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome: how to open a local pdf on a specific page

For an online pdf I can simply add #page=10 after the url to open the pdf on the page 10.

But this doesn't work for local pdf. [2020 edit: this is now working for local pdf also cf. the selected answer]

Let's say I open this url file:///C:/Users/Me/Desktop/My%20Documents/textbook.pdf in chrome. If I add #page=10 at the end of the link (the pdf has more than 50 pages), then chrome returns this error:

Your file was not found It may have been moved or deleted.
ERR_FILE_NOT_FOUNDthis url 

Also Chrome change the url (cf My%2520Documents): file:///C:/Users/Me/Desktop/My%2520Documents/textbook.pdf%23page=10

like image 890
MagTun Avatar asked Mar 01 '19 14:03

MagTun


People also ask

How do I open a PDF in a specific page?

Open a PDF file to a specific page To target an HTML link to a specific page in a PDF file, add #page=[page number] to the end of the link's URL.

How do I change where PDF opens in Chrome?

Type or paste chrome://settings/content into address bar. A pop-up labeled "Content Settings..." will open. Scroll down to the bottom to "PDF Documents" Select or deselect the check box labelled "Open PDF files in the default PDF viewer application"

How to open a PDF file at a specific page?

Create URL to Open a PDF File at a Specific Page 1 A destination is the end point of a link represented by text in the Destinations tab. 2 To set a destination in Acrobat 7.0 (Professional or Standard)... 3 Set the Zoom and page location to the way you want it on the screen. 4 Select View > Navigation Tabs >... See More....

How to open Google Drive synced PDF files on local machine?

I've found a workaround by opening the locally Google Drive synced PDF directly in a Chrome based browser. Sync Google Drive files with local machine. Secondary click the local file > Select Open With > Choose Chrome or a Chrome based browser to open the file.

Can I open PDF documents in Google Chrome?

Whether you want to break away from your PDF readers or just prefer the convenience of Chrome - good news, you CAN open PDF documents in Chrome. You can also set it as your default PDF viewer if you want to view PDF documents as quickly as possible.

How do I make an HTML link open a PDF file?

You can add a string into the HTML link so a PDF file opens and jumps to a specified page or set destination. To use either of these two methods, do the following: To target an HTML link to a specific page in a PDF file, add #page= [page number] to the end of the link's URL.


1 Answers

For my Chrome(Version 83.0.4103.116 (Official Build) (64-bit)) It works with #page=number, if I open a new tab and paste the link: file:///D:/test.pdf#page=5 Chrome will open the pdf at page 5.

like image 62
Yang Jk Avatar answered Sep 28 '22 05:09

Yang Jk