On this page
Print: 2. Configuration
Last updated on
30 April 2025
Configuration
- There are several settings that can be configured in the following places:
- Administer > Site building > Modules (admin/build/modules)
- Enable or disable the module. (default: disabled)
- Administer > User management > Permissions (admin/user/permissions)
- Under print module:
access print: Enable access to the PF page and display of the PF link in other pages. (default: disabled)
administer print: Enable access to the module settings page. (default: disabled) - Administer > Content management > Content types (admin/content/types)
- For each content type it is possible to enable or disable the PF link via the "Show printer-friendly version link" checkbox. (default: enabled)
It is also possible to enable or disable the PF link in individual comments via the "Show printer-friendly version link in individual comments" checkbox. (default: disabled) - Administer > Site configuration > Printer-friendly (admin/settings/print)
- This is where all the module-specific configuration options can be set.
- To modify the template of printer friendly pages, simply edit the print.tpl.php or the css/print.css files.
- It is possible to set per-content-type and/or theme-specific templates which are searched for in the following order :
- Drupal 5.x and 6.x (the directory order may not be totally correct for 6.x)
- print_[format].node-[type].tpl.php in the theme directory
- print_[format].node-[type].tpl.php in the module directory
- print_[format].tpl.php in the theme directory
- print_[format].tpl.php in the module directory
- print.node-[type].tpl.php in the theme directory
- print.node-[type].tpl.php in the module directory
- print.tpl.php in the theme directory
- print.tpl.php in the module directory (supplied by the module)
- Drupal 7.x
- print--[format]--node--[type].tpl.php in the theme directory
- print--[format].tpl.php in the theme directory
- print--node--[type].tpl.php in the theme directory
- print.tpl.php in the theme directory
- print.tpl.php in the module directory (supplied by the module)
Where [format] is one of html, mail or pdf and [type] is the Drupal content type machine name (e.g. story, article).
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion