Extending print.py

I would like to create a new method in the frappe.templates.pages.print.py to be able to print in RTF format, I don’t want to make another script file and I don’t want to update the same file, I want this to externally exist.

Is there any possibility for that?

Use CSS (?)

It’s more than CSS, I’d like to export file as RTF, make a method like print_pdf