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.
I have a print.tpl.php. When I add:
<?php
print print_pdf_insert_link();
?>
It does not show a print link, and I get this error message:
"Notice: Undefined variable: sendtoprinter".
Can someone give me a hint?
Comments
Comment #2
pyrello CreditAttribution: pyrello at The University of Iowa commentedThis is a reference to an older version of the
print.tpl.php
that may be stored in a theme as an override. There is a line that has aThe template was updated to instead use a
$sendtoprinter
variable instead. If you look at theprint.tpl.php
file in the print module directory, you'll be able to see all the changes.Comment #3
jcnventura CreditAttribution: jcnventura at Wunder commented