Easy Digital Downloads Plugins

Little Package makes WordPress plugins that support manipulation of pre-existing PDFs using PHP libraries from TCPDF (good) and SetaSign SetaPDF-Stamper (best). Password-protect, encrypt, and restrict PDF viewing permissions. Even more exciting, mark/stamp PDFs with dynamic data collected from your users, such as their name, email address, and a lot more!

EDDiStamper PDF

Use the powerful SetaPDF-Stamper stamping library by Setasign for PDF watermarking and encrypted password/permissions protection of Easy Digital Download deliverables. Works on all PDFs, even those with internal links, forms and layers.

Learn More

EDDiMark PDF

Password, encrypt and/or add a text or image watermark to your PDFs upon Easy Digital Download file delivery, optionally customized with customer-provided details. Uses the open-source TCPDF library. Works on most PDFs without internal links, forms, or layers.

Learn More

Plugin News, Tips & Tricks...

Accessible PDF Stamping

Many people and organizations put the extra care into their PDF documents to ensure they are usable by ALL humans, not just people with good vision and keyboard/mouse dexterity. What does this mean? It is often imperative documents be accessible due to accessibility codes and laws. So it must be very frustrating to have accessibility features removed by a PDF manipulation plugin! Unfortunately, the open-source PDF manipulation libraries I use for many of my plugins does not allow for robust or reliable PDF manipulation. Namely, TCPDI/TCPDF depends on being fed a syntactically correct PDF, and then because of the way objects are read flat into PHP memory during the process, certain PDF features in the stream are necessarily lost. Marking/passwording with TCPDI/TCPDF or FPDI/FPDF is lossy, no way around it. However, the SetaPDF library from SetaSign works differently by parsing continue reading…

Printing a barcode or QR Code on a PDF

Update May 2025: This blog post is no longer valid. PDF Ink has replaced WaterWoo and EDDiMark, and has an easier settings panel interface for adding barcodes more easily to PDF files. If you are or even if you are not using WooCommerce or Easy Digital Downloads but are still programming in PHP, it can be done using PDF Ink.   The WaterWoo PDF Premium and EDDiMark PDF plugins can add barcodes and QR codes to PDFs dynamically upon download request via WooCommerce or Easy Digital Downloads. This is because both WordPress plugins use TCPDF to write PDF content, and TCPDF allows for barcode creation. Though this blog post might also be helpful for someone just trying to figure out how to write a barcode with TCPDF and PHP, these instructions are more geared toward a WordPress developer wishing to continue reading…

Adding Custom Fonts to EDDiStamper

All three new Stamper plugins (EDDiStamper, PDF Stamper, and Download Monitor Stamper) come with the three standard PDF fonts: Helvetica, Times New Roman, and Courier. Not much to get excited about, I know. Whereas EDDiMark and WaterWoo (plugins based on TCPDF, not SetaPDF-Stamper) have built-in font uploaders with more instant gratification, the integration with Seta is a bit more complicated, and so you’ll need to use a little code. Whether you add the code into a custom plugin, your child theme functions.php file, or by using the more plug-n-play Code Snippets plugin doesn’t matter. Before using the following example code, we have started by creating a “fonts” folder inside the wp-content/uploads/eddistamper/ folder. We put our Comic Sans (yes!) TTF file inside the fonts folder. You can see that path reflected in line 6 of the code below. So, put the continue reading…

PDF Watermarking Limitations, explained

Update March 2020: PDF Stamper (a separate plugin from Waterwoo PDF Premium) now allows PDF owners to keep their PDFs exactly as they are, but add a stamp. PDF Stamp is a drop-in plugin and requires users also purchase SetaPDF-Stamper software to install alongside it. Learn more here. WaterWoo is magic, but it does have its limitations. And one particular limitation has been disappointing customers, and frustrating us, for years. We'd like to explain. First of all, let's explain how WaterWoo works. In a nutshell, WaterWoo works by first reading a PDF into memory, then spitting it back out onto the page with watermarks rolled in. If the parser (FPDI or TCPDI) which reads the PDF does not read all the PDF, or cannot read certain PDF versions, then WaterWoo fails to deliver the expected. Ultimately, WaterWoo is built on continue reading…

More tips & tricks...