Generate HTML page to PDF

can any one know how to convert html page to pdf?

Do you want to do it via Programming? If yes then which language VB.NET or C# …
If No …
Then try doing a simple google search for Online PDF Convertors they convert any file to PDF on the go…

The easiest way is probably with a tool like CutePDF. This is free to download, and installs a PDF printer driver on your computer. You can then go into any application (including internet browser), and when you go to print, there will be a printer called “CutePDF Writer”. Choose that and it will prompt you to save the file in PDF format.

Please note that this method will use the “print” stylesheet, not the “screen” stylesheet.

The simplest way to convert HTML to PDF from .NET is to use a component like ABCpdf or sililar. e.g.

Doc doc = new Doc();
doc.AddImageUrl(“example.htm”);
doc.Save(“example.pdf”);
doc.Clear();

The example above is written in c# and shows how to convert a single HTML page. The product’s documentation, freely available, contains example code written in c# and VB.NET. There you’ll find an example of how to convert multiple pages.