Convert documents of HTML to PostScript file by command line

There are only three steps in the conversion from html to postscript file—opening MS-DOS interface, inputting the command line and running the conversion. The application tool you need to use is one internal application of Document Converter. In this article, we can learn something about the command line application at first, then you will see how to make the conversion in the following contents.

The command line application of Document Converter is able to convert any printable documents to various image formats. In addition, you can also embed or redistribute the command line application in your own developed applications. There are also two other internal applications in Document Converter: GUI application and virtual printer application. If you want to make all the conversions in a user interface which is easy to understand, you can choose the GUI application. The virtual printer application has the ability to scale page size and combine several pages on one sheet. So you can choose any one of these applications according to your needs.

To use the command line application, you should download it at http://www.verypdf.com/artprint/docprint_pro_setup.exe and install it on your computer. The called program in the conversion from html to postscript is the executable file doc2pdf.exe in installation folder. Then please see how to make the conversion with the command line application.

Step1. For inputting the command line to convert html to postscript, you should open MS-DOS interface at first. Please click “Start”—“Run” or use the hot key “Window”+ “R” to open “Run” dialog box. Then please input “cmd” in “Open” combo box and click “OK” button for opening MS-DOS interface.

Step2. Please input the command line in MS-DOS interface. You will see the command line template which contains called program, source file and target file below. You should refer to the template to write your own one:

doc2pdf –i “www.verypdf.com/artprint/index.html” –o D:\output.ps

(NOTE: .ps is the extension name of postscript file)

doc2pdf stands for the called program.

–i “www.verypdf.com/artprint/index.html” stands for the URL of the html document.

–o D:\output.ps is the name of target file and you should specify it yourself.

In the command line, you should not forget the options “-i” and “-o”.

Step3. Please click “Enter” button to run the conversion from html to postscript. The conversion will be completed in a short while. If you want to read more articles about the command line application, you can enter the blog: VeryPDF Knowledge Base.

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Convert documents of HTML to PostScript file by command line, 10.0 out of 10 based on 1 rating

Related Posts

This entry was posted in docPrint Pro and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!