Skip to main content
This script works like a screenshot capturing all pdf pages to bulk of images with better resolution quality and combine it all into one pdf file.
Big-Note: Use this script wisely!
Below Are few Methods to download the View Only PDF

Method #1

How to use Method #1

  1. Open the PDF from Google Drive,
  2. Click Preview,
  3. Then on top right page click on three vertical dots menu -> Open in new window,
  4. Scroll down pdf to end of content and make sure all of content is loaded,
  5. Inspect element your browser and go to console tab,
  6. Type allow pasting and press ENTER, if you are using Chrome and cannot paste any code directly in the console tab,
    Allowpasting
  7. Copy and paste Method #1 on console tab\

Method #2

How to use Method #2

Use this method only for PDF with less than 20 pages, if you experience any errors or slow down then follow Method 1

  1. Open the PDF from Google Drive,
  2. Click Preview,
  3. Then on top right page click on three vertical dots menu -> Open in new window,
  4. Scroll down pdf to end of content and make sure all of content is loaded,
  5. Inspect element your browser and go to console tab,
  6. Type allow pasting and press ENTER, if you are using Chrome and cannot paste any code directly in the console tab\
    Allowpasting

Tips for Method 2

  • You should give a custom file name by changing the place holder “Document” to “Cool_File_Name” in “Method_2_Script.js”. Do not include “.pdf” file extension along with the document name here!
Change to this
  • By default this script will download PDF file with the highest quality available, but just in case if you need even better quality simply zoom in your browser (eg: 130% to 150%) then follow the above steps to download. If you increase the zoom level more than 150% will struggle to generate the PDF.

Credits:

Method #1: https://github.com/zavierferodova/Google-Drive-View-Only-PDF-Script-Downloader Method #2 https://github.com/zeltox/Google-Drive-PDF-Downloader