使用NodeJS在现有的PDF表单中填写数据 [英] Fill Data In Existing PDF Form Using NodeJS

查看:542
本文介绍了使用NodeJS在现有的PDF表单中填写数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:我有一个现有的PDF表单(* .pdf),需要填写.如何使用Node JS动态填充它?

Problem : I have an existing PDF form ( *.pdf ) that needs to be filled out. How can I fill it dynamically by using the Node JS?

推荐答案

在npm上查看以下模块:

Check out the following modules on npm:

  • fill-pdf
  • pdffiller
  • pdf-fill-form
  • node-pdffiller
  • pdfkit

node-pdffiller是PDFtk(PDF工具包)的包装:

The node-pdffilleris a wrapper for PDFtk, the PDF Toolkit:

PDFKit网站上有很多很好的文档:

There's a lot of good documentation on the website of PDFKit:

这些模块具有不同的功能和API.您应该找到适合您需求的东西.

Those modules have different features and API. You should find something that suits your needs.

还有一篇不错的文章:

  • Generating a PDF with Express & Node.js by Koen van Gilst (it uses PDFKit)

这篇关于使用NodeJS在现有的PDF表单中填写数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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