AMateos Posted February 19, 2010 Share Posted February 19, 2010 Hi, We are trying to add a custom footer to our PDF invoice. We just want to show the Company legal information on 1 line on the footer. Someone can help us to integrate this? Thank you 0 Quote Link to comment Share on other sites More sharing options...
m00 Posted February 19, 2010 Share Posted February 19, 2010 TCPDF has a footer option. We are also using the header and footer options, so we have the same style on multiple invoice pages. For a code sample, see: http://www.tecnick.com/pagefiles/tcpdf/example_003.phps 0 Quote Link to comment Share on other sites More sharing options...
AMateos Posted February 24, 2010 Author Share Posted February 24, 2010 Hi m00, Thank you for your answer. We have been trying to integrate the footer but we should be doing something wrong. We have added the following code before the ?> tag. // Footer public function Footer() { // Position at 1.5 cm from bottom $this->SetY(-15); // Font $this->SetFont('helvetica', 'I', ; // Text $this->Cell(0, 10, 'Company name', 0, 0, 'C'); Some idea? Thank you 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.