Page 1 of 1

get/set pdf page number

PostPosted: Mon Jul 22, 2019 6:06 pm
by RaelB
Hello,

As far as I can tell this does not yet exist. It would be useful to be able to get/set current pdf page number.

Thanks
Rael

Re: get/set pdf page number

PostPosted: Mon Jul 22, 2019 6:40 pm
by magreenblatt
Do you mean print a range of pages?

Re: get/set pdf page number

PostPosted: Sun Jul 28, 2019 10:12 pm
by RaelB
No. After a pdf file is loaded into the browser (from url), have the possibility to move to a certain page. The exact page number would be saved from a previous session.

In my application, the user can browse through a collection of pdf files. I would like to be able to move to the location they were last at for each pdf file.

Re: get/set pdf page number

PostPosted: Mon Jul 29, 2019 10:05 am
by magreenblatt
You can specify the page as part of the URL, for example https://pdfobject.com/static/.

Re: get/set pdf page number

PostPosted: Mon Jul 29, 2019 10:46 am
by RaelB
That is useful. But how to read what page the user is on?

Re: get/set pdf page number

PostPosted: Mon Jul 29, 2019 10:52 am
by magreenblatt
RaelB wrote:That is useful. But how to read what page the user is on?

That does not appear to be supported by the Chrome PDF viewer. One potential hack is mentioned here.