Little Package
Proud maker of well-loved WordPress Plugins since 2013. Easily extend WooCommerce, Easy Digital Downloads and Download Monitor with PDF manipulation libraries TCPDF (good) or SetaPDF Stamper (best) to encrypt, password protect, and custom watermark your PDF files.
The Plugins:
PDF Stamper for WooCommerce (WooStamper)
Connect WooCommerce to the powerful SetaPDF-Stamper stamping library by Setasign for PDF watermarking , encryption, and password/permissions protections. Works with all PDFs, even those with internal links, forms and layers.
Get PDF Stamper
WP TCPDF Bridge
Add a customized text or image watermark, and optionally a password and/or file permissions, to PDF files downloaded via Wordpress links (created via shortcode in several styles). This plugin also allows for PDF manipulation on the backend by your site administrators. Connects WP to the open-source TCPDF library. Works on most PDFs without internal links, forms, or layers.
Get TCPDF Bridge
WaterWoo PDF Premium
Protect and customize WooCommerce PDFs with a text or image watermark, and/or a password, optionally customized with customer-provided details. Uses the open-source TCPDF library. Works on most PDFs without internal links, forms, or layers.
Get WaterWoo
It’s pretty easy to create a QR code that opens a PDF. Google that and you’ll find a million results. But it’s a little trickier to add a QR code to an existing PDF. The TCPDF Bridge WordPress plugin can do that now! We’ve added settings to the TCPDF Bridge plugin settings panel to make adding different barcode types (including QR codes) to your PDFs, whether for retail, pharmacy, or industrial purposes. Since the plugin allows you to accept some user input before your PDF file is downloaded, you can even include that data in your barcode! Completely customized barcodes added on-the-fly to your PDFs, as they are downloaded… that’s pretty cool 😎 Here are the types of barcodes supported by TCPDF Bridge: CODE 39. Also called Alpha39, Code 3 of 9, Code 3/9, Type 39, USS Code 39, or continue reading…
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…
Lately folks have been raising the alarm that passwords and content can be removed from PDFs. Unfortunately, this just isn’t news. When was the Internet a safe place to store or share documents? What does a PDF have in common with NASA, the Pentagon, Nasdaq, and most credit card companies? They are all demonstrably hackable. And if a multi-billion dollar organization can be hacked, you bet your bottom dollar your PDF can be, too. You can also bet that a
You can add your own shortcodes to WaterWoo PDF Premium for on-the-fly customized watermarks. In this simple example we are going to create a shortcode to reflect a customer’s order total (price) in the watermark, when using a shortcode: [TOTAL_PRICE] function fetch_woo_order_data_as_shortcode( $input, $order_id, $product_id ) { // first we need to get the order object from the order id // you can get a lot of info from the order object ( $order in this case) $order = wc_get_order( $order_id ); // now let’s get the order data from the order object $order_data = $order->get_data(); $order_total = $order_data[‘total’]; // BINGO! // there is a ton of other data you can get from the WC order object data, check out // https://stackoverflow.com/questions/39401393/how-to-get-woocommerce-order-details // and substitute in what you need into the code that follows below // if there isn’t a continue reading…
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…
More blog entries...