A way to screencapture and send to print with one button?

Like how could this be done thorough the python language for instance?