TeX::AutoTeX::StampPDF - watermark PDF files
This documentation refers to TeX::AutoTeX::StampPDF version 188.8.131.52
use TeX::AutoTeX::StampPDF qw(stamp_pdf);
This module modifies a given PDF file. It prints an arbitrary text string (within certain length limits) onto the left edge of the 1st page of a well formed PDF file.
This is intended to be used to put the arXiv stamp onto PDF-only and pdflatex submissions, but any type of "watermark" text string is possible.
Non adjustable settings are:
The single subroutine exported by this package is
stamp_pdf takes 2 arguments,
the name of a PDF file,
which must be apt to be opened
and a reference to an array,
which contains a text string in its
A backup file of the original PDF is created temporarily,
thus the current working directory has to be writeable by euid.
The reason for the second argument to be a reference to an array is that we intend to add an associated hyperlink to the stamp,
which will be paired with the
Current limitations of CAM::PDF make this difficult.
throw a TeX::AutoTeX::FatalException
The placement of the stamp is tuned to US letter size paper and dimensions are hard-coded. This is easily adaptable to other paper sizes if necessary.
Please report bugs to www-admin
Thorsten Schwander <firstname.lastname@example.org>
Copyright (c) 2007 - 2011 arxiv.org http://arxiv.org/help/contact
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.