Open the pdf by a page predefined

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
Esgrimidor
User
Posts: 21
Joined: Sat Jul 16, 2011 11:06 pm

Open the pdf by a page predefined

Post by Esgrimidor »

Have line commands to open the pdf by a predefined page ?

not bookmark
number of page

is it possible ?

Best Regards
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8548
Joined: Wed Jan 03, 2018 6:52 pm

Re: Open the pdf by a page predefined

Post by TrackerSupp-Daniel »

Hello Esrimidor,

While I am not personally aware of any command line options to force a PDF to open to a specific page, so long as the document does not already have a page defined, it is possible to define a page in html links by adding #page=N, to the hyperlink, like so:

<A HREF="http://www.example.com/myfile.pdf#page=4">

This also works for UNC servers, so the following example would work too:

<A HREF="\\servername\folder/myfile.pdf#page=4">

I hope that this helps!
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
Ovg
User
Posts: 461
Joined: Tue Sep 05, 2017 4:56 pm

Re: Open the pdf by a page predefined

Post by Ovg »

Isn't this works?

from Viewer Help

PDFXCview.exe /A "page=nnn" mypdffile.pdf


Update:

I just tried this by myself and it's working like a charm! :mrgreen:
It's impossible to lead us astray for we don't care even to choose the way.
PDF-XChange PRO, 10.1.1 (Build 381) / W7 SP1 x64
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Open the pdf by a page predefined

Post by Will - Tracker Supp »

Thanks OVG! :D
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Esgrimidor
User
Posts: 21
Joined: Sat Jul 16, 2011 11:06 pm

Re: Open the pdf by a page predefined

Post by Esgrimidor »

It's working !

Thanks everybody

Best Regards
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17893
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Open the pdf by a page predefined

Post by Tracker Supp-Stefan »

:)
Post Reply