htmldoc(1) Michael R Sweet htmldoc(1) (NAME) htmldoc - html html postscript pdf (SYNOPSIS) htmldoc [options] filename1.{html,md} [ ... filenameN.{html,md} ] htmldoc [options] - htmldoc [filename.book] (DESCRIPTION) Htmldoc(1) HTML Markdown HTML PostScript (PDF) . HTML (stdout) . htmldoc HTML (stdin) htmldoc . htmldoc (GUI) . (COMMON MISTAKES) HTML - (H1 H2 ) htmldoc <<>> (books) htmldoc << >> (web pages) . : htmldoc -f filename.pdf filename.html PDF . --webpage --continuous Web Page Continuous . (OPTIONS) htmldoc : --batch filename.book . --bodycolor color . --bodyfont {courier,helvetica,monospace,sans,serif,times} --textfont {courier,helvetica,monospace,sans,serif,times} . --bodyimage filename (tile) . --book HTML ( ). --bottom margin ( ##pt) (##in) (##cm) (##mm) . --charset {cp-nnnn,iso-8859-1,...,iso-8859-15,utf-8} (character set) . : UTF-8 . --color PostScript PDF . --continuous HTML ( ). URL . --datadir directory htmldoc /usr/share/htmldoc C:/Program Files/HTMLDOC . --duplex . --effectduration {0.1...10.0} PDF . --embedfonts PDF PostScript (embed) . --encryption PDF . --fontsize size . --fontspacing spacing . 1.2 . --footer fff . / (HEADER/FOOTER FORMATS) . --format format -t format : epub html htmlsep ( HTML ) ps ps2 ( ) ps1 ( ) ps3 ( ) pdf11 ( ./Acrobat 2.0) pdf12 ( ./Acrobat 3.0) pdf pdf13 ( ./Acrobat 4.0) pdf14 ( ./Acrobat 5.0). --gray PostScript PDF (grayscale) . --header fff . / (HEADER/FOOTER FORMATS) . --header1 fff / . / (HEADER/FOOTER FORMATS) . --headfootfont font . --headfootsize size . --headingfont typeface . --help . --helpdir directory htmldoc /usr/share/doc/htmldoc C:/Program Files/HTMLDOC/DOC . --hfimageN filename ( ) PostScript PDF . --jpeg[=quality] JPEG . 0 JPEG . --left margin ( ##pt) (##in) (##cm) (##mm) . --letterhead filename (letterhead) PostScript PDF . --header --header1 / --footer L HTML . --linkcolor color . --links PDF (). --linkstyle {plain,underline} . --logoimage filename () PostScript PDF HTML . --header --header1 / --footer l HTML . --no-compression PostScript PDF . --no-duplex . --no-embedfonts PDF PostScript . --no-encryption . --no-jpeg JPEG . --no-links PDF . --no-numbered . --no-pscommands setpagedevice PostScript . --no-strict HTML . --no-title . --no-toc . --numbered . --nup pages . 1 2 4 6 9 16 . --outdir directory -d directory ( PDF ). --outfile filename -f filename . --owner-password password (owner password) PDF . --pageduration {1.0...60.0} PDF . --pageeffect effect PDF Adobe . --pagelayout {single,one,twoleft,tworight} PDF . --pagemode {document,outlines,fullscreen} PDF . --path . --permissions permission[,permission,...] PDF . : all none annotate no-annotate copy no-copy modify no-modify print no-print. . --pre-indent distance ( ##pt) (##in) (##cm) (##mm) . --pscommands setpagedevice PostScript . --quiet . --referer url URL Referer: HTTP . --right margin ( ##pt) (##in) (##cm) (##mm) . --size pagesize ( ##x##pt) (##x##in) (##x##cm) (##x##mm) . "letter" (8.5x11in) "legal" (8.5x14in) "a4" (210x297mm) "universal" (8.27x11in). --strict HTML . --textcolor color . --title . --titlefile filename --titleimage filename . . --tocfooter fff . / (HEADER/FOOTER FORMATS) . --tocheader fff . / (HEADER/FOOTER FORMATS) . --toclevels levels . --toctitle string . --top margin ( ##pt) (##in) (##cm) (##mm) . --user-password password PDF . --verbose -v . --version . --webpage HTML ( ). URL . (EXIT STATUS) Htmldoc . / (HEADER/FOOTER FORMATS) . fff . : . / n/N - (1/3 2/3 3/3) : c/C - (1/2 2/2 1/4 2/4 ...) 1 /- (1 2 3 ...) a A c C ( ) d D h i I l L - t T u URL (EXIT STATUS) Htmldoc . (ENVIRONMENT) Htmldoc CGI : HTMLDOC_DATA htmldoc /usr/share/htmldoc C:/Program Files/HTMLDOC . HTMLDOC_DEBUG (stderr) . : "all" "links" "memory" "remotebytes" "table" "tempfiles" / "timing". HTMLDOC_HELP htmldoc /usr/share/doc/htmldoc C:/Program Files/HTMLDOC/doc . HTMLDOC_NOCGI ( ) CGI . htmldoc . (EXAMPLES) PDF : htmldoc --webpage -f example.pdf http://www.example.com PostScript HTML: htmldoc --book -f example.pdf *.html (SEE ALSO) HTMLDOC (Users Manual) https://www.msweet.org/htmldoc (AUTHOR) Michael R Sweet (LEGAL STUFF) HTMLDOC Michael R Sweet ((C) 1997-2025). (GNU GPL) / . . . : Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 2025-12-23 HTMLDOC 1.9.22 htmldoc(1)