Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Area Print

Security covered No further development 285 sites

This module adds a print button or link that sends a specified element from your page to the printer. It attempts to preserve your page's original styling while allowing you to add custom styles for the printed output.

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.

Ask your assistant about Area Print

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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

Tracked releases
2
Tracked since
Feb 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Active

Releases

Version Type Core PHP Release date
2.0.0-beta4 Pre-release 9–11 Sep 11, 2024
2.0.0-beta3 Pre-release 9–10 Feb 23, 2023