<(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.
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.
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 18.104.22.1684, 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 22.214.171.1244 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 126.96.36.1994 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.