The following VBScript example demonstrates the SetOutputSecurity methods, which add 40-bit or 128-bit security to the output PDF. The SetOutputSecurity methods enable features such as disabling the use of print or copy commands with the output PDF or requiring a password to view the file. Here, SetOutputSecurity128 is used with the PSToPDF method, but with minor modifications you could use ImageToPDF or StartPrinting.
NOTE: You must call the security method before PSToPDF, ImageToPDF, or StartPrinting.
The information in this article is for the use of activePDF Customers and Evaluation Users Only. No part of this document may be transmitted or reproduced without the express written consent of activePDF.