将多个 pdf 嵌入(不是连接)到一个中(使用 php)
是否可以使用 php 将 pdf 文件嵌入到另一个文件中? 如果不是php,可以使用其他开源软件来制作吗?
用例如下:
我有一个 template.pdf
文件,其中包含应动态填充的空白点 与另一个pdf文件。
示例:
我有一个 pdf 文件,有四个空槽,前三个应该填充 pdf 文件的内容:a.pdf
、b.pdf
、c.pdf
最后一个应该 充满动态创建的文本。
template.pdf
+-----------------------+-------+-------+
| a.pdf | b.pdf | c.pdf |
+-----------------------+-------+-------+
| embedded dynamic text |
+---------------------------------------+
Is it possible to embedd a pdf file into another using php?
If not php, can this be made using another open source software?
The use case is the following:
I have a template.pdf
file with empty spots which should be filled dynamically
with another pdf files.
Example:
I have a pdf file with four empty slots, the firts three should be filled
with the contents of pdf files: a.pdf
, b.pdf
, c.pdf
and the last one should
be filled with text dinamically created.
template.pdf
+-----------------------+-------+-------+
| a.pdf | b.pdf | c.pdf |
+-----------------------+-------+-------+
| embedded dynamic text |
+---------------------------------------+
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我能够使用
tcpdf.php
和fpdi.php
满足我的要求。这不是最漂亮的代码,但它正在工作。
I was able to fulfill my requirements using
tcpdf.php
andfpdi.php
.It's not the most beautiful code, but It's working.