passing parameters to report and print

From a form i would like to print report. So i created a report variable. Here i would need to pass some parameters too. Code is something like this

clear(rpt),xx2); ← passing parameters to a function in the report


But I would just like to print report directly. Meaning to say directly sending report to the printer.

How can i do that? Is that possible in my case?



This will suppress the request form and the report will output directly to the default printer.