IBM to acquire Red Hat in deal valued at $34 billion. Business Content. Acquia: Tom Erikson steps down as CEO. Winnovative HTML to PDF Converter Winnovative HTML to PDF Converter for.NET is a library that can be integrated in ASP.NET and MVC web sites, Azure Cloud Services, Windows Forms and WPF desktop applications to convert URLs, HTML strings and streams to PDF, to SVG or to images. Listing: GoCloudz CPQ - PDF Generator for Salesforce Allow the provider to contact me by email, phone, or SMS about other products or services I might like Cancel Submit & Go SubmitContact MeVisit Provider. Note: This article is applicable if you are using PDF Generator capabilities of Adobe® LiveCycle® ES, ES2, ES3, ES4, Adobe Digital Enterprise Platform (ADEP), or Adobe Experience Manager (AEM) Forms. PDFs are ubiquitous across the web, with virtually every enterprise relying on them to share documents. Our paid-for commercial support package will enable your organisation to get the most out of jsPDF, from the latest version with additional features to integration into your current apps.
For AEM 6.2 Forms version of this help, see Install and configure PDF Generator.
This article is applicable if you are installing AEM forms on OSGi. For information, about installing AEM forms on JEE, see the documentation in the Installing, Upgrading, and Clustering AEM forms on JEE section in AEM forms help and tutorials.
AEM forms PDF Generator enables IT managers to centrally manage and control the creation of Adobe PDF documents throughout the enterprise. With it, employees can easily convert documents created within the organization to Adobe PDF files that can be viewed using the ubiquitous Adobe Reader® software. PDF Generator offers flexible deployment options, granular control over document properties, and feature sets that can meet the document conversion needs of every organization.
The following list contains non-AEM forms applications that PDF Generator can use for PDF generation on the server side. If you use any of these applications with PDF Generator, before configuring the PDF Generator, ensure that these non- AEM forms applications and AEM forms are installed on the same machine:
If you installed the PDF Generator module and configured it to convert files to PDF, for some file formats, you must manually set an environment variable that contains the absolute path of the executable that is used to start the corresponding application. The table below lists the environment variables for the native applications that you have installed.
Note:
All environment variables and respective paths are case-sensitive.
Note:
The environment variable OpenOffice_PATH is set to the installation folder instead of the path to the executable.
Note:
You do not need to set up the paths for Microsoft Office applications such as Word, PowerPoint, Excel, and Project, or for AutoCAD. The Generate PDF service starts these applications automatically if they are installed on the server.
Creating an environment variable on Microsoft Windows
Perform the following steps to create an environment variable on Microsoft Windows:
For Windows Server 2008 R2 and Windows Server 2012 install the Ink and Handwriting service. The service is required to open Microsoft PowerPoint files which use inking capabilities of Microsoft Office.
(OpenOffice only) Setting the PATH variable on Linux and UNIX
On Linux and UNIX, run the following command to set the PATH variable:
export OpenOffice_PATH=/opt/openoffice.org3
Configure Adobe Acrobat Professional (Microsoft Windows only)
The Acrobat Professional root directory is designated as [Acrobat root]. Typically, the root directory for Acrobat DC Pro is C:Program Files (x86)AdobeAcrobat 2015AcrobatAcrobat.exe.
Install and Configure Acrobat for use with PDF Generator
Validate Acrobat installation and copy the configuration files
The HTML-to-PDF conversion process is designed to use the settings from Acrobat that override the settings from PDF Generator.
Note:
This configuration is required to enable the HTML-to-PDF conversion process, otherwise this conversion type fails.
Enable support for Unicode fonts in HTML to PDF conversions
Note:
The HTML-to-PDF conversion fails if a zipped input file contains HTML files with double-byte characters in filenames. To avoid this problem, do not use double-byte characters when naming HTML files.
Copy the Unicode font to any of the following directories as appropriate for your system:
Note:
Ensure that the directory /usr/lib/X11/fonts exists. If it does not, create a symbolic link from /usr/share/X11/fonts to /usr/lib/X11/fonts using the ln command. Ensure that the courier fonts are available at /usr/lib/X11/fonts.
Note:
Ensure that you read and accept the license.
Change the file block settings for Microsoft Office
Change the Microsoft Office trust center settings to enable PDFG to convert older versions of Microsoft office documents.
Grant the Replace a process level token privilege (Windows only)
The User account used to start the application server should have the Replace a process level token privilege.
The local system accounts have the Replace a process level token privilege by default.
For the servers running with a user of Local Administrators group, the privilege must be granted explicitly. Perform the following steps to grant the privilege:
Configuring Windows installation (Microsoft Windows only)
During installation and Configuration of AEM forms, disable the User Access Control (UAC) Window.
Disable the Windows UAC on Windows Server 2008 R2 and Windows Server 2012 R2
To enable the UAC again, repeat the steps above and adjust the slider to a desired level before restarting your computer.
While converting a document to PDF using PDF Generator on Windows Server, Windows may report that the executable has encountered a problem and needs to close. However, it does not impact the PDF conversion as it continues in the background.
To avoid receiving the error, you can disable the Windows error reporting. For more information on disabling error reporting, see http://technet.microsoft.com/en-us/library/cc754364.aspx.
Perform the following steps before you install and configure the Publish instance:
Increase the maximum time-out value for ORB service
To increase the maximum time-out value, add properties to the Jacorb ORB provider OSGi configuration service. Perform the following steps to add the properties to the service:
You can specify any number of such properties. These properties are merged with the defaults provided in the aemds-jacorb.properties file. The file is embedded in the ORB provider bundle and passed to Jacorb during initialization. Since the custom properties are specified via the OSGi configuration, so the properties persist and survive server restarts.
Twitter™ and Facebook posts are not covered under the terms of Creative Commons.
Legal Notices | Online Privacy Policy
Because of the unique way LiveCycle PDF Generator ES invokes native applications to do what it does (convert native documents to PDF), there are a number of configuration steps that need to be strictly followed as a matter of best practice.
WINDOWS
————- 1) Determine the userID whose identity the J2EE appserver will “run as” 2) Login as that user and perform all installs (MS Office, Acrobat, LiveCycle). If Office has already been installed by your IT department as the ‘Local Administrator’ user, and if you do not have Local Administrator privileges, make sure that the user that the J2EE appserver will “run as” is a member of the local group ‘Administrators’. 3) Make sure the Print Spooler service is turned on and set to run automatically. The Acrobat install will not be complete otherwise. 4) Make sure that multiple versions of Acrobat are not installed on the same machine. If there are, uninstall all of them and re-start the server. 5) Ensure that the server disks are performant (at least 7,200 RPM, with at least 8 MB cache) because there is lots of file I/O involved 6) Set the ‘TEMP’ and ‘TMP’ user environment variables to a dedicated folder such as C:USER_TEMP (PDFG uses this) so that you control where file I/O occurs. This also helps with maintenance (cleanup of orphaned files) 6) Set the ‘TEMP’ and ‘TMP’ system environment variables to a dedicated folder such as D:SYSTEM_TEMP (Acrobat conversions use this folder) for the same reason as the previous step. 7) Write a batch script to cleanup those folders on server re-start
MICROSOFT OFFICE
———————-- 1) Install Microsoft Office, OpenOffice and other native applications before you install either Acrobat or LiveCycle. 2) Activate each application. Please note that in Office 2007, Word , Excel and PowerPoint can be activated together but Visio needs to be activated separately. 3) Start each Office application manually and address all dialogs (registration, user experience improvement etc). 4) Open Word. Disable “Auto Recovery”. 5) Set “Default file location” to a folder you can monitor and periodically cleanup such as D:OFFICE_TEMP 6) Do the same for Microsoft PowerPoint and Excel 7) Perform some Advanced customization. Microsoft Word offers a LARGE number of customizations which might help you get the best output.
ACROBAT
———-- 1) Install Acrobat before you install LiveCycle. 2) Start Acrobat. Check for updates and apply them. 3) Use it to convert a few documents (Word, Excel etc). Dismiss all dialogs that come up (registration, user experience improvement etc). This is absolutely CRITICAL. This is a major cause of problems. The user experience improvement dialog is especially insidious because it comes up only after a certain number of invocations. If you have a PDFG environment where things stop working after 2-5 invocations, chances are that this is the cause. 4) Perform a conversion manually using Word, Excel etc.
LIVECYCLE
————– 1) Install, configure and deploy LiveCycle 2) Verify that Acrobat_PATH is set. 3) If it applies to your scenario, ensure the following environment variables are also set – Notepad_PATH, Photoshop_PATH, WordPerfect_PATH, PageMaker_PATH, FrameMaker_PATH, OpenOffice_PATH 4) If you are running a full 64-bit environment, make sure that you also install a 32-bit JDK. Also ensure that the environment variable JAVA_HOME_32 is set to this JDK. Details here. 5) Perform a conversion using the LiveCycle Admin Console (navigate to Services->LiveCycle PDF Generator ES->Create PDF).
If the conversion fails, check the J2EE appserver’s log for details – JBoss (server.log), WebLogic (managed server log), WebSphere (SystemOut.log). In the case of WebSphere, the FFDC (First Fault Data Capture) logs might also provide detailed information. If these do not contain any useful information, check the Windows Event Log (Application).
To perform some investigations yourself, see here to get an idea of all of the file I/O that happens during a PDFG operation.
Winnovative's Pdf GeneratorWe received the following comment from Howard Treisman:….In order for PDFG to work correctly, you need to activate Acrobat. In order to activate Acrobat, you need internet access. If you do not activate Acrobat, you will get strange, intermittent and misleading errors at runtime. Many production servers sit behind firewalls, and do not have access to the internet.What is the solution to this issue…?One solution is to temporarily allow access to the internet. I think Yo (cc-ed) did some work to try to manually create the registry entries. It seems crazy that you can’t install Acrobat in some sort of “server-mode”. Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |