How to print a pdf from python?

Its not clear to me that the Print command can be fully scripted. For example, if you do this:

_-Print _Setup _Destination _Printer "Microsoft Print to PDF" _Enter _Enter _Go

You will see a file save dialog box when you should be prompted for the name of the file to create.

http://mcneel.myjetbrains.com/youtrack/issue/RH-34321

The reset of the setup should be scriptable, though.