PDF template created to generate invoices based on props object. Using jsPDF library. ( jsPDF is exported also, so it can be used without importing jsPDF separately. ) All this code works by using an ...
var doc = new jsPDF('p','pt','a4'); but while creating object with below method and specifying compression as true it shows garbage character on PDF. var doc = new jsPDF({orientation: 'p',unit: ...