Plugin appears to be ignored by Adobe Reader ¶ The italics in the command line indicate placeholders that you must replace with meaningful values. The following example command line shows the options and parameters you supply to the SignPlugin tool. (See Enabling the plugin for Adobe Reader) cf option followed by the location of the file that contains the Reader Integrated Key provided by Adobe. (See Creating the public and private key pairs) This file was produced by the MakeKeys tool. kp option followed by the location of the file that contains the key pair. Run the SignPlugin tool, providing it with the following parameters: Go to the directory that contains the SignPlugin tool. You can also download a ZIP file that contains this tool from. You can find this tool in the PluginSupport/Tools/Reader-enabling Tools directory in the Acrobat SDK. The SignPlugin tool is a command line (Terminal tool). Replace the placeholders with a meaningful string:Īfter receiving the Reader Integrated Key from Adobe, use the SignPlugin tool to enable the plugin for Adobe Reader. The following example command line shows the options and parameters you supply to the MakeKeys tool. There is no limit on the length of the string. The random string must contain only letters and digits. The MakeKeys tool uses the string to generate a random number. The file name cannot exceed the platform limitations on file name lengths.Ī random string that you create. pk option followed by the name of the file in which to store the public key. The file name cannot exceed the platform limitations on file name lengths. kp option followed by the name of the file in which to store the key pair. Run the MakeKeys tool, providing it with the following parameters: Go to the directory that contains the MakeKeys tool. Open a Command Prompt (Windows) or Terminal (Mac OS). The MakeKeys tool is a command line (Terminal tool). Use the MakeKeys tool to create the public and private key pairs for your plugin. Open and rebuild your Visual C++ plugin project.Ĭreating the public and private key pairs ¶ Remove the AcroColorHFT define by removing the following line from the file:Īdd the READER_PLUGIN define by adding the following to the file: Open the AcroDspOptions.rsp file in a text editor.Ĭhange ACRO_SDK_LEVEL to 0x000A0000 from 0x00090000 Locate the AcroDspOptions.rsp file in the SDK’s /PluginSupport/Samples directory. To define the READER_PLUGIN symbol in a Win32 project: To define the READER_PLUGIN symbol in a Visual C++ project (Windows): On the Build tab, under the GCC 4.0 Preprocessing settings, add READER_PLUGIN=1 to the Preprocessor Macros setting. ![]() To define the READER_PLUGIN symbol in a Mac OS project:Īdd the READER_PLUGIN symbol to the Xcode project-level build settings by selecting the plugin project in the Groups & Files pane and opening the Project Inspector. With this symbol defined, only those HFTs available in Adobe Reader are acquired. To avoid this problem on Windows and Mac OS, ensure that the READER_PLUGIN symbol is defined. Before building an Adobe Reader plugin, you must set up your project properties with preprocessor definitions for READER_PLUGIN.Ī common cause of difficulty when Reader-enabling a plugin is that the plugin attempts to acquire one or more Host Function Tables (HFTs) during startup that are not available within Adobe Reader.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |