从经典 asp 创建/操作 PDF?

发布于 2024-09-08 01:10:49 字数 130 浏览 1 评论 0原文

我想对来自经典 asp 的 pdf 文件执行以下任务

  1. 获取页数
  2. 分割页面
  3. 保存分割的 pdf

有没有一个不错且简单的库可用?

-维韦克

I'd like to do the following tasks on pdf files from classic asp

  1. get page count
  2. split pages
  3. save splitted pdf

Is there a nice and easy library available?

-Vivek

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

肤浅与狂妄 2024-09-15 01:10:49

我使用 ABCpdf 取得了巨大成功。

I've used ABCpdf with great success.

几度春秋 2024-09-15 01:10:49

如果您使用带有 server.CreateObject ("WScript.Shell") 的命令行工具没有问题,那么我会推荐 PDFTK - PDF 工具包。我在 PDF 大小高达 500 MB 的项目中使用它,没有任何问题。

这就是 PDFTK 可以为您做的事情:

  • 合并 PDF 文档
  • 将 PDF 页面拆分为新文档
  • 旋转 PDF 页面或文档
  • 根据需要解密输入(需要密码)
  • 根据需要加密输出
  • 用 FDF 数据或 XFDF 数据填充 PDF 表单和/或展平表单
  • 应用背景水印或前景标记
  • 对元数据、书签和页面标签等 PDF 指标
  • 报告更新 PDF 元数据
  • 将文件附加到 PDF 页面或 PDF 文档
  • 解压 PDF 附件
  • 将 PDF 文档分解为单页
  • 解压缩和重新压缩页面流
  • 修复损坏的 PDF(如果可能)

If you have no problems to use a commandline tool with server.CreateObject ("WScript.Shell") then I would recommend PDFTK - The PDF Toolkit. I used it in a project with PDFs up to 500 MB without any problems.

This is what PDFTK can do for you:

  • Merge PDF Documents
  • Split PDF Pages into a New Document
  • Rotate PDF Pages or Documents
  • Decrypt Input as Necessary (Password Required)
  • Encrypt Output as Desired
  • Fill PDF Forms with FDF Data or XFDF Data and/or Flatten Forms
  • Apply a Background Watermark or a Foreground Stamp
  • Report on PDF Metrics such as Metadata, Bookmarks, and Page Labels
  • Update PDF Metadata
  • Attach Files to PDF Pages or the PDF Document
  • Unpack PDF Attachments
  • Burst a PDF Document into Single Pages
  • Uncompress and Re-Compress Page Streams
  • Repair Corrupted PDF (Where Possible)
我不会写诗 2024-09-15 01:10:49

尝试搜索“ActiveX PDF”。在经典 ASP 中,您可以像这样创建任何 ActiveX 对象:

Set o = Server.CreateObject("PDF.ClassName")
o.DoSomething

因此,如果您找到一个 ActiveX 控件,您就可以使用它。

Try searching for "ActiveX PDF". In Classic ASP you can create any ActiveX object like so:

Set o = Server.CreateObject("PDF.ClassName")
o.DoSomething

So if you find a control that is an ActiveX control, you'll be able to use it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文