Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
342 views

<(CM) Support tip> PDF rendition request fails with Error: 87 - PrintOnstreamError_InvalidParameter

Incident description :  

PDF Rendition requests fails due to the following error :

Error: Failed to set printer driver text overlay options. Printer driver API error. Call to PrintOnstreamSetPrinterDefaults() failed. Error: 87 - PrintOnstreamError_InvalidParameter.

Cause                         :   

This can be due to that different size config structure is used , which causes Printer Driver API fail to initialize. It could be due to the version of OnStream Printer driver used is not compatible with CM Render.

Resolution                :

1,   Check the file version of  PrintOnstreamAPI.dll is 3.5.3.

Navigate to CM Setup directory : C:\Program Files\Hewlett Packard Enterprise\Content Manager , and find the file  PrintOnStreamAPI.dll. Check the file version.

2, Check the version of OnStream Printer Driver installed on the server

Navigate to the OnStream set up directory C:\Program Files\Onstream PrintOnstream on the Render server and check the file version for the EXE and DLL files under the directory.  If the file version for the files is  3.5.3.

3,  If the PrintOnStreamAPI.dll version and/or OnStream Printer File driver version is 3.5.3 and CM Render version is  9.1.0.914,  then  the following steps needs to be taken to get this rectified :

3.1  If OnStream Printer Driver version is  3.5.3, then OnStream Printer Driver needs to be uninstalled and OnStream Printer Driver 2.2 ( MSI setup file comes with CM 9.1.0.914 setup image ) needs to be installed.

3.2  If the PrintOnStreamAPI.dll file version is also 3.5.3,   this file needs to be replaced by a version 2.2 PrintOnStreamAPI.dll (can be get from a CM 9.1.0.914 Render server ).

Before uninstalling OnStream Printer Driver 3.5.3 ,  CM Render service needs to be stopped, and after OnStream Printer driver 2.2 is installed,  CM Render Server machine needs to be rebooted for the change made to take effect.

 

0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.