tcpdf new page

teldrive 20 Jul, 2014
Hi everyone, I apreciate if you can help me
I need to generate several pdf pages with different text information
php code works fine generating it but i don't know code to change to a new page
TCPDF has a code to do this
$tcpdf->AddPage()


Has it been implemented into tcpdf action?
by the way is it posible eliminate black line of header?
regards
teldrive 22 Jul, 2014
I get solved last issue, change in /administrator/components/com_chronoforms5/chronoforms/actions/tcpdf/tcpdf/tcpdf.php(line 676)
protected $print_header = false;
teldrive 23 Jul, 2014
:D Great Bob, works like a charm
let me share with you another TCPDF trick, when used capital letters you have to use
mb_strtoupper($form->data['model']['field'],'utf-8');

in order to avoid change of aspect in special characters, for example CÓDIGO if you use
strtoupper($form->data['model']['field']);

will show "CóDIGO"
This topic is locked and no more replies can be posted.