I need to amend an existing PDF such that the current date is output in a
header/footer each time the document is printed. I have tried a couple of
solutions without success.
I have worked out that you can add a javascript action on the WILL_PRINT event
but how to I get the javascript to insert the current date on each page?
I know you can use the function addWatermarkFromText to insert text on a
document but how do I get the current document within a global javascript
function?
Alternatively the javascript function could update a field but how do I insert
the field into the existing PDF document on each page or header/footer?
Any other ideas are welcome.
Many Thanks
Dave
Dave Pick
Focus Software Ltd
Cranford House
Kenilworth Road
Leamington Spa
Warwickshire
CV32 6RQ
Tel: +44 (0) 1926 468300
Fax: +44 (0) 1926 468400
Direct: +44 (0) 1926 468397
[EMAIL PROTECTED]
www.focus-solutions.co.uk
Copyright material and/or confidential and/or privileged information may be
contained in this e-mail and any attached documents. The material and
information is intended for the use of the intended addressee only. If you are
not the intended addressee, or the person responsible for delivering it to the
intended addressee, you may not copy, disclose, distribute, disseminate or
deliver it to anyone else or use it in any unauthorised manner or take or omit
to take any action in reliance on it. To do so is prohibited and may be
unlawful. The views expressed in this e-mail may not be those of the Focus
Solutions Group but the personal views of the originator. If you receive this
e-mail in error, please advise the sender immediately by using the reply
facility in your e-mail software. Please also delete this e-mail and all
documents attached immediately. Many thanks for your co-operation.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/