How to insert PDF pages and convert URL to PDF?

URL stands for a website address. If you want to convert URL to PDF, that means you want to convert a webpage to PDF. You can find a document converter on the internet to convert URL to PDF such as VeryPDF docPrint. However, if you want to insert PDF pages and convert URL at the same time in a quick way, I suggest you try a command line application such as VeryPDF HTML Converter Command Line. With the help of VeryPDF HTML Converter Command Line, you can take only four steps to solve your problem. If you are interested, please download it by clicking VeryPDF HTML Converter Command Line. It will only need a couple of seconds to install this application in your computer. After that please follow the instruction below to insert PDF pages and convert URL to PDF.

Step 1: Visit the website and save the webpage

  • Visit the website by typing URL in a browser such as Firefox.
  • To save the webpage, first you should open the “Save As” dialog box:
    • Click “File” in the upper-left corner of the browser window;
    • Click “Save Page As”.

open the “Save As” dialog box

  • Then, when the “Save As” dialog box appears, please
    • Select a directory in the list control;
    • Type a name in the “File name” edit box;
    • Choose a format in the “Save as type” combo boxes;
    • Click “Save” to close the “Save As” dialog box. In this article the webpage is saved in the format of HTML and is named “1”.

the webpage is saved in the format of HTML

Step 2: Run the command prompt window

  • Click “Start” in the lower-left corner of the computer screen;
  • Click “Run” on the menu to open the “Run” dialog box;
  • Enter “cmd” in it.
  • Click “OK” to run the command prompt window.

Run the command prompt window to convert URL to PDF

Step 3: Type a command line

The command line should consist of the following four items: the directory of the executable file, the command which can be used to insert PDF pages, the directory of the input file and the directory of the output file. The pattern below may illustrate those items more clearly.

htmltools -append <int> <HTML file> <PDF file>

  • htmltools refers to the executable file of VeryPDF HTML Converter Command Line.
  • -append <int> is the command which can be used to insert PDF pages. The angle brackets are used to enclose essential contents. int stands for integer. You are allowed to choose one of the following numbers as the parameter value of the command: 0, 1, 2 and 3.
    • -append 0 can be used to overwrite an existing PDF file;
    • -append 1 can be used to insert PDF pages(s) before the first page of the existing PDF file;
    • -append 2 can be used to add the PDF page(s) to the end of the existing PDF file;
    • -append 3 can be used to rename the filename, avoiding the duplication of name.
  • HTML file represents the web page, which is of course the input file. Remember?We have save the webpage of URL in HTML in step 1.
  • PDF file refers to the output file.

For instance, the following command line includes the four items mentioned above, and uses the directories to represent the files. You can substitute with the directories of the files in your computer for the directories in this example.

D:\htmltools\htmltools.exe -append 1 C:\in\1.html D:\out\lo.pdf

  • D:\htmltools\htmltools.exe ---- the directory of the executable file. It represents the executable file htmltools.exe located in the folder htmltools on disk D.
  • -append 1---- the command can be used to insert PDF pages before the first page of the existing PDF file.
  • C:\in\1. html ---- the directory of the input file named 1 in the format HTML.
  • D:\out\lo.pdf ---- the directory of output files. If there is a PDF file called lo in the folder out on disk D, the computer will insert the input file before the first page of the PDF file. Otherwise, the computer will create a new one.

Step 4: Press “Enter”

Press the key “Enter”. Your computer will begin to insert PDF pages and convert the URL to PDF. When you see “result=OK” displayed in the command prompt window, that means it has converted the URL to PDF. If you want to buy the full version of VeryPDF HTML Converter Command Line, please click Purchase. To get more information about other products, please visit the home page of VeryPDF.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in HTML Converter (htmltools) 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!