Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This release contains all known fixes to the module up to now, including the fix to SA-CONTRIB-2022-022. The module has a couple of new co-maintainers that will take over the main task of maintaining it during the remaining life-cycle of Drupal 7. However long that is..
This release marks the completion of the main objectives of the 7.x-2.x branch:
Refactoring of all the link handling code to a separate sub-module: print_ui (if you don't enable this module, you will still be able to acess the printer-friendly pages directly at their URLs, but you won't get any module-generated links)
Removal of the print array and of all hard-coded HTML code that was used in the old print.tpl.php to a print.tpl.php that is more inline with a normal Drupal template and to some themeable functions.
Creation of a pluggable system for the print_pdf module, that can be used to easily add more PDF libraries.
Refactoring of the dompdf, tcpdf and wkhtmltopdf to separate sub-modules (print_pdf_dompdf, print_pdf_tcpdf and print_pdf_wkhtmltopdf).
Creation of the print_pdf_module which generates PDfs using the mPDF library.
Creation of a new export format (EPUB) using the new print_epub module, which uses the PHPePub library to create EPUB files. Support for EPUB libraries is also pluggable, and PHPePub is handled in the new print_epub_phpepub sub-module.
Word of caution:
The new template differs radically from the previous one. If you had custom print templates, you'll probably need to re-write them.
New branch for the refactoring of the print module, with the following objectives:
1. print_ui module to handle all the common link handling functions
2. make print.tpl.php a real template, moving all the HTML out of the module
3. hooks in print_pdf for pdf libraries sub-modules (print_pdf_tcpdf, print_pdf_dompdf and print_pdf_wkhtmltopdf)
4. add print_pdf_mpdf
5. add print_epub
Yay, only 1 year, 2 months and 30 days after Drupal 7 was released, I finally make good on my #D7CX pledge. Except for that "on the day that Drupal 7 is released" part, for which I apologize..
Sorry for the 6.x-1.13 release.. Then again, with such a minor number :). This release fixes a minor, but annoying bug in the database update function.
After some time necessary to finish porting the module to Drupal 7, I'm happy to release a new stable version of the print module. This is mainly a bug-fix release, but it does provide two new configuration options:
- PDF generation: image access via the local filesystem. This used to be on all the time, but it is incompatible with imagecache.. The default setting is now off.. If your webserver is unable to access itself, you may need to turn this on again.
- URL list in system pages. This used to be impossible to disable without disabling also in content pages.. It's now off by default.
There's also a new API for generating PDF's from your code.
Thanks for using the module, and reporting issues and providing patches.
Don't update to this release yet.. 6.x-1.14 will be out soon, containing the fix to a bug in the update procedure
After some time necessary to finish porting the module to Drupal 7, I'm happy to release a new stable version of the print module. This is mainly a bug-fix release, but it does provide two new configuration options:
- PDF generation: image access via the local filesystem. This used to be on all the time, but it is incompatible with imagecache.. The default setting is now off.. If your webserver is unable to access itself, you may need to turn this on again.
- URL list in system pages. This used to be impossible to disable without disabling also in content pages.. It's now off by default.
There's also a new API for generating PDF's from your code.
Thanks for using the module, and reporting issues and providing patches.
The 6.x-1.9 contains a serious error that prevents access to the 'Send to friend' form when using the node alias in the link. This release fixes that bug.
Changes since DRUPAL-6--1-9:
Fix #605264: check node alias also when accessing the print_mail form
Better fix for #371388: handle tbody tags with attributes
Fix #375892: Don't validate mail send form when pressing cancel
Improved Turkish translation by drupalhizmetleri
Document print_[format].tpl better in the README.txt
Fix #371455: Convert all links in the PDF to absolute
Fix #384294 by ron_s: use padding instead of margin in icons
Fix #381586 by Fleshgrinder: add space at the end of the reset button in the send mail form
Fix #372250: Add page title to send mail form and the ability to use the !title token
Improvements to the API index.php
Updated slovak translation by etki
Fix #388008: implement CCK's hook_content_extra_fields to manage the order of the per-content type settings
Fix #303506 partly by joostvdl: remove the country code from paths to private image files used in generating PDFs
Simpler fix to #388008: Use a 'heavier' weight even in the absense of the CCK module
Coder fixes
Make tests successful again
SA-CONTRIB-2009-012 Print module can be used as a spam relay
Fix #365041: node-specific settings not initialized when adding new content
Fix #364535: move custom text strings to separate form to prevent conflicts with the translation mechanism
Add explanation of the relation between the type- and node-specific print settings
Updated all translations (Dutch 100% thanks to joostvdl)
Update changelog
Add warning for incompatible mimemail settings