% htmldoc --webpage -f output.pdf filename.html ENTER % htmldoc --webpage -f output.ps filename.html ENTERThe "--webpage" option tells HTMLDOC that you want to convert a web page or other unstructured document.
The "-f" option tells HTMLDOC what file to generate. If you don't specify an output file then a PDF file is send to the standard output.
% htmldoc --book -f output.html filename.html ENTER % htmldoc --book -f output.pdf filename.html ENTER % htmldoc --book -f output.ps filename.html ENTERThe "--book" option tells HTMLDOC that you want to generate a book from the HTML file(s) you specified.
--titleimage
sets the image to use on the title page:
% htmldoc --titleimage filename.gif ... ENTER % htmldoc --titleimage filename.jpg ... ENTER % htmldoc --titleimage filename.png ... ENTERHTMLDOC supports GIF, JPEG, and PNG images.