# Entity screen with custom report with print button

**URL:** <https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086>\
**Category:** V5 Question\
**Created:** [January 4, 2019, 5:02pm UTC](https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086 "2019-01-04T17:02:08Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephanhenning](https://forum.sambapos.com/user_avatar/forum.sambapos.com/stephanhenning/32/7644_2.png) [@stephanhenning](https://forum.sambapos.com/u/stephanhenning)\
**Post date:** [January 4, 2019, 5:02pm UTC](https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086/1 "2019-01-04T17:02:08Z")

</div>

Im hoping the community can help me.

This was posted last year but did not get much attention so I’m posting again.

I would like to add a print button on and custom report entity screen.

I want my waiters to handle their own cashup at the end of the day, without them going into the admin or main menu side of Sambapos. This can be done via the entity screens easily if i can manage to get the print button to work for that specific custom report.

Previous post from forum member @adam100

> [@How to add a print button to Entity Screen](https://forum.sambapos.com/t/how-to-add-a-print-button-to-entity-screen/18654):
>
> Hello, so we have added a screen for our waitresses to see their orders on. It is just a copy of the Kitchen Display with the buttons removed so wait staff can’t mark an order as complete, only the kitchen. Question. It would be nice if we could add a button to this screen that prints a bill for the customer. That way when a waitress is getting desert together, they can also print a bill from the screen (which is next to the desert station) and give it to the customer or have it ready, eliminati…

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [January 4, 2019, 5:05pm UTC](https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086/2 "2019-01-04T17:05:35Z")

</div>

Are you using that task based kitchen screen? Nm you said report. So his post it would have been simple to just feed the ticket Id. For you though you first need to create your screen with the reports. Have you planned how to do that yet?

---

<div class="post-metadata">

**Author:** ![stephanhenning](https://forum.sambapos.com/user_avatar/forum.sambapos.com/stephanhenning/32/7644_2.png) [@stephanhenning](https://forum.sambapos.com/u/stephanhenning)\
**Post date:** [January 4, 2019, 5:38pm UTC](https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086/3 "2019-01-04T17:38:16Z")

</div>

i’ve done that I believe Kendash unless i’m understanding you wrong, all i’ve done so far is create an entity screen with a custom report widget and I’ve even created a print screen button (Automation) but it does not work.

 ![2019-01-04%2019_00_58](https://forum.sambapos.com/uploads/default/original/3X/b/4/b41df0a155284c1e2290454c7c5b050adeedd59e.png)

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [January 4, 2019, 5:45pm UTC](https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086/4 "2019-01-04T17:45:15Z")

</div>

You need to use the print report automation and feed that users report into it. Did you make separate reports for each user?

---

<div class="post-metadata">

**Author:** ![stephanhenning](https://forum.sambapos.com/user_avatar/forum.sambapos.com/stephanhenning/32/7644_2.png) [@stephanhenning](https://forum.sambapos.com/u/stephanhenning)\
**Post date:** [January 5, 2019, 12:28pm UTC](https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086/5 "2019-01-05T12:28:42Z")

</div>

The report has the following in it, using Current user:

`[Server Sales Details:3,5,5,3] Date:|{DATE} {SETTING:CURRENTUSER} T.No.|Table|Payment|Total {REPORT PAYMENT DETAILS:T.TicketNumber,EN.Tables,P.Type,TN.TotalAmount:(TU={SETTING:CURRENTUSER})} Credit Card: ||R{REPORT PAYMENT TOTAL:(PT=Credit Card) AND (TU={SETTING:CURRENTUSER})} Cash:||R{REPORT PAYMENT TOTAL:(PT=Cash) AND (TU={SETTING:CURRENTUSER})} Zapper:||R{REPORT PAYMENT TOTAL:(PT=Zapper) AND (TU={SETTING:CURRENTUSER})} Account:||R{REPORT PAYMENT TOTAL:(PT=Customer Account) AND (TU={SETTING:CURRENTUSER})} Voucher:||R{REPORT PAYMENT TOTAL:(PT=Voucher) AND (TU={SETTING:CURRENTUSER})} TOTAL:||R{REPORT PAYMENT TOTAL:(TU={SETTING:CURRENTUSER})}`

So you must educate me on why cant this just be printed as a report? Can I just create a print job and add it to the Automation button?

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [January 5, 2019, 1:41pm UTC](https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086/6 "2019-01-05T13:41:39Z")

</div>

Use the print report action. Print jobs are for tickets not reports.

---

<div class="post-metadata">

**Author:** ![stephanhenning](https://forum.sambapos.com/user_avatar/forum.sambapos.com/stephanhenning/32/7644_2.png) [@stephanhenning](https://forum.sambapos.com/u/stephanhenning)\
**Post date:** [January 5, 2019, 2:18pm UTC](https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086/7 "2019-01-05T14:18:37Z")

</div>

![2019-01-05%2016_19_49-Window](https://forum.sambapos.com/uploads/default/original/3X/a/6/a605f08ad7d23cf33ee6ecb9c5e2d3726f502c42.png)

Ok I have created that, what is the next step

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [January 5, 2019, 2:21pm UTC](https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086/8 "2019-01-05T14:21:54Z")

</div>

I’ve not done but I would imagine you need to pass paramiters like you would in the report widget.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [January 5, 2019, 2:30pm UTC](https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086/9 "2019-01-05T14:30:43Z")

</div>

Just create an automation command button and a rule to fire it. No parameters to pass. It will print for currentuser.

---

<div class="post-metadata">

**Author:** ![Linojo](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/l/b782af/32.png) [@Linojo](https://forum.sambapos.com/u/Linojo)\
**Post date:** [January 6, 2019, 3:22am UTC](https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086/10 "2019-01-06T03:22:09Z")

</div>

Could you use this same work flow to print a list of what is low in inventory?

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [January 6, 2019, 4:53am UTC](https://forum.sambapos.com/t/entity-screen-with-custom-report-with-print-button/19086/11 "2019-01-06T04:53:20Z")

</div>

You can create automation buttons to do just about anything.
