Print 2 record summary with 1 function or another

Print 2 record summary with 1 function or another

Hello,
how is it possible to print more that 1 record summary with 1 function or another. By example i want print the invoice and another record summary automaticlly ?

thanks you