# Printer template tip line

**URL:** <https://forum.sambapos.com/t/printer-template-tip-line/10850>\
**Category:** V5 Question\
**Created:** [May 19, 2016, 12:23am UTC](https://forum.sambapos.com/t/printer-template-tip-line/10850 "2016-05-19T00:23:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimbokasteniv](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/k/22d042/32.png) [@kimbokasteniv](https://forum.sambapos.com/u/kimbokasteniv)\
**Post date:** [May 19, 2016, 12:23am UTC](https://forum.sambapos.com/t/printer-template-tip-line/10850/1 "2016-05-19T00:23:45Z")

</div>

With the new EMV cards in the USA, it has become a hassle to charge tips to customers.

Instead of bringing the terminal to a table or having the customer visit the register to input their tip, I would like to add a tip line on the invoice I present to the customer before they pay.

Something that just says  
Tip: \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
Total: \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

This way the customer can hand write their tip amount and the waitress can then adjust it as usual.  
How do you print underscores in the template? When viewing the preview, they don’t show up?  
Do I have other options for creating an under line, I tried `border: solid`, `border-style: solid`, as well as `border-bottom: solid` but it didn’t seem to have any impact on the div I tried styling.

Anything else I can try?

a snippet of my printer template is as follows:  
`

  
Tip:|a\_a\_
` (I tried to escape the underscores and wrap them in normal characters to see if they would show up)

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [May 20, 2016, 11:17pm UTC](https://forum.sambapos.com/t/printer-template-tip-line/10850/2 "2016-05-20T23:17:40Z")

</div>

Underscores do not show up in the Template _Preview_, but they **do** show up on the Print.

For example, my template has this:

```auto
<J00>{TICKET DATE} {TICKET TIME}|Server: {USER NAME} #{TICKET NO}
<L00>Invoice Number:{TICKET TAG:TID}
<L00> 
<L00>BUS: _____________________________________
<L00> 
{ENTITIES}

```

Preview shows this:

```auto
2016-05-18 08:48 Server: Q #527
Invoice Number:

BUS: 

Table: Table 1

```

Ticket Prints like this:

```auto
2016-05-20 17:17 Server: Q #527
Invoice Number:                                 
                                                
BUS: _____________________________________       
                                                
Table: Table 1 

```

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [May 21, 2016, 1:05am UTC](https://forum.sambapos.com/t/printer-template-tip-line/10850/3 "2016-05-21T01:05:33Z")

</div>

> [@kimbokasteniv](#):
>
> \<div style=“font-size:16px;border: solid”\>\<J21\>Tip:|a\_a\_\</div\>

A little more work but you can use document printer to format your ticket better as demonstrated here, under **Advanced Ticket Print Templating** section.

> [@SambaPOS 5.1.54 Release](https://forum.sambapos.com/t/sambapos-5-1-54-release/7816):
>
> Download Link. arrow_down [http://sambapos.com/?wpfb\_dl=135](http://sambapos.com/?wpfb_dl=135) Here are new features that comes with 5.1.54 release. ###Displaying duration on table buttons {ENTITY STATE MINUTES} tag implemented for displaying time passed on table buttons. Here is a sample display format that used New Orders table state. bulb New Orders state enables when we create a new ticket for a table and it changes table color to orange. $1\<br/\> \<color White\>${REPORT TICKET DETAILS:T.RemainingAmount:(TEN.Table=$…

---

<div class="post-metadata">

**Author:** ![kimbokasteniv](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/k/22d042/32.png) [@kimbokasteniv](https://forum.sambapos.com/u/kimbokasteniv)\
**Post date:** [May 21, 2016, 12:50pm UTC](https://forum.sambapos.com/t/printer-template-tip-line/10850/4 "2016-05-21T12:50:10Z")

</div>

Thanks guys. Glad it was that easy.
