【问题标题】:Appending PDF to Existing PDF in cold fusion 11在冷融合 11 中将 PDF 附加到现有 PDF
【发布时间】:2016-06-17 12:01:29
【问题描述】:

我正在使用冷聚变 11。

我想将 PDF 附加到现有 PDF 并希望生成大约 30 页这样的页面,例如我有一个 20 页的 PDF,我想再附加 5 页。

【问题讨论】:

  • 我投票结束这个问题作为离题,因为 OP 没有表现出自己解决问题的努力。
  • 您先搜索了吗?来自 google 的“coldfusion 合并 pdf”Adobe ColdFusion 9 * Merging PDF documents 的第一个结果。
  • @Dan Bracuk 我们在 cfpdf 标签中使用了合并方法。我们需要一个 1000 页的 pdf,其大小约为 1 .5 GB。我们还增加了堆空间。但它什么也没做。

标签: pdf coldfusion pdf-generation


【解决方案1】:

您可以使用cfpdf 标记和merge 作为操作来完成它。像这样

<cfpdf action="merge" destination="finalMergedPDF.pdf" overwrite="yes"> 
    <cfpdfparam source="pdf_20_pages.pdf"> 
    <cfpdfparam source="pdf_5_pages.pdf"> 
</cfpdf>

您还可以在合并cfpdfparam中的pdf文件时指定特定页面或页面范围。像这样。

<cfpdfparam source="file3.pdf" pages="10-20">
<cfpdfparam source="file4.pdf" pages="25,35,42">

Refer this

【讨论】:

    猜你喜欢
    • 2013-08-08
    • 2021-11-20
    • 2018-04-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-12-09
    • 1970-01-01
    相关资源
    最近更新 更多