Creating a custom dynamic stamp

advertisement
TIPS AND TRICKS
Creating a Custom Dynamic Stamp
TABLE OF CONTENTS
1 Description
1
Dynamic stamp
2
Steps to creating your own stamp
Description
You may have noticed the ability to use a dynamic stamp in Adobe® Acrobat® 6.0
software and wondered how to create your own. This tip reviews how to do that.
Dynamic stamp
Create your own dynamic stamp in Acrobat.
Figure 1. Using a dynamic stamp.
A dynamic stamp consists of the image of the stamp (in the example REVISED) and a
text form field with JavaScript that creates the dynamic information (figure2).
Figure 2. A dynamic stamp consists of the PDF image and a text form field with JavaScript.
Your dynamic stamp can be stored in one of two locations:
➤
[install directory]\plug_ins\Annotations\Stamps\[language]
➤
[user directory]\Application Data\Adobe\Acrobat\6.0\Stamps
Steps to creating your own stamp
Step 1. Choose Tools > Commenting > Stamp Tool > Create Custom Stamp.
Step 2. Select the file you want to be your custom stamp. This can be a PDF document, a graphic
(*.tif, *.bmp, *.gif, *.jpg, *.png, *.pcx), a native Microsoft Office document (*.doc, *.xls, *.ppt),
an AutoCAD® drawing, or even an HTML page. Select a category and a name for your stamp.
When you select OK, your stamp is automatically created in the Application Data directory
(c:\Documents and Settings\myname\Application Data\Adobe\Acrobat\6.0\Stamps). The actual
name of the PDF stamp created will be a hash of the category and name.
To determine the stamp you just created, sort by
Date Modified. The newest one is your stamp.
Step 3. Open the PDF file and add a text form field. Add JavaScript to the form field to display the
dynamic information. In this sample, there is a custom calculation script.
You can go to [install directory]
\plug_ins\Annotations\Stamps\[language]\Dynamic.pdf
and copy one of the form fields from there as a
starting point.
FOR MORE INFORMATION
If you’d like to provide feedback on this tip or if you
have questions, send e-mail to Lori DeFurio,
Developer Evangelist.
Adobe Systems Incorporated • 345 Park Avenue, San Jose,
CA 95110-2704 USA • www.adobe.com
Step 4. Save the PDF file. You now have a dynamic custom stamp.
Adobe, the Adobe logo, Acrobat, Adobe Portable Document Format,
Reader, LiveCycle, LiveCycle Designer, Adobe Intelligent Document
Platform are either registered trademarks or trademarks of Adobe Systems
Incorporated in the United States and/or other countries. All other
trademarks are the property of their respective owners.
© 2005 Adobe Systems Incorporated. All rights reserved. 5/05
Creating a Custom Dynamic Stamp
2
Download