PDF Stamper


This extension allows you to apply text or image-based watermarks to PDFs handled by Easy Digital Downloads. Once PDF Stamper is activated and a user clicks on a download link, the extension takes over. If the download is a PDF it processes it, adding the necessary watermarks before returning the processed file to the customer. If the download is not a PDF, the standard download mechanics resume. You also have the option to bypass the watermarking process on individual downloads, should you wish to.

An effectively unlimited number of watermarks can be applied to each PDF, with both globally defined and per-download watermark options available. Both types of watermarks can be positioned through a combination of a standard three-by-three grid (top/middle/bottom and left/center/right) and pixel-based offsets. Thus, watermarks can be individually placed anywhere on the page. Additionally, text-based watermarks can be styled through a familiar font format interface, allowing font size, color, opacity, and style to be specified for each individual watermark and, as of version 3.0.0, a Font Manager has been added to allow the use of custom True Type fonts.

Text-based watermarks support several template tags to further personalize the watermark including:

{name} - The buyer's first name
{fullname} - The buyer's full name, first and last
{username} - The buyer's user name on the site, if they registered an account
{email} - The buyer's email address
{date} - The date of the purchase
{payment_id} - The unique ID number for this purchase
{receipt_id} - The unique ID number for this purchase receipt
{sitename} - Your site name

PDF Stamper also includes a PDF encryption suite, allowing you to individually control the amount of access users have to each PDF they download. The encryption suite includes a variety of industry-grade encryption algorithms, as well as providing granular control over the PDF permissions themselves. Support is provided for password-protected PDFs, as well as restrictions for printing, modification, and numerous other interactions.

Once activated, the settings for this extension will be added to Downloads > Settings > Extensions page and the PDF Stamper Settings meta box on the Add/Edit Downloads pages.

The following hosts are known to have issues running the PDF Stamper plugin:

  • ASmallOrange
  • WebSynthesis

Requires Easy Digital Downloads v1.7 or later.

Users who purchased PDF Stamper, also purchased:
Add to Cart

Version 3.1.5, January 27, 2016

  • Updated: Moved settings to their own subsection in EDD 2.5 and later

Version 3.1.4, January 21, 2016

  • Added: PDF preview support
  • Added: VAT template tags
  • Updated: SetaPDF library

Version 3.1.2, November 5, 2015

  • Do not deactivate plugin when EDD core is missing

Version 3.1.1, September 15, 2015

  • Updated SetaPDF to the latest version

Version 3.1, September 12, 2015

  • Added global encryption settings

Version 3.0.9, July 20, 2015

  • Fixed a bug with stamping files from Amazon S3
  • Fixed a bug with duplicate download logs getting recorded

Version 3.0.8, July 1, 2015

  • Fixed issue with watermarks not applying properly to specific pages

Version 3.0.7, June 24, 2015

  • Fix bug with printing in 128-bit encryption
  • Fix bug with sequential numbering

Version 3.0.6, June 18, 2015

  • Added {siteurl} template tag
  • Added {quantity} template tag
  • Rewrote the template tag system based on the EDD email tag class to allow extension
  • Prettified the watermark tables

Version 3.0.5, June 16, 2015

  • Fix UTF-8 encoding for text watermarks

Version 3.0.4, June 2, 2015

  • Add support for switching the encryption engine
  • Re-add support for Amazon S3
  • Fix meta box field visibility persistence
  • Fix sequential numbering support in PDF passwords
  • Misc bug fixes

Version 3.0.3, May 21, 2015

  • Fixed bug with multi-text watermarks

Version 3.0.2, May 1, 2015

  • Deprecate support for RC4-40bit encryption (it is no longer being supported upstream and doesn't work with permission bits)

Version 3.0.1, April 30, 2015

  • Fixed missing default page argument

Version 3.0, April 28, 2015

  • Significant optimization across the plugin
  • Improved positioning support
  • Full support for form fields, bookmarks, and annotations in stamped files
  • True PDF encryption support
  • Integrated font manager (supports TrueType fonts)
  • Multiple watermark support

Version 2.2.9, April 20, 2015

  • FIX: XSS Flaw in query args

Version 2.2.8, February 16, 2015

  • Added backwards compatibility for new Signed URLs coming in EDD v2.3

Version 2.2.7, July 15, 2014

  • Fixed incorrect version of PDF Parser

Version 2.2.6, July 7, 2014

  • Updated FPDF/FPDI
  • Fix glitch with deselecting font styles
  • Improve unit conversion and positioning calculation

Version 2.2.5, June 29, 2014

  • Fixed bug with decoding HTML entities in textual watermarks

Version 2.2.4, May 12, 2014

  • Added support for template tags in password fields
  • Updated PDF protection library

Version 2.2.3, May 11, 2014

Fixed misplaced watermark override checkbox
Added SysInfo data for post-2.0 EDD

Version 2.2.2, May 4, 2014

Fix PDF protection library.
Add better error handling

Version 2.2.1, April 29, 2014

Fixed invalid function call.

Version 2.2.0, April 29, 2014

Upgraded FPDI and FPDI_Parser to latest versions
Added product_title template tag
Replaced baseline_shift option with line_height
Improved vertical alignment formula

Version 2.1.5, March 27, 2014
Added ability to add linebreaks to textual watermarks
Fixed bug with some global settings not properly saving

Version 2.1.4, March 17, 2014
Added font type selection
Removed auto page breaking
Renamed font offset to baseline shift
Fixed baseline shift default position
Added unit specification for advanced positioning
Added page process specification
Fixed position reset

Version 2.1.3, March 8, 2014
Added Purchase Limit template tags
Added filters for password and owner password
Fixed processing absolute URIs outside of webroot

Version 2.1.2, February 26, 2014
Fixed minor typo, replaced activation functions

Version 2.1.1, February 18, 2014
Fix multipage UTF-8 encoding issue

Version 2.1.0, February 17, 2014
Removed unnecessary update class.
Fixed an issue with plugin loading order.
Fixed an issue with UTF8 decoding.

Version 2.0, December 22, 2013
Complete overhaul of codebase
Better error checking
Better and more accurate handling for image positioning
Text-based watermarks left blank will now allow encryption without watermark
Updated global settings to update display through jQuery
Added fine-grained control over watermark location
Added support for watermark transparency
Added ability to override watermark per download
Added font offset parameter
Added proper download logging

Version 1.1.9, December 4, 2013
Removed landscape option
Added page dimension and orientation auto detection

Version 1.1.8, December 3, 2013
Added landscape option

Version 1.1.7, November 23, 2013
Added ability to define font styles for text-based watermarks

Version 1.1.6, November 21, 2013
Fixed a bug that caused files to get corrupted during download.
Fixed a bug that caused non-PDF files to be affected by the stamping process.
Fixed a bug that could cause the server to timeout when downloading PDF files.

Version 1.1.4 - October 3, 2013
Added a new {email} tag.

Version 1.1.3
Fixed bug with locally hosted files not tracking correctly.

Version 1.1.1
Fixed bug with remote-host handler.

Version 1.1.0
Added ability to bypass stamping per-file.
Added ability to encrypt individual files.
Added ability to password protect files.
Fixed bug with re-stamping files

Version 1.0.6
Moved to 1.7 licensing model

Version 1.0.5
Added better handling for remotely hosted files

Version 1.0.4
Added ability to cache stamped PDFs.

Version 1.0.3
Added FPDI_PDF_Parser library to handle compressed PDF files.

Version 1.0.2
Fixed critical bug.

Version 1.0.1
Fixed a compatibility issue with the Amazon S3 extension.

Version 1.0
Initial release.

Error: Please enter a valid email address

Error: Invalid email

Error: Please enter your first name

Error: Please enter your last name

Error: Please enter a username

Error: Please enter a password

Error: Please confirm your password

Error: Password and password confirmation do not match