PDF Marker
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
PDF Marker offers you on-the-fly stamping feature to a purchased file in a ubercart product node. It can be used to stamping any texts (buyer's name, time and date the file was purchased, order information, etc) into certain area of PDF file to be downloaded by the buyer. This module, hopefully, helps you to sell PDF files with drupal's ubercart ecommerce suite.
It is inspired by an earlier project called pdfstamper. In this initial version, a lot of PDF Marker code is come from pdfstamper.
Keep in mind, this module needs several libraries and to run. It needs following PHP Library: FPDF, FPDI and FPDF_TPL. Beside, PDF Marker also needs these modules to be installed and activated: ImageAPI, Token, jQuery Update, and Ubercart's File Downloads (uc_file). PDF Marker also needs imagemagick to be installed either as PHP module or as shell command.
This initial code is be run smoothly in a VPS machine, but it failed to be applied in shared hosting. This code is still using unpopular mkdir and exec command. The mkdir is used to make required directories, and the exec shell command is used to utilize imagemagick. Most shared hosting doesn't allow these two functions.
Current Features
PDF Marker would do these things for you:
- Stamping texts into PDF Files attaches as File Downloads feature of a ubercart product.
- Text to be stamped can be dynamical field such as: Username.
- You can select what page and where in that page, you are going to place the stamping.
- When buyer download the file, the PDF Marker module is stamping to the file.
