How to send parameters in run time to printforamt

i need to make a custom page to print the report with out save the parameters in database (single doc)
this page will contain some fields to catch the report parameters from the user
and have button when click on it will print the report with this parameters

how to achieve this

many thanks