Fix #639420, #697616 and #700566: remove use of Xvfb server with wkhtmltopdf
authorJoao Ventura
Sat, 10 Jul 2010 00:12:27 +0000 (00:12 +0000)
committerJoao Ventura
Sat, 10 Jul 2010 00:12:27 +0000 (00:12 +0000)
print_pdf/print_pdf.pages.inc

index 3cb5cfe..623a8c1 100644 (file)
@@ -52,6 +52,8 @@ function print_pdf_controller() {
     $print['logo'] = preg_replace($pattern, $replacement, $print['logo']);
     $print['footer_message'] = preg_replace($pattern, $replacement, $print['footer_message']);
   }
+  // Send to printer option causes problems with PDF
+  $print['sendtoprinter'] = '';
 
   $node = $print['node'];
   ob_start();