Ole Raptor 19 Posting Whiz in Training

Hello everybody,
I have a module that I am trying to print a specific table. My print button works but it prints the whole page and I needing the table (receipt) to print.

Any suggestions or tips are greatly appreciated.

Thanks