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

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

If you really don't want to have headers and footers, disabling the calls to theme('print_pdf_tcpdf_header', $pdf, $html, $font) and theme('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

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No further info received in two weeks. Closing the issue.