Issue Description:
Batches failing in Folder import module due to PDF file produced in Word 2016.
Error Message:
Exception in breaking the input file. The command: “[gs, -dNOPAUSE, -r300, -sDEVICE=tiff24nc, -sCompression=lzw, -dBATCH, -dNumRenderingThreads=64, -sOutputFile=/ephesoft/ShareFolders/Encore_SG_v1/BC1F_ephesoft_17-01-201803_16_33/_pdf_processing_folder/1-%04d.tif, /ephesoft/ShareFolders/Encore_SG_v1/BC1F_ephesoft_17-01-201803_16_33/_pdf_and_tiff_backup/1.pdf] executing in the working directory: “/usr/local/bin” failed to execute successfully due to: Process execution Time-out
Please note that above Exception / Error Message may be due to some other error as well. The only way you can make sure that Folder Import module is failing due to file produced in Word 2016 is to execute the ghostscript command using command line: Reference wiki link
ROOT CAUSE:
Current version of Ghostscript doesn’t comply with PDF files produced using Microsoft Word 2016.
WORKAROUND:
NOTE: Please note that these upgrade steps are only tested on LINUX Versions for Ephesoft Transact 4.1.2.0. It is expected that customer is following the below steps if they are on similar environment. If not then this issue is fixed in Ephesoft Transact 4.5 and will need to wait for the resolution. It is expected that different engine will be used to create PDF files.
Current workaround for this version is to upgrade Ghostscript to version 9.22
Please find below steps to upgrade Ghostscript 9.22 on Linux environment.
Steps to upgrade Ghostscript –
- Download the ghostscript-9.22-linux-x86_64.
tgz file Ghostscript AGPL Release ( based on system 32bit/64 bit){http://www.ghostscript. com/download/gsdnld.html} - Extract and copy “gs-922-linux_x86_64”
- Rename file using following command: mv gs-922-linux_x86_64 gs
- Give permissions to file as : chmod 755 gs
- Now check where the current Ghostscript is installed using command- Type gs
- Now rename existing Ghostscript using below command on path where current Ghostscript is installed: Mv ${current_file_path}$ ${new_file_path}$
- Execute following command – ln -s /path_where_new_gs_copied_
with_file_name/ /path_where_current_gs_ installed_with_file_name/
After upgrading GS restart the ephesoft service and restart the batch.