is there any easy to use method to print a receipt directly from pressing a button instead of having report and than printing manually?

i know .printform but is there any way we can just print the part of the form? like by specifying cordinates?

thanks.