Area Print
Security covered
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.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 2.0.0-beta4 | Pre-release | 9–11 | Sep 11, 2024 | |
| 2.0.0-beta3 | Pre-release | Feb 23, 2023 |