you86 Posted July 30, 2012 Share Posted July 30, 2012 Hello I want to add a line in footer of pdf invoice that "This is computer generated invoice and do not require any stamp or signature" How can I add this? I tried to use function Footer() from http://www.fpdf.org/en/tutorial/tuto2.htm, function Footer() { // Position at 1.5 cm from bottom $this->SetY(-15); // Arial italic 8 $this->SetFont('Arial','I',; // Page number $this->Cell(0,10,'this is a computer generated invoice',0,0,'C'); } but it didnt work. any help in this regarding would be high appreciated cheerz 0 Quote Link to comment Share on other sites More sharing options...
you86 Posted August 1, 2012 Author Share Posted August 1, 2012 no one knows?? 0 Quote Link to comment Share on other sites More sharing options...
cenourinha Posted August 1, 2012 Share Posted August 1, 2012 Hi there, in the invoicepdf.tpl, add this before # Generation Date: $alert = "This is computer generated invoice and do not require any stamp or signature"; $pdf->SetFont('helvetica','',; $pdf->SetFillColor(255,246,191); $pdf->MultiCell(170,6,$alert,2,'L','1','','','','1'); 0 Quote Link to comment Share on other sites More sharing options...
BobC Posted August 1, 2012 Share Posted August 1, 2012 Hi there, in the invoicepdf.tpl, add this before # Generation Date: $alert = "This is computer generated invoice and do not require any stamp or signature"; $pdf->SetFont('helvetica','',; $pdf->SetFillColor(255,246,191); $pdf->MultiCell(170,6,$alert,2,'L','1','','','','1'); Shouldn't that be "does not" instead of "do not"? 0 Quote Link to comment Share on other sites More sharing options...
you86 Posted August 1, 2012 Author Share Posted August 1, 2012 Hi there, in the invoicepdf.tpl, add this before # Generation Date: $alert = "This is computer generated invoice and do not require any stamp or signature"; $pdf->SetFont('helvetica','',; $pdf->SetFillColor(255,246,191); $pdf->MultiCell(170,6,$alert,2,'L','1','','','','1'); there is no # Generation Date in invoicepdf.tpl can you give me few more line above or blow # Generation Date which i can match in invoicepdf.tpl 0 Quote Link to comment Share on other sites More sharing options...
BobC Posted August 8, 2012 Share Posted August 8, 2012 there is no # Generation Date in invoicepdf.tpl can you give me few more line above or blow # Generation Date which i can match in invoicepdf.tpl It should be at the very bottom of the template. It is in both v5.0.3 and v5.1.2. 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted August 9, 2012 Share Posted August 9, 2012 Line: 179 invoicepdf.tpl 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.