Hello,
I've read the KB articles about dcomcnfg and set those permissions, rebooted. No luck.
Batch script runs fine and makes a PDF from Word documents when ran manually. Run as a scheduled task though and it just hangs 'Running', no output in a log, and no PDFs appear.
"D:\Program Files (x86)\docPrint Pro v7.0\doc2pdf.exe" -f 9 -i %InvoiceBaseDir%Temp-print-queue\20*.doc -o %InvoiceBaseDir%PDFs\
Customer
-------------------------------
Got it working!
Unticked the 'only run if user logged on' so it popped up the cmd window.
It then asked for the purchase key (even though I had done this already).
Put it back to run even if not logged on, now works 🙂
Thanks
Customer
-------------------------------
Thank you for your message, if we can be of any other assistance, please feel free to let us know.
Thank you and have a nice day!
See Also:
Help with automating doc2pdf.exe from a scheduled task
https://www.verypdf.com/wordpress/201401/help-with-automating-doc2pdf-exe-from-a-scheduled-task-40264.html
Run docPrint Pro doc2pdf.exe from a Service Account to convert office files to PDF files
https://www.verypdf.com/wordpress/201310/run-docprint-pro-doc2pdf-exe-from-a-service-account-to-convert-office-files-to-pdf-files-39067.html
Run docPrint Pro doc2pdf.exe from a Service Account to convert office files to PDF files
https://www.verypdf.com/wordpress/201310/run-docprint-pro-doc2pdf-exe-from-a-service-account-to-convert-office-files-to-pdf-files-39067.html
doc2pdf.exe hangs when running as Windows Service
https://www.verypdf.com/wordpress/201603/doc2pdf-exe-hangs-when-running-as-windows-service-42491.html