Hi all,
is there a way to customize the output of the pdf file generated by tcpdf action?
I want to remove the header and footer line and also add a logo in header.
It seems that only the parameters in advanced tab of the tcpdf actions are modifiable, but I need more control on the output.
Thanks in advance.
Walter
is there a way to customize the output of the pdf file generated by tcpdf action?
I want to remove the header and footer line and also add a logo in header.
It seems that only the parameters in advanced tab of the tcpdf actions are modifiable, but I need more control on the output.
Thanks in advance.
Walter
Hi Walter,
You can do a limited amount using the TCPDF action but if you want full control then you will need to use a PHP action and access the TCPDF library directly.
Bob
You can do a limited amount using the TCPDF action but if you want full control then you will need to use a PHP action and access the TCPDF library directly.
Bob
Hi Bob,
thanks for your answer.
I tried to use:
in a php action just before the tcpfd action but it returns an error:
It seems tha $pdf is not the correct object to call.
What should I use?
Thanks
Walter
thanks for your answer.
I tried to use:
$pdf->SetPrintHeader(false);
in a php action just before the tcpfd action but it returns an error:
Fatal error: Call to a member function SetPrintHeader() on null in ...
It seems tha $pdf is not the correct object to call.
What should I use?
Thanks
Walter
Hi Walter,
Sorry if I wasn't clear - you would need to take out the TCPDF action and build the whole PDF using a Custom PHP action.
I don't think that there is any way of adding TCPDF commands while using the TCPDF action.
Bob
Sorry if I wasn't clear - you would need to take out the TCPDF action and build the whole PDF using a Custom PHP action.
I don't think that there is any way of adding TCPDF commands while using the TCPDF action.
Bob
This topic is locked and no more replies can be posted.