Reputation: 1249
Have never seen/used Adobe LiveCycle but have been asked to provide a smoke test for the installation - specifically to provide a script that will pick up a postscript file from the local drive and convert it to a pdf.
What is the simplest way to do this using LiveCycle and from the machine on which LiveCycle is installed?
I see from a search on the internet there is support for CLI and JavaScript but I would appreciate it if someone could at least point me in the right direction as there is quite a lot of reading to do and I need to produce the script yesterday actually.
I found this link which shows how to do it via a web service and java using API's but there is quite a lot of prep/effort and the config isn't really viable in this scenario:
Many thanks in advance for any guidance on this.
Regards
Kevin
Upvotes: 0
Views: 81
Reputation: 1919
There is no straight-forward one liner script to perform what you want. Unless you can manage to implement a web-service call to the distiller service using CURL.
You can use Java/Groovy to use the EJB endpoint, or any language to use the SOAP endpoint to invoke the distiller service.
Alternatively you you can configure the DistillerService in LiveCycle Admin UI (Home > Services > Applications and Services > Service Management > Configure DistillerService) to have a watched folder endpoint. This would automatically pickup files from a folder, convert them to PDF.
You can also automate watch folder configuration as explained here.
Upvotes: 1