Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找有关如何附加到 PDF 文件的解决方案。每次插入新行时,HTML-PDF 节点的输出“文件”都会生成一个新文件。输出“buffer”/“stream”只保存第一个插入。
是否可以在 Node-RED 中附加 PDF 文件?
并提前感谢。
PDF 不是这样工作的,它们基本上是一个“打印机”输出,因此有效地在开头有一个总长度的标题。
如果要追加到末尾,则需要在 Node-RED 上下文中缓冲内容,并每次将整个内容发送到 HTML-PDF 节点。