问题描述
我正在寻找一个python库,该库可让我在一些现有的pdf上设置受密码保护的打印,复制,粘贴选项
Hi I'm looking for a python lib that will allow me to set password protected print, copy, paste options on some existing pdfs
我看了一下reportlab pdfencrypt模块:这正是我需要的选项,但是开放源代码版本受到严格限制-甚至不能设置真实密码,而且许可证不是一个选项(每年超过1000英镑)-这将是相对较低的数量(每年处理少于1000个文档),并且客户是非营利组织
I looked at the reportlab pdfencrypt module: this has exactly the options I need, but the open source version is heavily restricted - cant even set a real password, and the license is not an option (over £1000/year) - this will be relatively low volume (< 1000 docs processed per year), and the client is a non-profit organisation
任何建议,我们将不胜感激!
any suggestions greatly appreciated!
推荐答案
您是否尝试过PDF工具包,命令行界面(pdftk
)?
Have you tried The PDF Toolkit, command-line interface (pdftk
)?
http://www.pdflabs.com/docs/pdftk-cli-examples /
这篇关于python:pdf-设置受密码保护的打印,复制,粘贴选项吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!