如何从多个PDF删除首页 [英] How to delete first page from muliple PDF's

查看:103
本文介绍了如何从多个PDF删除首页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个PDF集合,有时会有一个我要删除的文档首页的信息页.

I have a collection of PDF's that sometimes have a info page for the first page of the document that I want to remove.

如果有一种快速的方法可以从我的所有pdf文件中删除此信息页面,或者至少可以显示一个页面以上的所有pdf文件,以便更好地找到需要修复的信息页面?

If there a quick way to delete this info page from all of my pdf's or at least a way to show all pdf's that have more than one page so I can better find the ones that need to be fixed?

您知道可以执行此操作的任何程序吗?还是用python做到这一点的方法?

Do you know of any program that can do this? Or way to do this with python?

注意:信息页面上的文字始终保持不变,即"LAND TITLE OFFICE"

Note: The info page has text on it that that always remains the same "LAND TITLE OFFICE"

使用Windows 7操作系统

Using Windows 7 OS

谢谢

一些研究发现了以下内容:

Some Research turned up the following:

http://www.python.org/workshops/2002-02/papers/17/index.htm

http://www.unixuser.org/~euske/python/pdfminer/index.html

http://pybrary.net/pyPdf/pythondoc-pyPdf.pdf.html#pyPdf.pdf.PdfFileWriter-class

推荐答案

您可以尝试以下两种方法:

You can try these two ways:

  • PdfTK 是处理PDF的实用程序.检查此链接,他们正在执行与您需要的操作类似的操作(在评论中,有人还发布了脚本对于Windows)

  • PdfTK is an utility to manipulate PDFs. Check this link, they are doing something similar to what you need (in the comments someone also posted a script for windows)

PDFsam 是强大的图形化工具,可以批量处理PDF. split + merge部分应该可以解决问题.

PDFsam is a graphical powerful tool to manipulate PDFs in bulk. The split+merge sections should do the trick.

这两个都是免费的,如果您要编写可以经常使用的食谱",我建议先学习,但是如果您必须写一次,则建议以后学习.

Both of them are free, I'd suggest to study the first if you want to write a "recipe" that you can use often, but the later if you have to do it once.

这篇关于如何从多个PDF删除首页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆