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
2010-10-06 06:44:20