Is it ever a good idea to print money?

you are missing the point.