Skip to content
PDF Ink Watermark. Encrypt. Password.
Menu
  • Home
  • Docs
  • Blog
  • Contact
Download   Search Account
Download
Account

Blog

Brazil Shops can print CPF on a PDF

October 6th, 2018

Here is an example of adding new magic tags to PDF Ink for on-the-fly and totally-customized watermarks. A Brazilian customer using WooCommerce requested a magic tag to display the Cadastro de Pessoas Físicas (CPF) on PDFs. CPF is a taxpayer identification number all citizens of Brazil must use to shop online within Brasil. In order to collect CPF data from customers, our customer uses the Woocommerce Extra Checkout Fields for Brazil plugin.* We wrote the following code to programmatically create the magic tag [BILLING_CPF]. This magic tag will import any customer’s CPF number into their personalized PDF during stamping (when the customer clicks download). The “WooCommerce Extra Checkout” plugin mentioned above must be in use, […]

Read more »

Magic Tags Snippets WooCommerce

TCPDF Performance Tuning

April 26th, 2016

TCPDF is a third-party library which does its best to parse/understand and re-write your PDF with your desired changes (watermarks/encryption/etc), but it cannot possibly work on all PDFs and on all servers 100% of the time. Below are some suggestions on how to make your setup play nice with your server (part of a disk on a computer in a room somewhere in the world you probably have limited control over). Stay realistic, think carefully through the process, plan, and do your testing. Hosting Plans If you have large PDFs, complex watermarks (HTML, images, fonts, encryption) and/or heavy customer traffic, you may also want to upgrade your hosting so you can use more CPU if […]

Read more »

Page navigation
  • Page 1
  • Page 2
  • Current Page 3
Sidebar

About Us

Based in the US desert Southwest, we've been building practical, functional PDF-wrangling plugins for WordPress since 2014. We know a thing or two about WordPress and PDFs and want to help you succeed! Learn more

Get PDF Ink

The most robust PDF watermark & password solution for WordPress & PHP, since 2014!

Download PDF Ink

∙ Easy to set up and use
∙ 30-day money back guarantee

Recent Posts

  • How to `Tattoo` Your WooCommerce PDF Downloads (and Stop Digital Theft)
  • The Hidden Guard: Understanding the PDF Owner Password
  • Pull Order Data from WooCommerce and Stamp Your PDFs – with VAT Info
  • Rewrite PDF Links on the Fly
  • Small‑Biz Perseverance v. Big‑Corp Muscle – A WordPress Plugin Battle
  • Stamp Sequential Order Number on PDF
  • Block AI from Scraping PDF Content
  • Add a Fun Barcode Shape to Your PDFs
  • PDF Reader & Writer – A Friendly Guide to Keeping Your PDFs Healthy
  • New: EPUB Watermarking!

PDF Ink

Open-source PHP-based PDF manipulation for WordPress & beyond.
Adds watermarks, passwords and content to existing PDF files.
Proudly made with love since 2014.

Resources

FAQ

Demo

Documentation

Blog

Search

L'ink In

Download

Account

Contact

Terms & ConditionsPrivacy

® 2026 Canyon Webworks, LLC. All Rights Reserved.