# Print in cakephp3

**URL:** <https://discourse.cakephp.org/t/print-in-cakephp3/6884>\
**Category:** Need Help\
**Created:** [November 14, 2019, 9:42am UTC](https://discourse.cakephp.org/t/print-in-cakephp3/6884 "2019-11-14T09:42:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aman](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@Aman](https://discourse.cakephp.org/u/Aman)\
**Post date:** [November 14, 2019, 9:42am UTC](https://discourse.cakephp.org/t/print-in-cakephp3/6884/1 "2019-11-14T09:42:09Z")

</div>

Hello.  
Is it possible to print the resulting result in a printer?  
I mean, create a print button so that the user can print the data requested

---

<div class="post-metadata">

**Author:** ![jimgwhit](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/jimgwhit/32/378_2.png) [@jimgwhit](https://discourse.cakephp.org/u/jimgwhit)\
**Post date:** [November 15, 2019, 12:25am UTC](https://discourse.cakephp.org/t/print-in-cakephp3/6884/2 "2019-11-15T00:25:02Z")

</div>

Many folks convert to pdf first, but javascript has a `window.print();` function.

If using javascript, some trial and error will be required to format everything.
