Search Site:

About

Linux

Printers?

Programming

Windows?

Download

Skins

Edit - To Do - AllRecentChanges

Recent Changes Printable View Page History Edit Page

Abstract

you want to add a watermark to a PDF file simply by drag & dropping it over an icon on your Windows desktop.

Installation

Just download the Windows version of PDF toolkit and uncompress it inside a c:\tools\ directory.

Save your watermark as a PDF file under c:\tools\watermark.pdf.

Create an empty text file that you rename PDFwatermark.bat and edit its content using Notepad to include the following:

@echo off
echo %1
move /Y %1 ~temppdf.tmp
pdftk ~temppdf.tmp background "C:\tools\watermark.pdf" output %1

Now create a shortcut to PDFwatermark.bat and place it on your desktop. You can rename it, make it run minimized and change its default icon to something a bit more telling, like:

(Right-Click and save to download the corresponding Window ICO file)

Usage

Now whenever you produce a PDF, you can drag & drop it onto this shortcut and a presto, the watermark will be automagically added to it!

Links

Leave your comments below
Enter your comment (no links allowed): Author:

Edit Page - Page History - Printable View - Recent Changes - WikiHelp - Search - RSS -
Page last modified on Friday 28 October 2005, at 10:01 GMT+8 - Viewed 2589 times