Page 1 of 1

Printing forms

Posted: Sun May 03, 2020 10:35 am
by trevorm
Is there a way to print forms to pdf?

I would like to extract data from an MySQL DB using say, the extension "MySQL Connector" but could be any extension you suggest and thenI would like to email the pdf. Ideally this would be done in the one web page.

Alternatively, once the data is extracted from the Database into a form in a presentable format, export the form as a pdf as a down load to email to a recipient myself.

I have searched the various forums, extension notes and the WYSIWYG User manual and it is not mentioned.

Re: Printing forms

Posted: Sun May 03, 2020 11:14 am
by Pablo
There is no standard option to print data, this require a third party script.

Re: Printing forms

Posted: Sun May 03, 2020 11:19 am
by trevorm
Do you know of one or where I might find out about it?

Re: Printing forms

Posted: Sun May 03, 2020 11:37 am
by Pablo

Re: Printing forms

Posted: Sun May 03, 2020 7:39 pm
by MGD4me
If you have some basic php programming knowledge, then I'd suggest having a look at fpdf.org for a place to start.

Have a look at their site, as they have some good example scripts, and a few tutorials. I've used the program, and I can get some very good looking results.

YMMV...

Edit ... I just read the link of Pablo's response above, and it uses the same fpdf routine, so there.. two positive votes. LOL

Re: Printing forms

Posted: Mon May 04, 2020 7:59 am
by trevorm
Hello MGD4Me
Thanks for you assistance.
I did follow Pablos link but became quickly overwhelmed I’m afraid, as I’m not a programmer.
I spent several hours yesterday looking into it. I’m amazed there is not an extension - ha ho.

Thanks again