change pdf viewer plugin from html2pdf to mpdf

convertion to pdf view in progress