I recently purchased a copy of the pdf extractor. I have a php script that is calling the command line and extracting text from pdfs and inputting them into a database. I have a batch file that is calling the php script. I can run the script manually as myself and it runs perfectly fine. I run it as a scheduled job as either myself or as a user with the same permissions and it does not extract the text. I cannot find any error that is occurring except I get errors in the event log every few times that indicate the application might have crashed.
I am running this on Server 2008 R2. Please let me know if you have any suggestions as to how to proceed.
Maybe your PHP script hasn’t enough permission to launch the EXE application, please add "Everyone" user account to the folder where pdf2txtocr.exe application locate, give "Full Control" permission to "Everyone" user account, then you can call pdf2txtocr.exe application from your PHP code to convert PDF file to text file properly.