Downloading a pdf file with an option for renaming

Just an idea - what if you used Documint to create the PDF documents and in that process, rename the target files.

Another approach - we rename all documents in our automated (custom) process.