html2pdf service registration and add

here is my code please merge