Closed (fixed)
Project:
Printer, email and PDF versions
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2010 at 21:57 UTC
Updated:
14 Aug 2013 at 04:35 UTC
Hi,
I have some difficulties to remove the borders that are in the header and footer PDF.
Can you give me some advices to do it please ?
Regards,
zmove
Comments
Comment #1
jnvera commentedI have de same problem but I removed the footer's.
In print_pdf.pages.inc:
I can't remove header border, some advice?
Thank you.
P.D.: Sorry for my bad english.
Comment #2
jnvera commentedI found how remove header, using method setPrintHeader in the tcpdf object (if you use another pdf lib I don't know how is it).
Place this code in your theme template.php file (in my case theme = garland, change it if you need)
Good Luck!
Comment #3
jcnventuraComment #5
anybodyHi,
just one addition: You forgot to return the pdf object!
Correct version:
Furthermore there are:
_header
_page
_content
_footer
_footer2
overrides.
Comment #6
tavi_10 commented$pdf->Cell(0, 10, $pagenumtxt, 'T', 0, 'L');
replace with
$pdf->Cell(0, 10, $pagenumtxt, 0, 0, 'L');
As the 4th argument is the border style.
Comment #7
zulfierken commentedI just wrote this in print--node--contract.tpl.php in my theme folder but did not work :( I hacked the original print_pdf_tcpdf_pages.inc. Wish I could do this without hacking :)