I used to use FusionInvoice (that uses DomPDF) before switching to EspoCRM. I'm about to port some of the templates over from FI and can get back to you...