FAQ

Bookmarklets

Save page as PDF <- drag this to your bookmarks bar

I can't drag this link in Internet Explorer! Help!

If you really don't want to upgrade to Firefox, then follow the following instructions:

  1. Right click on the bookmarklet above and click on Add to Favorites...
  2. When warned you might be adding an un-safe link to your favorites, click Yes. All the link does is open a new page, and providing it the current page's URL.
  3. Click on Create in >> to reveal your bookmark folders
  4. Select the Links bookmark folder
  5. Click OK

Sample Code - using the web service

Sending a URL and getting a PDF in return - Method: Url2PdfDoc

Dim objHtm2Pdf As New htm2pdf.htm2pdf
Dim pdfBytes As Byte() = objHtm2Pdf.Url2PdfDoc("http://www.htm2pdf.co.uk/", "")
Dim objFileStream As System.IO.FileStream
objFileStream = New System.IO.FileStream("c:\apdf.pdf", System.IO.FileMode.Create)
objFileStream.Write(pdfBytes, 0, pdfBytes.Length)
objFileStream.Close()

Sending HTML and getting a PDF in return - Method: Htm2PdfDoc

Dim objHtm2Pdf As New htm2pdf.htm2pdf
Dim pdfBytes As Byte() = objHtm2Pdf.Htm2PdfDoc(WebBrowser1.DocumentText, "<your unique key here >")

Dim objFileStream As System.IO.FileStream
objFileStream = New System.IO.FileStream("c:\aDocument.pdf", System.IO.FileMode.Create)
objFileStream.Write(pdfBytes, 0, pdfBytes.Length)
objFileStream.Close()

Back to homepage

Our new website to create screenshots of websites www.url2jpg.co.uk

And another website to resize images www.resizo.com