Html2ps

Jul 20, 2023

HTML to PostScript converter

  • Much from HTML 4.0 - that is relevant for printing - is supported incidentally, the PostScript and PDF versions of the HTML 4.0 draft, were generated using html2ps. For example, all character entities except ‌, ‍, ‎, and ‏ are supported.
  • Many possibilities to control the appearance. Starting with this version, this is mostly done using configuration files.
  • Support for processing multiple documents, also automatically by recursively following links.
  • A table of contents can be generated, either from the links in a document, or automatically from document headings.
  • Configurable page headers/footers, that for example can contain document title, URL, page number, current heading, and date.
  • When converting the PostScript document to PDF - using some other program such as version 5.0 or later of Aladdin Ghostscript, or Adobe Acrobat Distiller - the original hyperlinks in the HTML documents will be retained in the PDF document.
  • Automatic hyphenation and text justification can be selected.


Checkout these related ports:
  • Yatex - Yet Another LaTeX mode and html mode on Emacs
  • Xtexsh - Tcl/Tk-based simple TeX interface
  • Xreader - Multi-format document reader
  • Xpp - X11-based printer manager for CUPS
  • Xpdfopen - Command line utility for PDF viewers
  • Xmbibtex - Reference manager based on the BibTeX file format
  • Xfce4-print - Print system support for the Xfce Desktop
  • Utopia - Adobe Utopia typeface for Groff
  • Typetools - Tools for manipulating fonts
  • Txtbdf2ps - Translator TXT + BDF to PS
  • Ttfquery - FontTools-based package for querying system fonts
  • Ttfautohint - Automatic font hinting library
  • Ttf2pt1 - True Type Font to Postscript Type 1 Converter
  • Trueprint - Print program listings on postscript printer
  • Transfig - Tools to convert Xfig .fig files