Printing forms

Issues related to forms.
Post Reply
trevorm
 
 
Posts: 50
Joined: Sat Mar 14, 2020 3:43 pm

Printing forms

Post by trevorm » Sun May 03, 2020 10:35 am

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.

User avatar
Pablo
 
Posts: 20592
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Printing forms

Post by Pablo » Sun May 03, 2020 11:14 am

There is no standard option to print data, this require a third party script.

trevorm
 
 
Posts: 50
Joined: Sat Mar 14, 2020 3:43 pm

Re: Printing forms

Post by trevorm » Sun May 03, 2020 11:19 am

Do you know of one or where I might find out about it?

User avatar
Pablo
 
Posts: 20592
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Printing forms

Post by Pablo » Sun May 03, 2020 11:37 am


MGD4me
 
 
Posts: 162
Joined: Tue May 02, 2017 11:56 pm
Location: Canada

Re: Printing forms

Post by MGD4me » Sun May 03, 2020 7:39 pm

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

trevorm
 
 
Posts: 50
Joined: Sat Mar 14, 2020 3:43 pm

Re: Printing forms

Post by trevorm » Mon May 04, 2020 7:59 am

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

Post Reply