Print customer open ticket

So yes, you want to setup a print bill button that prints the unpaid ticket, heres one way you could do it, might need to slightly alter for your needs