Fulfill arguments for Rhino.Command -Print?

I need to automate the -Print command, so that I run the code and the .pdf files I need just appear in the designated folder. Where can I find details on how to import the various arguments (Destination, Layout, Type of File, Filename, Scale etc) so i can code it properly? Command History only shows Print and the Print command brings up a big box with all the arguments, but I don’t want to type everything manually. Is there a source that explains how the various arguments are coded in Rhino commands?

by scripting you mean macro ?

you can develop your macro step by step with the macro editor:
_macroEditor
start with
-_print
first do each remaining step manually, then add it to the macro:

_-Print _Setup _Destination _Printer "Rhino PDF"

google to search this forum for this marco fragment:
site:discourse.mcneel.com "-_print"

check the macros posted here (color issue / bug)

or here:

Thank you Tom, this sort of command is exactly what I was looking for. But I could not find any index in Rhino literature to show what these commands do, I had to feel it out from the macro editor. Is there a list with all the commands, how they work and what arguments they take? The Rhino help for version 8 concentrates on GUI.