ng-html-to-pdf-save
ng-html-to-pdf-save copied to clipboard
Multi-page PDF
I have a fairly large HTML block - enough to cover multiple PDF pages.
When implementing ng-html-to-pdf-save, the PDF only saves one page - therefore the HTML block gets cut off.
Is there a way to allow multi-page PDFs?
just replace the following line on saveHtmlToPdf.js onePageCanvas.setAttribute('height', 980); for this onePageCanvas.setAttribute('height', $(window).height()); and you will get all the pages needed :)
I have changed in saveHtmlToPdf.js file but i haven't get div data in pdf. i am getting partial data on pdf page is there any way to show all data of block in pdf.
Make sure that all your content belongs to the div pdf-save-content="someid"