tags:

views:

21

answers:

1
A: 

To offer download from your browser u need add the header for being attachment...

header("Content-Disposition: attachment; filename=sample.pdf");

Add the above code at the start of the page and then proceed with the html2pdf conversion..

kvijayhari