Extension - PDF Watermark

PDF Watermark

PDF Watermark
Exension Name PDF Watermark Rating 1 2 3 4 5
License Free Votes 1
Developer Antijoe Views 1458
Date Added 4 July 2010

This module creates a unique header and footer watermark on PDFs that are downloaded from your OpenCart. This is great for ebook sellers who are looking for a way to discourage piracy of their products.

This mod has been tested on A4 sized PDFs and should work on US letter sizes.

The header consists of the customers name, email, and phone number. The footer is the date downloaded and a md5 hash of these values. You can modify these if you wish.

Download Name Compatibility Action
PDF_Watermark.zip v1.4.7, v1.4.8, v1.4.8b [ Download ]
Installation Guide - PDF Watermark

This modification is for OpenCart Version 1.3.4 and 1.4.8b


1. Unzip the archive.
2. Make an back-up of the file at: /catalog/controller/account/download.php
3. Copy the new download.php to /catalog/controller/account/
4. Copy the fpdf directory into /catalog/controller/account/
5. Add a pdf file to a product in the administration pages: Catalog -> Download

When your customers download a PDF file it will watermark each page with a text header and footer.
The header consists of user details such as their name, email and telephone number.
The footer contains the date downloaded and a md5 hash of the download details.

Your PDFs will need to have some white space at the top and bottom for the pages for the watermarks to be clearly visible.


If you want to change the text colour, font, or text; you're going to have to edit the file /catalog/controller/account/fpdf/mpdf.php by hand. Make sure you back up your files!

Categories


Submit your Extension

Submit a new extension here.

If you are looking for older extensions you can download them all as one zip file here.