Home > Products Windows > HTML Converter


VeryPDF HTML Converter FAQ


1. How to set page breaker during HTML to PDF conversion?
2. How to register HTML Converter Command Line product?
3. How to split and merge PDF files with HTML Converter Command Line product?
4. Does HTML Converter support CSS style page breaker?
5. Can I call htmltools.exe from C#, ASP, ASP.NET, VB, VC, Delphi, ect. languages to convert my HTML files to PDF files?

6. How to convert HTML to Text by command line?
7. How to convert RTF to PDF by command line?
8. How to convert Word (DOC) to PDF by command line?
9. How to call VeryPDF HTML Converter Command Line from web programing languages C#, ASP, etc. ?


1. How to set page breaker during HTML to PDF conversion?
A: You can use "-width" and "-height" parameters to set the paper size for HTML to PDF conversion, you can also use "-emfheight" parameter to break a long html page into a multi-page PDF file, for example,

htmltools.exe -nocenter -width 612 -height 792 -emfheight 792 "/pdfcamp/convert-html-to-pdf.html" "C:\out.pdf"

The unit is point for "-width", "-height", "-emfheight" parameters, you can convert from inch to point easily, for example,
8.5inch = 8.5x72 = 612pt
11inch = 11x72 = 792pt

Additionally, VeryPDF has three products which can convert HTML files and Web pages to PDF documents, please look at following page,
/pdfcamp/convert-html-to-pdf.html

2. How to register HTML Converter Command Line product?
A: You may run following command line to register the HTML Converter Command Line product, for example,

htmltools.exe "-$" "XXXXXXXXXXXXXXXX"

You can also run following command line to convert your HTML file to PDF file,

htmltools.exe "-$" "XXXXXXXXXXXXXXXX" "www.google.com" "C:\out.pdf"

Please replace "XXXXXXXXXXXXXXXX" with your License Key which issued by VeryPDF after you purchased our product.

3. How to split and merge PDF files with HTML Converter Command Line product?

A: VeryPDF HTML Converter is a HTML Converter, it can also be used to split and merge PDF files, for example,

htmltools.exe -burstpdf "C:\201809.pdf" "C:\out"
htmltools.exe -mergepdf "C:\001.pdf|C:\002.pdf|C:\003.pdf" "C:\out.pdf"

htmltools.exe does split and merge PDF files quickly, it does compress the PDF files automatically during processing.

4. Does HTML Converter support CSS style page breaker?
A: No, HTML Converter doesn't support CSS style page breaker, because VeryPDF HTML Converter is base on display technology to render HTML file, it is same as the display effect in the MS Internet Explorer application (WYSWYG).
However, you can use "-width", "-height", "-emfheight" parameters to force split a long HTML file into a multi-page PDF file, for example,

htmltools.exe -nocenter -width 612 -height 792 -emfheight 792 "/pdfcamp/convert-html-to-pdf.html" "C:\out.pdf"

VeryPDF has other products to convert HTML files to PDF files base on printing technology, such as DocConverter COM and docPrint products, DocConverter COM and docPrint products are support CSS style page breaker during HTML to PDF conversion.

5. Can I call htmltools.exe from C#, ASP, ASP.NET, VB, VC, Delphi, ect. languages to convert my HTML files to PDF files?
A: Yes, you can call htmltools.exe from any program languages.

See Also:

Metafile/RTF/Image To PDF Command Line
Convert Windows Metafile (EMF, WMF), RTF and Image formats to Vector and Raster PDF files directly, it doesn't depend on Printer Drivers.


Document Converter Professional (docPrint Pro)
docPrint Document Converter Professional is a software product that dynamically converts MS Office 97/2000/XP/2003, WordPerfect, HTML, AutoCAD DWG, PostScript, EPS, PDF, MS Visio and many other document types to PDF, PostScript, EPS, JPEG, TIFF, PNG, PCX and BMP etc formats. It works in both GUI version and Command Line version. With docPrint Document Converter Professional you can convert your documents from and to PDF, EPS, PS, JPEG, TIFF, BMP, PCX, PNG files easily. (See user manual)

DocConverter COM Component (+HTML2PDF.exe)
Convert HTML, DOC, RTF, XLS, PPT, TXT etc. files to PDF files, it is depend on PDFcamp Printer product.

Tip: How to convert a HTML file or Web Pages to PDF file via Command Line?

If you encounter any problems, please feel free to contact us at support@verypdf.com.

Contact:
    support@verypdf.com
    /