Applescript Request: Print to pdf

If it is at all possible, it would be really nice if the print settings/target printer combination in applescript allowed one to specify the output as PDF (i.e. not sent it to a real printer) and to designate the output file name.

With a little outside perl scripting or automator work, this script option would allow an applescript to aggregate big folders of images into a single pdf, which is something I fairly strongly would like to be able to do.

Please tell me that there’s nothing in pdfkit that makes this impossible!



As far as I remember it’s not possible to print PDF documents via AppleScript without using system events to script the print dialog (which is of course neither reliable nor application- or language-independent).