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.
Area Print is a simple module that let's you add print button or link that sends any given element(div, table, block.. anything with a css id) to a printer.
All original css from the page(including definitions from parent elements) is applied(though browsers tend to strip some off) and you can append your own on top of that.
Usage
Provides a blog containing a print button.
Or if you are coding, you can use this render array
$renderable['my_button'] = [
'#type' => 'print_area_button',
'#value' => t('Print page'),
'#selector' => 'main#main',
'#as_link' => FALSE,
);
See also PrintJs module.
Project information
- Seeking new maintainer
The current maintainers are looking for new people to take ownership. - No further development
No longer developed by its maintainers. - Module categories: Content Display, Developer Tools
- 345 sites report using this module
- Created by bfr on , updated
- Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
2.0.0-beta3
released 23 February 2023
Works with Drupal: ^9 || ^10
✓ Recommended by the project’s maintainer.
Install: