4
如何從密碼保護的PDF文件中刪除打印保護?如何從密碼保護的PDF文件中刪除打印保護?
如何從密碼保護的PDF文件中刪除打印保護?如何從密碼保護的PDF文件中刪除打印保護?
當PDF文檔可見但不可打印時,在使用GNU/Linux時有一個簡單的解決方法。
要做到這一點,你必須使用兩個步驟:
恢復到正常的PDF文件
$ pdftops [your_protected_pdf_document.pdf] out.ps
$ pstopdf [out.ps] broken_protection_pdf_document.pdf
而且它的完成。沒有更多的密碼protectin爲您的pdf文檔。
看到答案中:
pdftk and qpdf to reset PDF commenting security
從對方的回答(writen貝庫爾特Pfeifle)
The command qpdf --decrypt input.pdf output.pdf removes
the 'owner' password. But it does only work, if there is
no 'user' password set.
Once the owner password is removed, the output.pdf should
already have unset all security protection and have allowed
commenting. Needless to run your extra pdftk ... command then...
BTW, your allow paramenter in your pdftk call will not work the
way you quoted your command. The allow permissions will only be
applied if you also...
...either specify an encryption strength
...or give a user or an owner password
Try the following to find out the detailed security settings of the file(s):
qpdf --show-encryption input.pdf
qpdf --show-encryption output.pdf
實施例複製:
qpdf --decrypt crypted.pdf [email protected]!D uncrypted.pdf
其實有破壞性較小的方式從PDF文件中刪除否定的權限。您的解決方法破壞了文檔的交互功能。儘管如果您只需要打印PDF的方式就沒問題,但在其他禁止許可的情況下,這不是您想要的。 – mkl
@mkl,在這個小小的教程中,我正在描述打印保護強度以及如何去除打印保護密碼(以便打印pdf)。 –
好一個:) @Milos – Freak