Printing a MYSQL CRUD report

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
trevorm
 
 
Posts: 85
Joined: Sat Mar 14, 2020 3:43 pm

Printing a MYSQL CRUD report

Post by trevorm »

Hi
I have several pages in my business web site built using WWB that incorporate reports generated by using the MYSQL CRUD extension.
Is there a simple way to print the report that is displayed. i.e. add a print button.
I have to report to staff on occasions and currently I am using a screen print app. It would be more convenient to be able to print to pdf.
Thank you.
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Printing a MYSQL CRUD report

Post by Pablo »

There is no dedicated print option for the extensive itself, but you can use the standard browser print functionality.
For example, via events.

Printing to PDF is not a standard HTML option.
trevorm
 
 
Posts: 85
Joined: Sat Mar 14, 2020 3:43 pm

Re: Printing a MYSQL CRUD report

Post by trevorm »

Thanks Pablo - I’ll investigate.
I did have a good look across the forum and the various tutorials. Just wanted to make Sue I wasn’t missing something.
User avatar
BaconFries
 
 
Posts: 5620
Joined: Thu Aug 16, 2007 7:32 pm

Re: Printing a MYSQL CRUD report

Post by BaconFries »

As already mentioned by Pablo this is not directly related to the program but a feature of the browser. Link to how it is done using the browser(s)
https://www.tomsguide.com/how-to/how-to ... e-as-a-pdf
or see the following. Haven't tested the code offered at it.
https://www.tutorialspoint.com/how-to-g ... ml-webpage#
See also the followin. To use some knowledge of htmland javascript need to add to the page.
https://dev.to/climentea/simple-way-to- ... -html-21mh
trevorm
 
 
Posts: 85
Joined: Sat Mar 14, 2020 3:43 pm

Re: Printing a MYSQL CRUD report

Post by trevorm »

Baconfries - Thank you for the leads - looks promicing
dustyboots
 
 
Posts: 41
Joined: Mon Apr 10, 2023 8:00 pm

Re: Printing a MYSQL CRUD report

Post by dustyboots »

@trevorm - you may also want to consider free bullzip pdf printer
It’s pretty good and I think you might be able to automate some things as well…

https://www.bullzip.com/products/pdf/info.php

https://www.youtube.com/@bullzip8704/videos

https://www.bullzip.com/kb/
trevorm
 
 
Posts: 85
Joined: Sat Mar 14, 2020 3:43 pm

Re: Printing a MYSQL CRUD report

Post by trevorm »

Thanks for that - I’ll check it out. I have had some success with the other help given as well.
Post Reply