An unofficial blog that watches Google's attempts to move your operating system online since 2005. Not affiliated with Google.

Send your tips to gostips@gmail.com.

November 2, 2009

Link to a Page in Google's Document Viewer

Google's Document Viewer lets you preview PDF files, PowerPoint presentations and TIFF files without installing additional software. It's great for linking to documents available online and for embedding them in a site.

If you want to link to a certain page from your document, adjust the URL. This is the link generated by Google for a PDF file:

http://docs.google.com/viewer?url=http%3A%2F%2Finfolab.stanford.edu%2Fpub%2Fpapers%2Fgoogle.pdf

To load a specific page in the document, you need to add a hash to the end of the URL. Page IDs are numbered sequentially like this: :0.page.0, :0.page.1, :0.page.2...

So to load page #15 of the document, use this link:

http://docs.google.com/viewer?url=http%3A%2F%2Finfolab.stanford.edu%2Fpub%2Fpapers%2Fgoogle.pdf#:0.page.14

The same trick works for the embedded viewer:

http://docs.google.com/viewer?url=http%3A%2F%2Finfolab.stanford.edu%2Fpub%2Fpapers%2Fgoogle.pdf&embedded=true#:0.page.14

{ Thanks, Andy. }

12 comments:

  1. I think your post above needs a correction.

    0.page.0, :0.page.2, :0.page.3...

    should read:

    0.page.0, :0.page.1, :0.page.2...

    ReplyDelete
  2. It doesn't work anymore... Is there any update?

    ReplyDelete
  3. Google viewer is a life saver. I find myself many times working from different laptops where I don't have office, and it's really great you can open your word document practically from any computer with G viewer.

    ReplyDelete
  4. +1 to stanza237's comment from way back when. I'd LOVE to use this feature, but it seems like it's no longer working. Any word? Thanks!

    ReplyDelete
  5. Doesn't work! Google fix this!!!!!!!

    ReplyDelete
  6. Today you can use #:r.page.0 (first page) and so on..

    ReplyDelete
  7. Thanks Anonymous! #:r.page.0 (first page) and so on... is working still as of Jan/2012

    ReplyDelete
  8. I think this method(#:r.page.0 (first page) and so on) is not working anymore :S

    ReplyDelete
  9. #:r.page.0 : not working when embedding is true

    ReplyDelete
  10. https://docs.google.com/viewer?url=http%3A%2F%2Finfolab.stanford.edu%2Fpub%2Fpapers%2Fgoogle.pdf#:r.page.10
    Works on IE and Chrome and show page 11
    If it can help.

    ReplyDelete
    Replies
    1. Does't work unfortunately :(

      Delete
  11. None of these work!!

    ReplyDelete