chas5427 Posted February 10, 2012 Share Posted February 10, 2012 would like to change the default size/color of the "UNPAID" text on new pdf invoices. i found a fix for older versions, but not for my version. apparently the code has changed in invoicepdf.tpl? Version: 5.0.2 thanks, chas 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted February 10, 2012 Share Posted February 10, 2012 Line 26 sets the font, style, and size, line 31 sets the banner around it. $pdf->SetFont('freesans','B',28); Freesans font, bold, size 28 And for the banner: $pdf->Cell(100,18,strtoupper($statustext),'TB',0,'C','1'); 100px wide, 18px high, all upper case, border on Top and Bottom, text Centered and horizontal scaling. More info on the Cell() function can be found here: http://api.joomla.org/com-tecnick-tcpdf/TCPDF.html#Cell And SetFont() if you need it. http://api.joomla.org/com-tecnick-tcpdf/TCPDF.html#SetFont 0 Quote Link to comment Share on other sites More sharing options...
chas5427 Posted February 10, 2012 Author Share Posted February 10, 2012 (edited) thank you for the information. any thoughts on where i would change the font color? and should these changes render each time i refresh my browser (for existing invoices), or would i need to create a new invoice? chas Edited February 10, 2012 by chas5427 0 Quote Link to comment Share on other sites More sharing options...
chas5427 Posted February 10, 2012 Author Share Posted February 10, 2012 ok. found it. thanks again. chas 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.