From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 14:15:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03DEC1065670 for ; Tue, 1 Jun 2010 14:15:18 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id D6F058FC08 for ; Tue, 1 Jun 2010 14:15:17 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1OJSEt-0000Ge-Bc for freebsd-questions@freebsd.org; Tue, 01 Jun 2010 09:14:44 -0500 Message-ID: <4C0515F3.7060006@identry.com> Date: Tue, 01 Jun 2010 10:15:15 -0400 From: John Almberg User-Agent: Postbox 1.1.4 (Macintosh/20100408) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Add watermark to PDF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 14:15:18 -0000 I've just spent a couple hours googling for an answer to this question without success... This is probably a bit off topic, but this list seems to be able to come up with answers to questions that stump other lists, so... I would like to add a customized footer (a stamp or watermark) to an existing PDF, like the guys at Pragmatic Programmers do with their PDFs. So basically this script would have to read in the PDF and (ideally) a plain text file, and output a PDF with the plain text merged into the PDF as a footer. Anyone know of an existing utility that might do something like this? Probably not, so anyone know of a PDF library that I could use to roll my own? I'm competent in Perl, PHP, and Ruby, and at this point, would be willing to learn Sanskrit if it could solve this problem for me. Unfortunatley, I've never done any PDF programming, so not quite sure where to start. Any ideas, much appreciated. -- John