pdftk - 一个不错的pdf文档合并工具
2007-04-06 07:20
501 查看
没有直观的操作界面,需要在命令行进行操作(将pdftk.exe放在要处理的pdf文档所在的目录下):
开始->运行->cmd->(用cd命令切换到pdf文档和pdftk.exe所在的目录下)
合并sourse1.pdf和sourse2.pdf文档到target.pdf:
>pdftk sourse1.pdf sourse2.pdf cat output target.pdf
或者:
>pdftk A=sourse1.pdf B=sourse2.pdf cat A B output target.pdf
将目录中所有的pdf合并到target.pdf(用通配符*):
>pdftk *.pdf cat output target.pdf
其他功能:
(1) Decrypt a PDF:
>pdftk secured.pdf input_pw foopass output unsecured.pdf
(2) Encrypt a PDF using 128-bit strength (the default), with-hold all permissions (the default)
>pdftk 1.pdf output 1.128.pdf owner_pw foopass
(3) Same as above, except password 'baz' must also be used to open output PDF
>pdftk 1.pdf output 1.128.pdf owner_pw foo user_pw baz
(4) Same as above, except printing is allowed (once the PDF is open)
>pdftk 1.pdf output 1.128.pdf owner_pw foo user_pw baz allow printing
(5) Remove 'page 13' from in1.pdf to create out1.pdf
>pdftk in.pdf cat 1-12 14-end output out1.pdf
or:
>pdftk A=in1.pdf cat A1-12 A14-end output out1.pdf
(6) Apply 40-bit encryption to output, revoking all permis-sions(the default). Set the owner PW to 'foopass'.
>pdftk 1.pdf 2.pdf cat output 3.pdf encrypt_40bit owner_pw foopass
(7) Join two files, one of which requires the password 'foopass'. The output is not encrypted.
>pdftk A=secured.pdf 2.pdf input_pw A=foopass cat output 3.pdf
(8) Uncompress PDF page streams for editing the PDF in a text editor (e.g., vim, emacs)
>pdftk doc.pdf output doc.unc.pdf uncompress
(9) Repair a PDF's corrupted XREF table and stream lengths, if possible pdftk broken.pdf output fixed.pdf Burst a single PDF document into pages and dump its data to doc_data.txt
>pdftk mydoc.pdf burst
(10) Burst a single PDF document into encrypted pages. Allow low-quality printing
>pdftk mydoc.pdf burst owner_pw foopass allow Degraded-Printing
(11) Write a report on PDF document metadata and bookmarks to report.txt
>pdftk mydoc.pdf dump_data output report.txt
CSDN下载:http://download.csdn.net/source/122282
开始->运行->cmd->(用cd命令切换到pdf文档和pdftk.exe所在的目录下)
合并sourse1.pdf和sourse2.pdf文档到target.pdf:
>pdftk sourse1.pdf sourse2.pdf cat output target.pdf
或者:
>pdftk A=sourse1.pdf B=sourse2.pdf cat A B output target.pdf
将目录中所有的pdf合并到target.pdf(用通配符*):
>pdftk *.pdf cat output target.pdf
其他功能:
(1) Decrypt a PDF:
>pdftk secured.pdf input_pw foopass output unsecured.pdf
(2) Encrypt a PDF using 128-bit strength (the default), with-hold all permissions (the default)
>pdftk 1.pdf output 1.128.pdf owner_pw foopass
(3) Same as above, except password 'baz' must also be used to open output PDF
>pdftk 1.pdf output 1.128.pdf owner_pw foo user_pw baz
(4) Same as above, except printing is allowed (once the PDF is open)
>pdftk 1.pdf output 1.128.pdf owner_pw foo user_pw baz allow printing
(5) Remove 'page 13' from in1.pdf to create out1.pdf
>pdftk in.pdf cat 1-12 14-end output out1.pdf
or:
>pdftk A=in1.pdf cat A1-12 A14-end output out1.pdf
(6) Apply 40-bit encryption to output, revoking all permis-sions(the default). Set the owner PW to 'foopass'.
>pdftk 1.pdf 2.pdf cat output 3.pdf encrypt_40bit owner_pw foopass
(7) Join two files, one of which requires the password 'foopass'. The output is not encrypted.
>pdftk A=secured.pdf 2.pdf input_pw A=foopass cat output 3.pdf
(8) Uncompress PDF page streams for editing the PDF in a text editor (e.g., vim, emacs)
>pdftk doc.pdf output doc.unc.pdf uncompress
(9) Repair a PDF's corrupted XREF table and stream lengths, if possible pdftk broken.pdf output fixed.pdf Burst a single PDF document into pages and dump its data to doc_data.txt
>pdftk mydoc.pdf burst
(10) Burst a single PDF document into encrypted pages. Allow low-quality printing
>pdftk mydoc.pdf burst owner_pw foopass allow Degraded-Printing
(11) Write a report on PDF document metadata and bookmarks to report.txt
>pdftk mydoc.pdf dump_data output report.txt
CSDN下载:http://download.csdn.net/source/122282
相关文章推荐
- pdftk - 一个不错的pdf文档合并工具
- C# 合并多个不同格式文档为一个PDF
- Pdftk是一个简单的PDF万用工具(转)
- ubuntu 下切割合并PDF的工具 pdftk
- 怎么将多个pdf文件合并成一个pdf文档
- 多个pdf文档在线合成一个的工具
- Pdftk是一个简单的PDF万用工具
- ePDFView:一个轻量的 PDF 文档阅读工具
- 一个免费开源的pdf合并和分割工具
- 怎样将图片合并成一个PDF文档
- 两个pdf文档合并成一个pdf文档
- 一个不错的界面原型制作工具(Balsamiq Mockups)
- 一个 linux 下面的文档工具(类似于chm)
- eclipse:一个不错的java开发工具
- iText创建一个含有中文的pdf文档
- 一个PDF合并操作实现类,利用iTextSharp控件实现
- [图像]pngquant一个不错的png压缩工具
- 电子书PDF裁减、合并工具及脚本
- 一个不错的免费UML工具:JUDE community
- Mylyn简介——一个不错的eclipse工具