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

joelhsmith created an issue. See original summary.

pyrello’s picture

This 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 a

<?php print $print['sendtoprinter']; ?>

The template was updated to instead use a $sendtoprinter variable instead. If you look at the print.tpl.php file in the print module directory, you'll be able to see all the changes.

jcnventura’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.