# \[Not all solved\]HTML Printer Questions

**URL:** <https://forum.sambapos.com/t/not-all-solved-html-printer-questions/11152>\
**Category:** V5 Question\
**Created:** [June 7, 2016, 7:08am UTC](https://forum.sambapos.com/t/not-all-solved-html-printer-questions/11152 "2016-06-07T07:08:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![the133448](https://forum.sambapos.com/user_avatar/forum.sambapos.com/the133448/32/20443_2.png) [@the133448](https://forum.sambapos.com/u/the133448)\
**Post date:** [June 7, 2016, 7:08am UTC](https://forum.sambapos.com/t/not-all-solved-html-printer-questions/11152/1 "2016-06-07T07:08:50Z")

</div>

First question I have this line in my template

`<span style="font-size: 8px; text-align: left; font-family: 'Tahoma'; border: 1px solid black ;">{ORDER TAG LIST:Sauce} 
</span>`

But the border isnt printing, is there any way of getting it working?

Next question is how do I get a continus straight line. Using Underscore doesnt work (\_\_\_\_\_\_\_\_\_\_\_) Using `<h4>`

Also it seems style=“underline;” doesnt work in the span class

And my final question is is there a way to comma separate mutiiple order tags, becuase at the moment Order Taag List only lets me Grab one order tag.

And lastly is there a way to format order tags like this for example So lines only come up if there is an order tag? For that I thought of using the {ORDER TAGS} selection but that would draw lines for each differnt order tag which is on there.

![](https://forum.sambapos.com/uploads/default/original/3X/0/c/0cbda336c06b5a490e15253fb25f0e988f08dcf3.png)

(The first one has 2 order tags, thee next one has 0 order tags and the last one has 1 order tag)

As I have multiple questions Ill just put all the solutions in one post as discouse doesnt let me tag multiple solutions

---

<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:** [June 7, 2016, 8:33am UTC](https://forum.sambapos.com/t/not-all-solved-html-printer-questions/11152/2 "2016-06-07T08:33:32Z")

</div>

Have you tried a image/bmp for the line?

I think this might be a limitation of escpos but not sure about HTML etc.

Can’t ever remember seeing a epos printer print a table/solid lines, they always seem to go the dashed route…

Intrigued to see if a solution comes up though.

---

<div class="post-metadata">

**Author:** ![the133448](https://forum.sambapos.com/user_avatar/forum.sambapos.com/the133448/32/20443_2.png) [@the133448](https://forum.sambapos.com/u/the133448)\
**Post date:** [June 7, 2016, 8:33am UTC](https://forum.sambapos.com/t/not-all-solved-html-printer-questions/11152/3 "2016-06-07T08:33:47Z")

</div>

> [@the133448](#):
>
> Next question is how do I get a continus straight line. Using Underscore doesnt work (\_\_\_\_\_\_\_\_\_\_\_) Using
> 
> \<h4\>

Solution use this character ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─

---

<div class="post-metadata">

**Author:** ![the133448](https://forum.sambapos.com/user_avatar/forum.sambapos.com/the133448/32/20443_2.png) [@the133448](https://forum.sambapos.com/u/the133448)\
**Post date:** [June 7, 2016, 8:34am UTC](https://forum.sambapos.com/t/not-all-solved-html-printer-questions/11152/4 "2016-06-07T08:34:11Z")

</div>

I tihkn Ive got a solution 😛  
 ![](https://forum.sambapos.com/uploads/default/original/3X/d/d/dd62d2c0a878c775798c3a05b34d2fd15b162dc1.png)  
perfect lline

---

<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:** [June 7, 2016, 8:35am UTC](https://forum.sambapos.com/t/not-all-solved-html-printer-questions/11152/5 "2016-06-07T08:35:22Z")

</div>

On screen? Hope you’ve actually printed 😉

---

<div class="post-metadata">

**Author:** ![the133448](https://forum.sambapos.com/user_avatar/forum.sambapos.com/the133448/32/20443_2.png) [@the133448](https://forum.sambapos.com/u/the133448)\
**Post date:** [June 7, 2016, 8:45am UTC](https://forum.sambapos.com/t/not-all-solved-html-printer-questions/11152/7 "2016-06-07T08:45:49Z")

</div>

Yep it worked! actually a different character  
There are 2 Unicode Lines  
a think one ━━━━━━━━━━━━━━━━━━  
And a thin ────────────────────────

The thick one has a small gap every 6 characcters  
In my example print I put the heavy one on the top and the thin one on the bottom  
 ![](https://forum.sambapos.com/uploads/default/original/3X/8/4/846acd411ad067c287081ab5b3f98b026808001c.png)

Also any comments on mydesign?  
The redacted area is the customer name

---

<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:** [June 7, 2016, 3:04pm UTC](https://forum.sambapos.com/t/not-all-solved-html-printer-questions/11152/8 "2016-06-07T15:04:12Z")

</div>

`span` is not block-level element, so it cannot have a border. Use something like `DIV` instead.

`style="underline"` is not valid html/css… should be `style="text-decoration:underline"`

---

<div class="post-metadata">

**Author:** ![the133448](https://forum.sambapos.com/user_avatar/forum.sambapos.com/the133448/32/20443_2.png) [@the133448](https://forum.sambapos.com/u/the133448)\
**Post date:** [June 7, 2016, 11:00pm UTC](https://forum.sambapos.com/t/not-all-solved-html-printer-questions/11152/9 "2016-06-07T23:00:22Z")

</div>

The problme is div is it creates an extra line before and after, my labelcant be too big, and that div adds to uneccsary line
