Office 2019 Compatible!

Convert HTML to PDF easily with Softinterface tools.


Customers

Document Conversion

Great customer service, prompt attention to our requirements and lightening speed development has been my experience with the staff at Softinterface Inc. Within a few hours of installing... Bruce King, IBM Canada, Toronto, Ontario

File Conversion

Adobe Systems Inc. Chooses 'Convert Doc'.  A custom site license has been signed by Adobe allowing them to install 'Convert Doc' on their servers.  They will be using it specifically to do Doc to HTML conversions. "We look forward to using your product and potentially working together in the future", Bob Free, Adobe


Click for the BBB Business Review of this Computers Hardware, Software & Services in Santa Monica CA
Facebook icon
Directions for Specific Conversions
 

 

 

Click the links above to get specific directions on how to use 'Convert Doc's user interface or command line.

 

 

Convert HTML to PDF Files With 'Convert Doc'

(Document Conversion Utility, Convert PDF to HTML, RTF, Text, Doc, XML etc.)

English, Deutsch, Français, Italiano, Brazilian-Portuguese, Español, 日本語, Slovak, Other Languages

'Convert Doc', a tool to Convert HTM to PDF files

Need to convert HTML to PDF or PDF/A?  If yes then we have just the utility to fit the bill.  'Convert Doc' is a simple, yet sophisticated PDF document conversion tool.  Convert to and from HTML, PDF, DOC, RTF, TXT etc. This program does not require any other software to be installed for it to work. PDFs can be digitally signed (X.509).

Below we discuss how to use the programs user interface and command line interface to convert HTML to PDF files. Both methods allow you to automate your conversion needs easily.  The user interface has a built in scheduler, and 'Convert Doc's command line (or COM/ActiveX interface) can be used with batch files or your programming language.

NOTE: PDF and HTML conversion is only one of several things this tool can do.  To learn more about 'Convert Doc's complete functionality visit the 'Convert Doc' home page

Download 'Convert Doc' to convert HTML to PDF files

 

Convert HTML to PDF files with the User Interface

To convert HTML to PDF using the programs user interface you can follow the directions below. 

 

Convert HTML To PDF

To convert one or more files follow these steps:

1. Run 'Convert Doc' then select the 'Convert Files' action

2. Select the 'Convert Doc' conversion method and select your input file. If you are converting a whole folder of files, select the folder and specify all the files within it. For example to convert all the HTML files in the folder "c:\My Files\" set the input file to "c:\My Files\*.HTM".  Note the use of the asterisk "*" character.

3. Specify the output file path and name. If you are doing a whole folder of HTML files to PDF specify the output file with the asterisk "*" in the name. For example "c:\My Output Files\*.PDF" is properly specified. Specify the file type to convert to by choosing the "Convert To File Format", in this case PDF (can also be DOC, TXT, RTF, PDF, PDF/A).

4. Click the CONVERT button on the tool bar to start converting.

 See an  online video. 'Convert DOC' video, showing how to convert HTM to PDF

Convert PDF To HTML

To convert one or more files follow these steps:

1. Run 'Convert Doc' then select the 'Convert Files' action

2. Select the 'Convert From PDF to ???' conversion method and select your input file. If you are converting a whole folder of PDF files, select the folder and specify all the PDF files within it. For example to convert all the files in the folder "c:\My PDF Files\" set the input file to "c:\My PDF Files\*.PDF".  Note the use of the asterisk "*" character which is required when specifying a whole folder.

3. Specify the output file path and name. If you are doing a whole folder of PDFs to HTML specify the output file with the asterisk "*" in the name. For example "c:\My Output HTM Files\*.HTM" is properly specified. Specify the file type to convert to by choosing the "Convert To File Format" which in this case is HTML (can also be DOC, HTML, TXT, RTF).

4. Click the CONVERT button on the tool bar to start converting.

Repeating the Use of a 'Conversion Job'

When you click the ADD button, a 'Conversion Item' is added to the 'task list' at the bottom of the user interface.  You can add as many 'conversion tasks' as you want, and save the 'Conversion Job' file for use at a later time.  See the File menu for saving and restoring 'Conversion Jobs'.

'Convert Doc' can be especially useful if you require complicated file conversion jobs done on a regular basis. By saving and recalling a conversion job file, 'Convert Doc' quickly remembers all the file conversion tasks and their details. Press the F8 key while running 'Convert Doc' to schedule the running of a 'conversion job'.  

Note: The same 'conversion job' file discussed above can be specified in the command line by using the /J switch. For example:

ConvertDoc.exe /J"C:\my conversion Jobs\All_PDF.SII"

It is the best file conversion tool you've never used... till today! Click here to download and try it out for free.

Click here for full documentation.

 
 

‘Convert Doc’ Command Line

NOTE: 'Convert Doc' can be used simply with the graphical user interface (GUI).  If you've never heard of 'Command Line' before, we would recommend not reading this section and instead download and try the software

'Convert Doc' can be run without a user interface with command line arguments much like in the good old DOS days.  Alternatively you can initiate command line execution by going to the operating systems 'command prompt' or within Windows at the START-RUN menu and typing it in there.  Lastly, the command line interface can be used from Batch files (files with *.BAT extension). 

There are two approaches to doing the command line:

A)  Specify a 'Conversion Job' that was built using the graphical user interface (GUI)

B)   Specify a 'Conversion Task' in detail

Specifying a 'Conversion Job'

Specifying a 'Conversion Job' is very easy, as you only need to tell 'Convert Doc' where to find the associated *.SII 'Conversion Job' file.  All the details associated with this task are executed in one fell swoop.  The syntax for specifying a 'Conversion Job'  is:

 ConvertDoc /J{ConversionJobFile}  [/V] [/L{LogFile}] [/B{LogToJobFile}]

Items above enclosed in square brackets “[ ]” are optional, all other ‘switches’ are required.  Therefore /J should always be specified on the command line.

Example:

To run the 'Conversion Job' specified by the "C:\MyJobs\ApplesOranges.SII" type the following in at the 'Command Prompt':

 ConvertDoc /J"C:\MyJobs\ApplesOranges.SII" /V

The /V switch is used to have 'Convert Doc' report the status of the conversion.  It is highly recommended you use the /V switch when you are first developing your command line.

Specifying a 'Conversion Task' To Convert HTML to PDF

Specifying a 'Conversion Task' is a bit more tedious, but does not require the prior creation of a 'Conversion Job' file. However, because the documentation contains a comprehensive list of examples, it should be a simple matter of finding the example that matches your needs, and modifying the paths to the input and output files. 

NOTE: This is just a sample from the documentation.   If you have trouble running these examples please see Helpful Hints For Creating a Command Line within the documentationAlso, by looking at the documentation, you'll see the full list of options/switches available.

Converting a Single File

To convert a single file, say D:\MyFolder\Doc1.HTM to C:\Results Folder\Doc1.PDF use the following syntax:

 

ConvertDoc /S "D:\MyFolder\Doc1.HTM" /T "C:\Results Folder\Doc1.PDF" /F4 /C12 /M2 /V

 

  • The /S and /T switches above specify Source (input) and Target (output) path respectively and are both required when converting a single file.  It is always a good idea to use double quotes around the path especially if there are space characters within the path.

  • The /M2 switch tells ‘Convert Doc’ to use the ‘Convert Doc’ method (it is one of 3 different possible conversion methods). 

  • /F4 is the input file type, which in this case is a html file.  Looking up the file types within the File Type Constants Specification for the ‘Convert Doc’ method will show that the numeric value of 1 corresponds to a HTM file. 

  • /C12 is the output file type, which in this case is a PDF file.  Looking up the file types within the File Type Constants Specification for the ‘Convert Doc’ method will show that the numeric value of 12 corresponds to a PDF file. Use /C14 to convert to PDF/A.

  • Finally, the /V (for Verbose) switch is used to give instant feedback by having the program report the status of the conversion with a message box.  You can remove this once you have perfected your command line specification.  You can also (or instead of /V) create a Log file that will contain the results of the conversion by using the /L switch.

  • HINT: You may use the /W switch to specify a File Open password.  The Example below makes the word Apples the password to open the newly created PDF file:

    ConvertDoc /S "D:\MyFolder\Doc1.HTM" /T "C:\Results Folder\Doc1.PDF" /F4 /C12 /M2 /V  /WApples

Note: It is highly encouraged that you use the Verbose (/V) switch initially to see what the status of your conversion is and to help you perfect your command line.  When in verbose mode the program will tell you what went wrong or right with your command line using message boxes.

Converting a Whole Folder

To convert all the HTM files in the D:\ToDo\ folder to PDF files in the same directory, the following syntax would be used.

 

ConvertDoc /S"D:\ToDo\*.HTM" /T "D:\ToDo\*.PDF" /F4 /C12 /M2 /V

 

The /G switch can be used to tell ‘Convert Doc’ to simply place each output file in the same folder as each input file. Therefore the command line above is equivalent to the command line below:

 

ConvertDoc /S "D:\ToDo\*.HTM" /G /F4 /C12 /M2 /V

 

Converting a Whole Folder and all Sub-Folders

To extend the previous example (immediately above) to convert all subfolders within D:\ToDo\ simply add the /R switch.

 

ConvertDoc /S "D:\ToDo\*.HTM" /G /F4 /C12 /M2 /V /R

 

You may simply want to convert a whole folder and its subfolders and place the output into a separate folder/drive. In which case use this syntax:

ConvertDoc /S"D:\ToDo\*.HTM" /T "C:\Done\*.PDF" /F4 /C12 /M2 /V /R