Can I replace custom tokens in PDF by PHP

I am creating a small application which manipulates PDF file as follows

  • A customer creates a CSV to a given specification that contains the

    name,address, country, ink type, station to use. This CSV could also include customized tokens which replace tokens that are written

    within their PDF Document.

  • A customer creates a PDF document it could be a standard document that’s exactly the same that gets sent to everyone in their CSV file, or it could contain special tokens which are replace with specific contacts details within the CSV.

I’ve briefly looked at
and FPDF, but I was wondering what specific technique I’d use to achieve this.

I was thinking I’d insert an address tokens string where I want the address to go, and then use some function to update those tokens in the PDF document.

Can anyone point me in the right direction? I have php experience, but not with editing / generating pdf documents from php.

Hello, buddy!稿源:Hello, buddy! (源链) | 关于 | 阅读提示

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 综合编程 » Can I replace custom tokens in PDF by PHP

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录