I'm looking to automate the conversion of Office docs to PDF format. Obviously it's possible via "Save as pdf..", but I'm not sure how to automate it, or if it's possible.
I can automate conversion for 'generic' filetypes (txt, jpg etc.) using cupsfilter, but not for Office documents. (I tried using cupsfilter with an .xls, and it stated "Unable to determine MIME type of ABC.xls", but even with that fixed I'm sure it would complain about the lack of an appropriate filter?)
Anyone know how to do this? A command-line option would be ideal, I guess I can try UIScripting if all else fails. (Office is installed on the target machine).
Any help much appreciated!
I can automate conversion for 'generic' filetypes (txt, jpg etc.) using cupsfilter, but not for Office documents. (I tried using cupsfilter with an .xls, and it stated "Unable to determine MIME type of ABC.xls", but even with that fixed I'm sure it would complain about the lack of an appropriate filter?)
Anyone know how to do this? A command-line option would be ideal, I guess I can try UIScripting if all else fails. (Office is installed on the target machine).
Any help much appreciated!