This topic is locked

create custom pdf using FPDF

11/4/2018 10:26:25 PM
PHPRunner General questions
K
KennyB author

OK I must be doing something wrong. I am trying to create my own PDF file using FPDF.
I created my own Button on the edit record form. Click it it should generate "Hello World int oa pdf.

IT does nothing. doesnt even blow up.

I took sample from FPDF and stuck into a function in .php file and put in the Project source folder.

I then did an INCLUDE for the php file in the Before on the custom button.

and called the function.

I also tried on the SERVER side of the button event.
Is there anything I ma missing? Does anyone have any Simple proven way to create an on demand PDF file using FPDF.

using FPDF as I cna have better control of what and when things get outputted as using the Report wizard is very frustrating and limited for what I need to do.
Thanks in advance

fhumanes 11/5/2018

Hi.
It's not exactly the same, but I think it can serve as an example, since more or less, what you want to do.
http://asprunner.com/forums/topic/25899-create-invoice-excel-document-using-phpofficephpspreadsheet/
Regards,