Closed (fixed)
Project:
Printer, email and PDF versions
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2009 at 22:01 UTC
Updated:
27 Mar 2009 at 12:34 UTC
How to disable header and footer in pdf (tcpdf) ? (I comment lines 201-203 in print_pdf.pages.inc but there are still ugly border lines on place of header and footer.) THX
Comments
Comment #1
jcnventuraIf you really don't want to have headers and footers, disabling the calls to
theme('print_pdf_tcpdf_header', $pdf, $html, $font)andtheme('print_pdf_tcpdf_footer', $pdf, $html, $font)will simply leave you with the default header and footer.You should edit (delete) the contents of the theme_print_pdf_tcpdf_header(), theme_print_pdf_tcpdf_footer() and theme_print_pdf_tcpdf_footer2() calls.
You should also refer to TCPDF's technical documentation
João
Comment #2
jcnventuraNo further info received in two weeks. Closing the issue.