html2pdf.pl - Convert HTML to PDF
html2pdf.pl [ -l ] [ -e encoding ] [ -f font ] [ -s size ] input.html [ output.pdf ]
If input.html is not given, reads HTML from standard input.
If output.pdf is not given, writes PDF to the same name as the input file with an additional .pdf suffix, or to standard output if it's being redirected to somewhere other than a terminal.
If encoding is not given, the input encoding defaults to
If font is not given, the base font family defaults to
Helvetica. The value of font can be a truetype font file, one of the PDF core fonts, or one of:
If size is not given, the base font size defaults to
If -l is specified, the output uses landscape layout.
Audrey Tang <firstname.lastname@example.org>
Copyright 2004-2008 by Audrey Tang <email@example.com>.
This software is released under the MIT license cited below.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.