HTML to PDF
ABCpdf is great for converting HTML to PDF. It supports HTML 3.2, HTML 4.0 and HTML 5.0 with CSS.
ABCpdf treats HTML as a media type so you can place your HTML content anywhere you like on your PDF pages. You can have HTML headers, footers or content - it simply depends on where you tell ABCpdf to place it.
You can place your HTML in one area or you can flow it between areas. You can even have HTML flowed between multiple columns over multiple PDF pages.
ABCpdf takes advantage of CSS page break tags for optimal control over page breaking. It operates simply and easily producing perfect HTML results every time.
ABCpdf lets you import HTML from local or remote sites. You can import ASP, Cold Fusion or indeed any kind of static or dynamic content. You can even generate your HTML and import it directly.
And because this functionality is integrated directly into ABCpdf you get all the power and flexibility of ABCpdf whenever you want to import HTML.
HTML to PDF is Simple
We create an ABCpdf Doc object, add our URL and save. That's it!
// C# Doc theDoc = new Doc(); theDoc.AddImageUrl("http://www.google.com/"); theDoc.Save(Server.MapPath("htmlimport.pdf")); theDoc.Clear();
[Visual Basic] Dim theDoc As Doc = New Doc() theDoc.AddImageUrl("http://www.google.com/") theDoc.Save(Server.MapPath("htmlimport.pdf")) theDoc.Clear()
We get the following output.
HTML to PDF is Sophisticated
The mechanism we invented for placed HTML content has proved enormously successful. Indeed it has been so successful that a number of other companies have copied it!
However there's more to this kind of functionality than a simple mechanism and as the creators of this approach we have more experience in this area than anyone else. You can see this sophistication in the types of conversion options offered by ABCpdf.
- Convert HTML forms to PDF forms
- Convert HTML links to PDF links
- Convert within HTML links (e.g. anchor fragments) to within PDF links
- Convert links between multiple HTML pages in a PDF document to within PDF links
- Insert page breaks using the "page-break-before", "page-break-after" and "page-break-inside" styles
- Avoid page breaks using the "page-break-inside: avoid" style
- Tag elements of HTML and determine their location in the output PDF document
- Server-side calback code to modify the HTML DOM before a page is inserted
- Add Flash and Movies
- Convert Flash to resolution independent vector PDF content
- Full control over font substitution and embedding
- Support for the MHT file format
- Optimized paging for very large HTML documents
If you're comparing like with like then bear these features in mind. Really there is nothing which comes close to ABCpdf.