How to Print a Locked PDF in Google Drive

If you have ever been in a situation where you need to print a locked PDF from Google Drive, fear not. In this comprehensive tutorial, I will explain step by step how to print a locked PDF file in Google Drive.

PDF is the popular file for documents and it is used to store both professional and personal documents. PDF supports lots of methods to keep the data secure and safe. For example, you can secure a PDF file using a password or disable the print option for your file.

In today’s digital world, PDFs are everywhere for sharing and storing documents securely. However, a locked PDF file is a frustrating experience whenever we need to print its contents. Whether it is a password-protected document or restricted from editing.

So, without any further delay, let’s get started.

Print a Locked PDF in Google Drive that is Password Protected

So, if you have a password-protected PDF file, you have to follow these simple steps to print it using Google Drive.

  • Go to drive.google.com from your preferred browser.
  • Click on the + New icon and select the file upload option.
Print locked PDF files
  • Locate the file on your computer, select it, and upload it.
  • Once the file is uploaded, you have to double-click on the file to open it.
  • Since the file is password-protected, Google Drive will ask you to enter the password. Enter the password and click on the Submit button.
Print a Locked PDF in Google Drive
  • This will open the file for you. At the top right corner, you will see a print option. Click to start the printing process.
How to Print a Locked PDF in Google Drive
  • Here, you simply have to select your printer and click on the Print icon.

It will initiate the printing process, and if you have selected the right printer, the printing process will complete within a minute.

However, note that you need to have their password to print password-protected PDF files in Google Drive. Google Drive cannot help you crack the password of your PDF files.

How to print a Print-Locked PDF in Google Drive

Another method to protect the PDF file is disabling the print option. You can open this file but you cannot print them.

However, you can print these files very easily with the help of Google Drive. All you have to do is follow these simple steps.

  • Go to drive.google.com.
  • Click on the + New icon and select the file upload option.
  • Select the print-locked file on your computer and upload it.
  • Once the file is uploaded, you have to double-click on it to open it inside Google Drive’s built-in document viewer.
  • Now, at the top right corner of the document viewer, you will see the print icon. You have to click on it.
  • A print dialogue box will pop up on your screen, asking you to select your printer and other things. Select the right printer, configure other settings, and give the print command.

The print process will be initiated within a minute if you follow each step correctly.

You have now successfully understood how to print a locked document in Drive.

Remove Print-Locked Permission in Google Drive

Follow the below steps to remove print-locked permission in Drive.

  • Go to drive.google.com.
  • Place the file you uploaded in the last method and double-click on it to open it.
  • Now, it will open the Google Drive document viewer. Here you have to click the Print button located at the top right corner.
  • It will take you to a new tab where the print window will pop up. Simply click on the cancel button from the pop-up window.
  • Now, at the top right corner of your screen, you can see a download icon. Click on it to initiate the download process.
  • It will ask you to select the location where you want to download that file. Select the location, change the file name, and save it.

This new file you have downloaded is not protected with any permission. You can send this file to anyone and they can print this easily. You can follow the same method for the password-protected file to remove the password restriction.

Print a Locked PDF file in Google Drive that is protected by Google Drive’s sharing settings

Google Drive lets users protect their files from getting downloaded or printed by anyone.

If you have any of such files that you want to print that are protected by Google Drive’s sharing settings, you can follow these steps.

  • Go to drive.google.com.
  • Double-click on the file that you want to print.
  • Go to your browser’s settings and open web developer tools. You can use the shortcut by pressing CTRL + Shift + I altogether.
  • Navigate to the Console tab.
  • Here, you have to paste this code.
let jspdf = document.createElement( "script" );
jspdf.onload = function () {
let pdf = new jsPDF();
let elements = document.getElementsByTagName( "img" );
for ( let i in elements) {
let img = elements[i];
if (!/^blob:/.test(img.src)) {
continue ;
}
let canvasElement = document.createElement( ‘canvas’ );
let con = canvasElement.getContext( "2d" );
canvasElement.width = img.width;
canvasElement.height = img.height;
con.drawImage(img, 0, 0,img.width, img.height);
let imgData = canvasElement.toDataURL( "image/jpeg" , 1.0);
pdf.addImage(imgData, ‘JPEG’ , 0, 0);
pdf.addPage();
}
pdf.save( "download.pdf" );
};
jspdf.src = 'https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.2/jspdf.min.js' ;
document.body.appendChild(jspdf);
  • After this, the download and the print option will be available. Click on the download option and download the file.
  • Now, open the new file and give the print command.

That’s it. This is how you can print a file locked by Google Drive.

However, note that this method basically converts the PDF files into the form of images, and therefore, there are chances that the final PDF will lose some quality. But that is the only way to print such files. So, you have no other options.

Conclusion

This is a detailed guide on how to print a locked PDF file in Google Drive.

PDF gives the author the ability to put certain restrictions on their files to protect their sensitive data and secure their overall document. While it is a great security feature, these restrictions can be frustrating for those who have received these files.

If you have come across any file with such restrictions, you can follow the guide mentioned above to print them very easily. However, note that files protected with a password cannot be cracked that easily.

You may like the following google drive articles: