PHP equivalent to the popular Perl script by the same name. Accurately converts W3C 4 HTML, images, complex tables (including rowspan/colspan), layers/divs, and CSS styles. For more information, see http://www.tufat.com/html2ps.php
Be the first to post a text review of html2ps. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Fixed: space could be added after some non-whitespace symbolsimmediately followed by inline boxes. Fixed: under certain circumstances custom characters were ignored in CSS3 margin box content Fixed: some temporary files were not removed when using fpdf output method
Fixed: number of custom characters no more limited to 256 symbols per file Fixed: Characters with AI, SA, SG and XX line breaking classes no more result in notice messages.
2008-03-15 Konstantin Bournayev <bkon@bkon.ru> * Change: library version number is displayed on the web interface now * Change: minor FAQ update 2007-12-08 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.1.6 * Change: major updates in CSS processing 2007-11-03 Konstanin Bournayev <bkon@bkon.ru> * Fixed: broken PostScript image encoders (thanks to snover for solution) 2007-10-28 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.39 * Change: minor documentation/FAQ update * Fixed: page break issue in tables affecting tables with very small amount of content in last column * Fixed: warning message while doing PS output with no font metric files available 2007-10-14 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.38 * Fixed: HTML files referring to the same image several times were causing PHP error (introduced in 2.0.37) 2007-10-07 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.37 * Fixed: file protocol restriction could work incorrectly under Windows * Fixed: upper-case protocol schemas were handled incorrectly by default FetcherUrl class * Change: JPEG images now will not be converted to PNG, decreasing overall PDF size 2007-09-23 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.36 2007-09-20 Konstanin Bournayev <bkon@bkon.ru> * Change: minor documentation update 2007-09-18 Konstanin Bournayev <bkon@bkon.ru> * Fixed: euro symbol was not displayed in postscript files 2007-09-14 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.35 * Fixed: media names are completely case-insensitive now (see CSS 2.1 p.7.2) * Fixed: inline controls (text and buttons) with empty value caused PHP errors (introduced in 2.0.33) * Fixed: bottom margin / border values were ignored for inline elements 2007-09-06 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.34 * Change: minor samples update 2007-08-25 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.33 * Fixed: error in demo script on PHP 5 with curl extension installed * Fixed: nested inline elements inside pre caused extra line breaks * Fixed: bottom margins were incorrectly collapsed when container had padding / borders and contained more than 1 child block element 2007-08-17 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.32 * Fixed: tables having constrained height smaller than overall row height were not expanded 2007-08-11 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.31 2007-08-06 Konstanin Bournayev <bkon@bkon.ru> * Change: file destination object now can display a link to the generated file 2007-08-05 Konstanin Bournayev <bkon@bkon.ru> * Change: "autosized vertical margin boxes" code moved to "features" * Change: minor documentation / FAQ updates 2007-07-28 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.30 * Fixed: (PHP4-specific) Generated TOC elements were not clickable 2007-07-22 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.29 * Fixed: empty pages could appear in document when html2ps run in batch mode 2007-07-15 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.28 * Fixed: Certain character & font files could cause warning messages when font files were parsed 2007-07-06 Konstanin Bournayev <bkon@bkon.ru> * Fixed: * { display: none; } CSS rule caused script to die * Change: minor documentation / FAQ updates 2007-07-01 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.27 * Fixed: number of characters not found in standard encoding vectors was limited to 255 (limit on total number of different _symbols_ still exists) * Fixed: tables with "fake" cells could result in unexpected page breaks * Fixed: minor sample updates 2007-06-27 Konstanin Bournayev <bkon@bkon.ru> * Fixed: missing TTF files may result in mysterious PHP errors during the conversion process 2007-06-26 Konstanin Bournayev <bkon@bkon.ru> * Fixed: font family names in mixed case could be interpreted incorrectly in 'alias' directive, making this typeface unavailable 2007-06-25 Konstanin Bournayev <bkon@bkon.ru> * Fixed: margin-XXX subproperties were ignored in @page context 2007-06-24 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.26 * Change: minor documentation/FAQ updates * Fixed: media size / margin CSS properties support was broken in recent versions 2007-06-20 Konstanin Bournayev <bkon@bkon.ru> * Change: minor documentation/FAQ updates 2007-06-19 Konstanin Bournayev <bkon@bkon.ru> * Fixed: PDFLIB-related errors (output method seems broken in 2.0.21+) 2007-06-08 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.25 2007-06-10 Konstanin Bournayev <bkon@bkon.ru> * Fixed: "Call to a member function on a non-object in html2pdf/box.inline.php on line 257" message appeared in certain conditions when "smartpagebreak" was enabled. 2007-06-08 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.24 2007-06-07 Konstanin Bournayev <bkon@bkon.ru> * Change: script attempts to update pcre.backtrack_limit automatically * Change: check for pcre.backtrack_limit added to systemcheck.php * Fixed: better page breaking inside table cells with vertical empty spaces 2007-06-07 Konstanin Bournayev <bkon@bkon.ru> * Fixed: removed debugging 'die' accidentally left in 2.0.23 code 2007-06-01 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.23 * Fixed: ##PAGE## and counter(page) gave incorrect page numbers * New: support for 'type' UL and OL attributes was added 2007-05-27 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.22 * Fixed: html2ps could loop indefinitely on documents containing less than one page and at least one table under certain circumstances 2007-05-22 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.21 * Fixed: a number of issues related to recent changes in dynamic media definitions and page breaking * Fixed: nested ordered lists were numbered incorrectly 2007-05-08 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.20 2007-05-07 Konstanin Bournayev <bkon@bkon.ru> * New: media margins may be changed from style definition using 'margins' property in @page rule. * New: media size and orientation may be changed from style definition using CSS 3 'size' property in @page rule. * Fixed: non-ASCII characters in TOC items could result in XML parser errors * Fixed: checkboxes were incorrectly rendered inside tables 2007-05-06 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.19 2007-05-04 Konstanin Bournayev <bkon@bkon.ru> * Fixed: style and link tags were ignored when written in upper case 2007-05-03 Konstanin Bournayev <bkon@bkon.ru> * Change: table of contents feature * Fixed: several notice messages when PHP 4 DOMXML function were used * Fixed: 'missing font' issue when zlib is not installed 2007-04-30 Konstanin Bournayev <bkon@bkon.ru> * Fixed: documentation fixes / updates 2007-04-29 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.18 2007-04-26 Konstanin Bournayev <bkon@bkon.ru> * Change: array of calculated page heights is passed to 'before-document' event handler * Fixed: 'configure' method always overwrote configuration variables with their default values 2007-04-07 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.17 2007-04-06 Konstanin Bournayev <bkon@bkon.ru> * Fixed: CSS Properties in UPPER and MiXEd case no more ignored 2007-04-02 Konstanin Bournayev <bkon@bkon.ru> * Fixed: backslash+newline sequence was not ignored in CSS strings * Fixed: newlines were ignored in generated content in page margin boxes * Fixed: backslash escapes were ignored in CSS 'content' property 2007-04-01 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.16 2007-03-28 Konstanin Bournayev <bkon@bkon.ru> * Fixed: minor samples updates * Fixed: table cells spanning several rows in some cases could be ignored when calculating table width * Fixed: table cells with width constraints spanning several columns could have their width calculated incorrectly 2007-03-28 Konstanin Bournayev <bkon@bkon.ru> * Fixed: tables nested in other tables could overflow containing cells 2007-03-26 Konstanin Bournayev <bkon@bkon.ru> * Change: minor FAQ / documentation updates 2007-03-23 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.15 * Fixed: more tolerant processing of LINK href attribute allowing unescaped spaces * Fixed: CSS rule definitions containing only one property without trailing semicolon were ignored 2007-03-16 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.14 2007-03-15 Konstanin Bournayev <bkon@bkon.ru> * New: support for custom automatically generated encoding vector in PDFLIB output 2007-03-14 Konstanin Bournayev <bkon@bkon.ru> * Fixed: several fixes in CSS processing; HTML entities processing no more affect CSS code; semicolons inside quoted strings no more treated as end of property definition. 2007-03-06 Konstanin Bournayev <bkon@bkon.ru> * Fixed: "Call to a member function getPropertiesSortedByPriority() on a non-object" error (affected all fresh installations of v.2.0.12 and v.2.0.13. 2007-03-05 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.13 2007-03-03 Konstanin Bournayev <bkon@bkon.ru> * Fixed: 'display: block' set for body box caused body background to be rendered incorrectly * New: support 'background-attachment' CSS property for body boxes 2007-02-27 Konstanin Bournayev <bkon@bkon.ru> * Fixed: batch processing mode did not work when media had no top and bottom margins 2007-02-27 Konstanin Bournayev <bkon@bkon.ru> * Fixed: images were never rendered as links 2007-02-25 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.12 * New: API extension: events 2007-02-22 Konstanin Bournayev <bkon@bkon.ru> * Fixed: broken 'text-transform' support. Thanks to dkrieger for the patch (applied with minor changes). 2007-02-21 Konstanin Bournayev <bkon@bkon.ru> * New: background properties now recognized in page context (CSS3 paged media) 2007-02-18 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.11 * Changed: documentation updated with an article explaining how fetchers work 2007-02-12 Konstanin Bournayev <bkon@bkon.ru> * Changed: documentation/FAQ updates * Fixed: overflowing frame content was visible outside frame boundaries * Fixed: koi8-r encoding was not supported by PDFLIB out-of-the-box 2007-02-11 Konstanin Bournayev <bkon@bkon.ru> * Fixed: several PHP notice messages * Fixed: 'border' attribute could affect elements after the element with this attribute 2007-02-04 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.10 2007-01-29 Konstantin Bournayev <bkon@bkon.ru> * Fixed: PHP 4 reference-related notice messages in value.border.class.php * Change: DOCTYPE now is checked by default when conversion is done via html2ps API 2007-01-26 Konstantin Bournayev <bkon@bkon.ru> * Fixed: thin/thick/medium values of border-*-width properties were not supported 2007-01-25 Konstanin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.9 2007-01-23 Konstantin Bournayev <bkon@bkon.ru> * Fixed: page breaks could not be made inside table cells and block boxes with constrained height * Fixed: partial support for 'direction' property * Fixed: minor issues related to absolute-positioned boxes width 2007-01-23 Konstantin Bournayev <bkon@bkon.ru> * Fixed: support for 'white-space: nowrap', 'white-space: pre-line' 2007-01-17 Konstantin Bournayev <bkon@bkon.ru> * Fixed: interactive form values were not printed 2007-01-16 Konstantin Bournayev <bkon@bkon.ru> * Fixed: absolute positioning was broken for tables 2007-01-10 Konstantin Bournayev <bkon@bkon.ru> * Changes: page breaking routines backported from developmental branch * Fixed: several problems encountered when html2ps files were included from the class member / function instead of global context 2007-01-04 Konstantin Bournayev <bkon@bkon.ru> * Fixed: under certain PHP configurations html2ps behaved like there are no registered encoding vectors at all 2006-12-25 Konstantin Bournayev <bkon@bkon.ru> * Fixed: input text element with constrained height were displayed incorrectly 2006-12-25 Konstantin Bournayev <bkon@bkon.ru> * New: DOM extension check added to "system configuration check" page * Change: workaround for Active-Link issue (attributes in single quotes are ignored)
2006-12-24 Konstantin Bournayev <bkon@bkon.ru> * Release: html2ps-2.0.8 2006-12-22 Konstantin Bournayev <bkon@bkon.ru> * Fixed: cell borders set via table 'border' attribute were not rendered if table contained tbody/thead/tfoot tags * Fixed: textarea size was sligtly greater than expected * Fixed: more tolerant to invalid textarea content (unescaped HTML special characters) * New: support for 'pre-wrap' value of 'white-space' CSS property 2006-12-21 Konstantin Bournayev <bkon@bkon.ru> * Fixed: memory leaks caused by circular references and preg_replace_callback+create_function * Change: minor updates in sample files * Change: minor documentation/FAQ updates * Fixed: temporary PDF files were not removed after script completion 2006-12-20 Konstantin Bournayev <bkon@bkon.ru> * New: pages may be fetched via proxy * New: if curl extension is present, it will be used for fetching pages 2006-12-19 Konstantin Bournayev <bkon@bkon.ru> * Fixed: incorrectly calculated width for tables /without/ width constraints containing table cells /with/ constant width constrants
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?