Is it possible to save the generated pdf file locally?
Yes. Just render the file to PDF and it will be shown in Acrobat Reader if installed. There you will find the save button in the Acrobat Tools list on the left side. If Acrobat Reader is not installed the Browser asks you if you want to download the file for later use.
You can also save the response as file from a script/application.
Example in VB.NET
Imports System.IO
Partial Class Test
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim url As String = "http://html2pdf.seven49.net/html2pdf/?UrlToRender=http://www.yahoo.com"
Dim webclient As New System.Net.WebClient()
webclient.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2;)")
Dim stream As Stream = webclient.OpenRead(url)
Dim reader As New StreamReader(stream, System.Text.Encoding.Default)
Dim streamWriter As New StreamWriter(Server.MapPath("Test.pdf"), _
False, System.Text.Encoding.Default)
streamWriter.Write(reader.ReadToEnd())
streamWriter.Close()
stream.Close()
reader.Close()
End Sub
End Class
Important: You have to use Default (ANSI) encoding. Otherwise the PDF file will be corrupt.