Hello,
If by “print” you mean that you want to send a page to the physical printer, please see this post:
There are also a handful of other posts on that kind of printing on the forum (just search for “print page” and you’ll find a few).
If by “print” you mean that you just want to send results back to the client and display them, and perhaps you are stuggling with the database, the timer, or something else, perhaps you could show what you have tried (with code and an example app if possible), and we can help to sort things out.