Neevia
PDFstamp
user’s manual
version 3.2
(http://neeviaPDF.com/PDFstamp)
ELECTRONIC END USER LICENSE AGREEMENT
For One (1) Computer
This is an End User License Agreement. This is a contract. If you install this software, you must abide by the terms of this agreement. This license is applicable to all software products sold by Neevia Technology. The term software includes upgrades, modified versions or updates. This software is licensed and not sold. Only a personal, non-transferable and nonexclusive right to use the Neevia products is granted to the end user.
The following are definitions that should be noted by the user:
COMPUTER
This is a single computer owned, rented or leased by a single individual or entity on which one or more applications load and execute software in the memory space of that computer. Software is installed on a computer for one or more users. All computers must be licensed to utilize Neevia software.
THIS IS A CONTRACT BETWEEN YOU AND NEEVIA TECHNOLOGY. YOU SHOULD CAREFULLY READ THIS LICENSING AGREEMENT AND MUST ACCEPT ALL THE TERMS AND CONDITIONS BEFORE INSTALLING THIS NEEVIA SOFTWARE. BY INSTALLING THE SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THE TERMS AND CONDITIONS OF THIS LICENSE. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT INSTALL THE SOFTWARE, AND DO NOT USE THE SOFTWARE. IF YOU VIOLATE THIS AGREEMENT, YOU WILL BE SUBJECT TO LEGAL ACTION BY NEEVIA TECHNOLOGY.
Subject to the payment of applicable license fees, Neevia Technology grants you a nonexclusive right to use its accompanying Neevia software product and related documents (the Software) in the terms and conditions provided as follow:
LICENSE
Until such time as Neevia has issued a valid serial number to you, you may only use this software for a 30-day trial period. You agree to remove any copies of the software after the expiration of the trial period. No license is issued to you until you are issued a valid serial number.
You cannot use a license for the software concurrently on different computers. You may install and use the Software in a single location on a hard disk or other storage device of one computer only.
(a) Home Use:
The primary user of each computer on which the Software is installed or used may also install the Software on one home or portable computer. However another person may not use the Software on a secondary computer at the same time the Software on the primary computer is being used.
(b) Server or Network Use:
You may keep one copy of the Software on a single file server only for the purposes of downloading and installing the Software onto a hard disk of up to the Permitted Number of Computers that are on the same network as the file server. No other network use is permitted.
(c) Operating system or Language versions:
If you receive two or more copies of the Software with different operating systems or language versions, the total aggregate number of computers on which all versions of the Software are used may not exceed the Permitted Number of Computers. You may not rent, lease, sublicense, lend or transfer versions or copies of the Software you do not use, or Software contained on any unused media.
(d) Archiving:
You may make one copy of the Software solely for archival purposes. If the Software is an upgrade, you may use the Software only in conjunction with upgraded product. If you receive your first copy of the Software electronically, and a second copy on media afterward, the second copy can be used for archival purposes only.
For all Neevia Technology products, you agree that you will only use our software on a server and all applications that will access the server will reside on the server and you will not permit remote access to the software except through your application residing on the server. You agree to surrender your license(s) if you violate this agreement. If you violate this agreement, you will not receive a refund upon termination of this license. You agree not to utilize our software to violate the copyright of any third parties. If you do violate the copyright of a third party utilizing our software, you agree to hold Neevia Technology harmless and will indemnify Neevia Technology for any such activity even if the violation is unintentional.
COPYRIGHT
The Software is owned by Neevia Technology and/or its suppliers, and is protected by the copyright and trademark laws of the United States and related applicable laws. You may not copy the Software except as set forth in the "License" section. Any copies that you are permitted to make pursuant to this Agreement must contain the same copyright and other proprietary notices that appear on or in the Software.
You may not rent, lease, sub-license, transfer, or sell the Software. You may not modify, translate, reverse engineer, decompile, disassemble, or create derivative works based on the Software, except to the extent applicable law expressly prohibits such foregoing restriction. You may use the trademarks to identify the Software owner's name, or to identify printed output produced by the Software. Such use of any trademark does not give you any rights of ownership in that trademark.
NO WARRANTY LICENSED SOFTWARE (S) - "AS IS"
The Software is provided AS IS. NEEVIA TECHNOLOGY AND ITS SUPPLIERS MAKE NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE MERCHANTABILITY, QUALITY, NONINFRINGEMENT OF THIRD PARTY RIGHTS, FITNESS FOR A PARTICULAR PURPOSE, AND THOSE ARISING BY STATUTE OR OTHERWISE IN LAW OR FROM A COURSE OF DEALING OR USAGE OF TRADE. THE ENTIRE RISK AS TO THE QUALITY, RESULTS BY USING THE SOFTWARE, AND PERFORMANCE OF THE SOFTWARE IS WITH THE END USER. Some states or jurisdictions do not allow the exclusion or limitation of incidental, consequential or special damages, or the exclusion of implied warranties or limitations on how long an implied warranty may last, so the above limitations may not apply to you or your company.
LIMITATION OF REMEDIES AND LIABILITY
NEEVIA TECHNOLOGY OR ITS SUPPLIERS OR RESELLERS SHALL NOT UNDER ANY CIRCUMSTANCE BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING BUT NOT LIMITED TO SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST SAVINGS, OR FOR ANY CLAIM BY A THIRD PARTY, ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE, EVEN IF NEEVIA TECHNOLOLGY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY.
GENERAL
This Agreement shall be construed, interpreted, and governed by the laws of the State of Florida, excluding the application of its conflicts of law rules. The United Nations Convention on Contracts of the International Sale of Goods, will not govern this Agreement. If any part of this Agreement is found void and unenforceable, it will not affect the validity of the rest of the Agreement, which shall remain valid and enforceable according to its terms.
If you need to redistribute this product with your own software products, you need to contact Neevia and negotiate a separate licensing and royalty agreement.
You may not ship, transfer, or export the Software into any country or used in any manner prohibited by any export laws, restrictions or regulations.
UPGRADES
You must be properly licensed to install upgrades to Neevia Software products. Neevia upgrades replace and or supplement the previous product that formed the basis for your eligibility to for the upgrade. You may use the upgrade only in accordance with the terms of this Agreement. Upgrades may not be separated and used on separate computers.
GOVERNEMENT USERS
For United States government users, the Software and associated Documentation are deemed to be "commercial computer software" and "commercial computer documentation", respectively pursuant to DFAR 227.7202 and FAR 12.212(b) as applicable.
ENTIRE AGREEMENT
You acknowledge that you have read this Agreement, understand it and agree to be bounded by its terms and conditions. It is the complete and exclusive statement of the Agreement between us, which supersedes any proposal or prior agreement, oral or written, and other communication between us relating to the subject matter of this Agreement.
CONTACT INFORMATION
neeviaPDF.com
103 NE 4th
Street
Fort
Lauderdale,
Florida 33301
Tel: (954) 893.9343
Email: info@neeviaPDF.com
Web: http://neeviaPDF.com
Installing and Uninstalling Neevia PDFstamp
How to register Neevia PDFstamp
Using the Command Line Interface to stamp PDF files
Using the Graphic User Interface to stamp PDF files
GUI tab - Graphic User Interface
Using the COM Interface to stamp PDF files
PDF Encryption related properties
PDF Initial View & Metadata related properties
Appendix B: Variables supported by Text / TextBox stamps
Example 1vb. Stamp a simple text watermark (Visual Basic)
Example 1delphi. Stamp a simple text watermark (Delphi)
Example 2vb. Stamp an image (Visual Basic)
Example 2delphi. Stamp an image (Delphi)
Before installing and/or using this product, please make sure you have carefully read the copyright notice and agreed to all of its terms. If you have any questions about the licensing agreement, feel free to call 1.954.981.9252 or send an email to sales@neeviaPDF.com.
To install Neevia PDFstamp:
download and save the http://neeviaPDF.com/prods/pdfstamp_setup.exe file to your hard disk. After downloading the file, double-click on it and follow the instructions. The installation procedure automatically detects your operating system, copies the needed files into your system directory and installs Neevia PDFstamp.
To perform an unattended (silent) installation launch the PDFstamp installer with /sp /verysilent /norestart command line switches. Here is the full list of supported switches:
/SP
Disables the "This will install... Do you wish to continue?" prompt at the beginning of Setup.
/SILENT, /VERYSILENT
Instructs Setup to be silent or very silent. When Setup is silent the wizard and the background window are not displayed but the installation progress window is. When Setup is very silent the installation progress window is not displayed. Everything else is normal so for example error messages during installation are displayed and the startup prompt is (if you haven't disabled it with '/SP-' command line option explained above). If a restart is necessary and the '/NORESTART' command is not used (see below) and Setup is silent, it will display a “Reboot now?” dialog. If it's very silent it will reboot without asking.
/NOCANCEL
Prevents
the user from canceling during the installation process, by
disabling the Cancel button and ignoring clicks on the close button. Useful
along with /SILENT.
/NORESTART
Instructs Setup not to reboot even if it's necessary.
/DIR="x:\dirname"
Overrides the default directory name displayed on the Select Destination Directory wizard page. A fully qualified pathname must be specified.
/GROUP="folder name"
Overrides
the default folder name displayed on the Select Start Menu Folder
wizard page.
/user="username", /company="company name", /serial="serial number"
Use these switches to pass the registration info (username, company name and serial number) to the installer.
To remove Neevia PDFstamp from your system:
1. Select Settings -> Control Panel from the Start menu.
2. In the Control Panel click Add/Remove programs and select Neevia PDFstamp from the list.
3. Click the Add/Remove button to remove the program. A confirmation prompt is displayed.
To perform an unattended (silent) uninstall, launch unins000.exe from the folder where PDFstamp has been installed with /verysilent /norestart command line switches. Here is the full list of supported switches:
/SILENT, /VERYSILENT
When specified, the uninstaller will not ask the user for startup confirmation or display a message stating that uninstall is complete. Shared files that are no longer in use are deleted automatically without prompting. Any critical error messages will still be shown on the screen. When '/VERYSILENT' is specified, the uninstallation progress window is not displayed. If a restart is necessary and the '/NORESTART' command isn't used (see below) and '/VERYSILENT' is specified, the uninstaller will reboot without asking.
/NORESTART
Instructs the uninstaller not to reboot even if it's necessary.
After you downloaded the product run the installer and when you get prompted enter your registration info. If you do not have a serial number and simply want to test Neevia PDFstamp select "Evaluate Product" then click Finish.
To register via the graphic interface run PDFstamp.exe click About -> Register -> copy and paste your licensing info.
Neevia PDFstamp is a tool that can be used to stamp PDF files via command line, through a COM object, .NET Assembly or Graphic User Interface.
Usage: CLstamp.exe <inputfile(pages)> [outputfile] [options]
<inputfile(pages)> PDF file to stamp.
(pages) Pages to stamp, "0" - From current to last page.
If empty all pages will be stamped
[outputfile] Output PDF file. If left blank it will be the same as the input file
-u <password> open password to input PDF file
-t <value> Text to stamp (for a list of supported variables check Appendix B)
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK
-f <value> Font name or font file. The default font is “Helvetica”
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -f Arial
or
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -f c:\windows\fonts\arial.ttf
-fs <value> Font size. The default size is 60
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -f Arial -fs 60
-rm <value> Text rendering mode
Can be one of the following values:
0 - Fill text, no stroke (default)
1 - Stroke text, no fill
2 - Fill then Stroke text
3 - Invisible
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -f Arial -rm 1
-fc <value> Text fill color. The default value is #000000 (black)
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -f Arial -fc #FF0000
-sc <value> Text stroke color. The default value is #000000 (black)
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -f Arial -rm 1 -sc #FF0000
-sw <value> Stroke width in points. The default value is 1
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -f Arial -rm 1 -sc #FF0000 -sw 1
-p <value> PDF file to use as stamp
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -p c:\watermark.pdf
-i <value> Image file to use as stamp. Supported formats: GIF, PNG, JPEG, TIFF, BMP
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -i c:\watermark.tif
-iw <value> Image width in pixels
-ih <value> Image height in pixels
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -i c:\watermark.tif -iw 100 -ih 200
-wm <value> Place stamp as:
0 - watermark: under the page content,
1 - stamp: over the page content (default)
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -i c:\image.jpg -wm 1
-x <value> stamp’s X coordinate. Default value: 0
-y <value> stamp’s Y coordinate. Default value: 0
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -x 100 -y 100
Note: the coordinate system’s origin is the lower-left corner.
-units <value> Measurement units to use for -x and -y parameters
Possible values:
1 inches
2 centimeters
3 millimeters
4 points (Default)
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -x 1 -y 1 -units 1

-r <value> Rotate stamp by <value> degrees. Default value: 0
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -i c:\image.jpg -r 30
-s <value> Scales stamp by <value> percent. Default value: 100
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -i c:\image.jpg -s 50
-op <value> Stamp opacity. A number from 0 to 100. Default: 100
-sf <value> Stamp file to use (for stamp file syntax see Appendix A: Stamp File Format)
Encryption settings:
-owner <value> Owner password to use for encrypting output PDF file
-user <value> User password to use for encrypting output PDF file
-rc4 Uses 128 bits RC4 encryption for encrypting output file
-aes Uses 128 bits AES encryption for encrypting output file
-nometa Does not encrypt PDF Metadata
-perms <value> PDF security permissions to use for encrypting output file
flags:
p - document printing is denied
c - changing the document is denied
s - selection and copying of text and graphics is denied
a - adding or changing annotations or form fields is denied
The following flags are defined for 128 bits encryption:
i - disables editing of form fields
e - disables extraction of text and graphics
d - disables document assembly
q - disables high quality printing
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -owner test -aes -perms pcs
-title <value> Sets output PDF file title to <value>
-author <value> Sets output PDF file author to <value>
-creator <value> Sets output PDF file creator to <value>
-subject <value> Sets output PDF file subject to <value>
-keywords <value> Sets output PDF file keywords to <value>
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -title "Daily Report"
-openmagn <value> Sets open magnification (in %) for output PDF file
-openpage <value> Sets open page for output PDF file
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -openmagn 50 -openpage 1
-pm <value> Specifies how output file should be displayed when opened in PDF viewer.
Possible values:
0 - Default view
1 - Page only
2 - Outlines (bookmarks) visible
3 - Thumbnail images visible
4 - Optional content group panel visible
5 - Attachments panel visible
6 - Full screen mode
-pl <value> Specifies page layout to use when output file is opened in PDF viewer.
Possible values:
1 - Displays one page at a time (default)
2 - Displays the pages in one column
3 - Displays the pages in two columns, with odd numbered pages on the left
4 - Displays the pages in two columns, with odd numbered pages on the right
5 - Displays the pages two at a time, with odd numbered pages on the left
6 - Displays the pages two at a time, with odd numbered pages on the right
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -pm 2 -pl 1
-hidemenubar Specifies if PDF viewer should hide menu bar when output file is displayed
-hidetoolbar Specifies if PDF viewer should hide toolbar when output file is displayed
-hidewindowui Specifies if PDF viewer should hide user interface elements when output file is displayed
-fitwindow Specifies if PDF viewer should resize the document's window to fit the size of the first displayed page
-centerwindow Specifies if PDF viewer should position the document's window in the center of the screen
Example:
CLstamp.exe c:\input.pdf c:\output.pdf -t WATERMARK -hidetoolbar -hidemenubar