Open at specific page?

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

terrypin
User
Posts: 14
Joined: Tue Oct 05, 2010 12:58 pm

Open at specific page?

Post by terrypin »

Hi,

First post here, although I've been using the excellent PDF-XChange Viewer for a long time.

Is it possible to open a PDF at a specified page please? (Iinstead of the page being viewed when it was last closed.)

For example, can I append something to a shortcut like this
C:\Docs\My PC Library\User Guides\MAGIX\MEP16 Plus Manual.pdf
to get page 156 viewed immediately?

Or perhaps with an entry in the XP Run box, or at a command line?

--
Terry, East Grinstead, UK
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7445
Joined: Wed Mar 25, 2009 10:37 pm

Re: Open at specific page?

Post by Paul - PDF-XChange »

Hi terrypin,

you can send the page number you wish to open at in the command line. Take a look at pages 16~18 of the PDF-XChange Viewer manual. They describe the command line switches available. On page 17 is are details of the /A switch that can be used for opening at a specified page:

General usage: PDFXCview.exe [command] [filename1] [[filename2] [… [filenameN]]]
/A is defined as: /A "param=value [&param2=value [&...]"

/A
page=<page_number>
zoom=<scale>[,<left>][,<top>]
view=<keyword>[,<position>] Fit FitB FitH,top FitV,left FitBH,top FitBV,left
viewrect=<left>,<top>,<right>,<bottom>
pagemode=bookmark|thumb|none

An example from the manual: PDFXCview.exe /A "page=10&zoom=200,,500" mypdffile.pdf

All this is available through The Viewer help menu "Help --> Contents"

If you want to specify a particular page to open to every time you can set that within the Viewer by changing the document properties:
File --> Document Properties --> Initial View --> Layout and Magnification --> Open to Page [page number]
Do note that if you have selected in your preferences the option to restore last view it will over-ride the document properties page number.

I hope this helps.
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
terrypin
User
Posts: 14
Joined: Tue Oct 05, 2010 12:58 pm

Re: Open at specific page?

Post by terrypin »

Many thanks Paul, very helpful.

--
Terry, East Grinstead, UK
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: Open at specific page?

Post by Stefan - PDF-XChange »

Kudos for Paul ;)

And glad that the advise helped you Terry!

Cheers,
Stefan