Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Print this page

90 sites Security covered Drupal 10–11
View on drupal.org

This module adds a customizable print button to your website, allowing users to easily print the current page. You can configure the button's text, show or hide an icon, and exclude specific page elements from printing.

This module provides a customisable print button block allows users to print the current page. The button is accessible and can be placed in any region or entity display via the block layout or display management. The module includes options to customise the link text, show/hide the print icon, and exclude specific page elements from printing.

Features

  • Accessible print button with proper ARIA attributes
  • Visual states for hover, focus, and active interactions
  • Hidden when JavaScript is disabled to avoid confusion
  • Google Analytics integration via dataLayer events
  • Customisable link text
  • Optional print icon display (SVG-based)
  • Configurable element exclusion from printing
  • Can be placed in any block region or added to entity display

Post-Installation

Block Configuration
When placing the Print This Page block, you can configure:

  • Link Text: Customise the text displayed for the print link (default: "Print this page")
  • Show print icon: Toggle display of the print icon next to the text
  • Elements to exclude from printing: Comma-separated list of CSS selectors to hide when printing

Field Formatter Settings
When using the Print This Page formatter on a field, you can configure:

  • Link Text: Customise the text displayed for the print link
  • Show print icon: Toggle display of the print icon next to the text
  • Elements to exclude from printing: Comma-separated list of CSS selectors to hide when printing

Exclude Elements from Printing
You can specify CSS selectors (IDs, classes, or element names) that should be hidden when printing. Common examples:

  • `header, footer, aside, nav` - Hide structural elements
  • `.menu, .breadcrumb` - Hide navigation elements
  • `form, iframe` - Hide interactive elements
  • `#sidebar, .comments` - Hide specific sections

Similar projects

Although there are other print modules for Drupal, this one stands out because of its intuitive interface, wide range of configuration options, and removal of elements on print.
Print js button, Entity Print

Depends on

Dependencies of the latest stable release

  • block Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jun 2025
Latest release
1 month ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Core Release date
1.0.2 Stable 10–11 Jul 28, 2026
1.0.1 Stable 9–11 Jun 8, 2025