(_-Print) command with Rhinocommon

Hello everyone,

I am looking for a way to use the _-Print command and the print settings in python using rhinocommon to be able to export multiple drawings as pdf with vector graphics.

Most of the examples that I found are using the ViewCapture but this is not what I am looking for because this only gives me a .jpeg or a .png.

I would really appreciate it if someone has some idea or solution on how to do this!!!

There is a script in this thread that you can use as an example.