PDF form

qedqcd

Member
I have somewhat successfully created a template pdf. I have started with the basic form in the manual and expanded it. However, there always seems to be a standard header and footer with a line at top and bottom which is not in my html code. I want to get rid of the line and have everything on my form on one page. IS there something in DaDaBIK that has an internal template it reverts to?
When I use a notepad page in html and just publish it to the browser it looks perfect.

Thanks
 

Martin68

Well-known member
Did you find the linked documentation of the class which seems to be used to crate the pdf-files?

I found this Link in the dadabik-documentation:
https://tcpdf.org/docs/srcdoc/TCPDF/class-TCPDF/

This link seems to be outdated, got an error 404 Page not found ...

Martin
 

qedqcd

Member
Hello,
Thank you so much..that helped a lot! I found it. It is in the tcpdf_config.php file. It pulls the main settings from that. It works great!
 

daan

New member
Hi, It took me some time, but I have found it.
You have to put this in include/pdf_functions.php

// remove lines
$pdf->setPrintHeader(false);
$pdf->setPrintFooter(false);
 
Top