Please can we create a thermal paper theme which can be used for thermal printers.
I am really struggling with this.
Hope to get a resolution fast.
Please can we create a thermal paper theme which can be used for thermal printers.
I am really struggling with this.
Hope to get a resolution fast.
I’ll put this into ideas
on the basis that I’m not even sure this is something that should be solved by custom theme. This might need to be generic feature.
Google Cloud print was discontinued so not sure what you are suggesting.
@lubos are we winning with this Idea?
You can still use the obsolete custom themes function, links to thermal format provided in my post years ago in this discussion. I do not think this is on the horizon at all, because you could use print to in view as well.
Thanks @eko
Now the Challenge is I am getting this message below and I am stuck. Kindly assist please…
That same error is shown in the same topic How to print on 58/80mm thermal paper - #15 by ATMCAssociates and the answer provided too! How to print on 58/80mm thermal paper - #16 by Mark
It has worked… Thanks a billion @eko
I have removed the PDF
Please mark my post as solution. I also flagged your post because it contains a PDF file and realize that a PDF file was attached to the old topic as well. However please remove the PDF and copy and paste the code in the post. Once pasted select the code and click on the </> button so it is recognized as code. Thanks!
I tried printing using a POS printer on 400mm size paper but the Print too small or being cut. The scale of 60 gave me a good result but I would like to increase the font size for the Amounts and description. How can I do that? Thanks in Advance
This was tested today and work now with modifications.
hello
I tried it but it didn’t work well
can some one help me please
and I want to use arabic in some items
this is the problem when I use only english
Please show the code you tried as per https://forum.manager.io/faq:
If your question is related to custom themes or custom reports, always post the code or report definition you have developed and the results it produces. Do not simply post a picture of something you want and ask other users to tell you how to achieve it.
Also ensure that we know which Edition (Cloud, Server, Desktop), Operating System (Windows, Linux, IOS) and Manager version (shows at the very bottom of each screen) you use. Then as per faq:
Manager advances very quickly, simplifying and adding features and capabilities. Sometimes, bugs occur with new releases. But these are usually fixed rapidly, often within minutes. So if you encounter a problem with the desktop or server editions, update Manager , even if you recently did. (The cloud edition is always up to date.) You can check the latest version at https://www.manager.io/desktop/download/ .
thank you for your reply and sorry I’m new here and I didn’t read the faq
I used this code:
<table style="background-color: #FFFFFF: width: 50px; color: #000000; text-transform: UPPERCASE">
{% assign description = null %}
{% assign qty = null %}
{% assign amount = null %}
<thead>
<tr>
<td>
<div style="text-align: center; width: 250px; word-wrap: break-word; margin-top: 3; margin-bottom: 30px">
<div style="font-size: 20px; font-weight: bold; margin: 5px 0 10px 0">{{ business.name }}</div>
<div>{{ business.address | replace: "\n", " " }}</div>
<div style="font-weight: bold; font-size: 15px; padding: 5px; text-align: center; marginbottom: 0px color: #000000; margin-top: 30px">{{ title }}</div>
<div style="font-weight: bold; margin-top: 20px">Customer Name: <span style="fontweight: normal">{{ recipient.name }}</span></div>
</div>
</td>
</tr>
<tr>
<td>
<div style="text-align: center; width: 250px; word-wrap: break-word; margin-bottom: 30px">
{% for field in fields %}
<div style="display: inline-block">
<div style="font-weight: bold; float: left; margin-right: 5px">{{ field.label }}: </div>
<div style="float:left; margin-bottom: 10px; margin-right: 5px">{{ field.text }}</div>
</div>
{% endfor %}
</td>
</tr>
<tr>
<div style="width: 250px; word-wrap: break-word; margin-bottom: 30px">
<div style="max-width: 100%; margin: 0 auto">
</div>
<td style="font-weight: bold; color: #000000; text-align: left; padding-left: 0px; paddingright: 0px; width: inherit; margin: 0 auto;">
<div style="width: 280px;">
{% for column in table.columns %}
{% case column.label %}
{% when 'Description' %}
{% assign description = forloop.index0 %}
<span style="display: block; word-wrap: break-word; width: 53%; float:left">{{ column.label }}</span>
{% when 'Qty' %}
{% assign qty = forloop.index0 %}
<span style="display: block; word-wrap: break-word; width: 17%; float:left">{{ column.label }}</span>
{% when 'Total' or 'Amount' %}
{% assign amount = forloop.index0 %}
<span style="display: block; word-wrap: break-word; width: 30%; float:left">Amount</span>
{% endcase %}
{% endfor %}
</div>
</td>
</div>
</tr>
</thead>
<tbody>
{% for row in table.rows %}
<tr>
<div style="width: 250px; word-wrap: break-word; margin: 0px 0px 20px 0px; clear: both">
<div style="max-width: 100%; margin: 0 auto">
<td style="color: #000000; text-align: left; padding-left: 0px; padding-right: 3px; width: inherit; margin: 0 auto;">
<div style="width: 280px">
{% for cell in row.cells %}
{% case forloop.index0 %}
{% when description %}
<span style="display: block; word-wrap: break-word; width: 53%; float:left">{{ cell.text }}</span>
{% when qty %}
<span style="display: block; word-wrap: break-word; width: 17%; float:left">{{ cell.text }}</span>
{% when amount %}
<span style="display: block; word-wrap: break-word; width: 30%; float:left">{{ cell.text }}</span>
{% endcase %}
{% endfor %}
</div>
</td>
</div>
</div>
</tr>
{% endfor %}
{% for total in table.totals %}
<tr>
<div style="width: 300px; word-wrap: break-word; clear: both">
<div style="max-width: 100%; margin: 0 auto">
<td style="text-align: left; font-weight: bold; font-size: 13px">
<div style="width: 250px">
<span style="display: block; float:left; width: 70%; margin-top: 20px; margin-bottom: 15px;">{{ total.label }}:</span>
<span style="display: block; float:left; width: 30%; margin-top: 20px; margin-bottom: 15px;">{{ total.text }}</span>
</div>
</td>
</div>
</div>
</tr>
{% endfor %}
<tr>
<div style="width: 300px; word-wrap: break-word; margin-bottom: 20px">
<div style="max-width: 100%; margin: 15px auto 0 auto">
<td>
<div style="padding-left: 2px; width: 280px; word-wrap: break-word">
{% for field in custom_fields %}
<div style="font-weight: bold; margin-top: 15px">{{ field.label }}</div>
<div style="padding-bottom: 20px; margin-top: 15px">{{ field.text | newline_to_br }}</div>
{% endfor %}
</div>
</td>
</div>
</div>
</tr>
<tr>
<div style="width: 300px; word-wrap: break-word; margin: 0px 0px 10px 0px">
<div style="max-width: 100%; margin: 15px auto 15px auto">
<td>
<div style="padding-left: 4px; width: 250px; word-wrap: break-word; text-align: center">
<p><b>Thank you for choosing {{ business.name }}.</b></p>
</div>
</td>
</div>
</div>
</tr>
</tbody>
</table>
I’m using desktop edition on win 10 Pro N
and I already updated to the latest version 25.2.15.2096
<table style="background-color: #FFFFFF: width: 404px; color: #000000; text-transform: UPPERCASE\lowercase ;font-size:18px">
{% assign description = null %}
{% assign qty = null %}
{% assign unit price = null %}
{% assign amount = null %}
<thead>
<tr>
<div style="text-align: center;">
{% if business.logo != null %}
<img src="{{ business.logo }}" style="max-height: 150px; max-width: 200px; display: block; margin: 0 auto 10px;" />
{% endif %}
</div>
<td>
<div style="text-align: center; width: 404px; word-wrap: break-word; margin-top: 10; margin-bottom: 10px">
<div style="font-size: 30px; font-weight: bold; margin: 5px 0 10px 0">{{ business.name }}</div>
<div>{{ business.address | replace: "\n", " " }}</div>
<div style="border: 1px solid #000; width: 404px; height: 1px"></div>
<div style="font-size: 30px; font-weight: bold; margin: 5px 0 10px 0">{{ title }}</div>
<div style="font-weight: bold; margin-top: 5px">Customer:<span style="font-weight: normal">{{ recipient.name }}</span></div>
<tr>
<td>
<div style="text-align: left; width: 404px; word-wrap: break-word; margin-bottom: 5px">
{% for field in fields %}
<div style="display: inline-block">
<div style="font-weight: bold; float: left; margin-right: 1px">{{ field.label }}: </div>
<div style="float:left; margin-bottom: 5px; margin-right: 1px">{{ field.text }}</div>
</div>
{% endfor %}
</td>
<tr>
<div style="width: 404px; word-wrap: break-word; margin-bottom: 10px">
<div style="max-width: 100%; margin: 0 auto">
</div>
<td style="font-weight: bold; color: #000000; width: inherit; margin: 0 auto;">
<div style="width: 404px;">
<div style="border: 1px solid #000; width: 404px; height:1px"></div>
<div style="padding-left: 0px; display: block; text-align: left; word-wrap: break-word; width: 5%; float:left">#</div>
{% for column in table.columns %}
{% case column.label %}
{% when 'Description' %}
{% assign description = forloop.index0 %}
<span style="padding-left: 5px; display: block; text-align: left; word-wrap: break-word; width: 40%; float:left">{{ column.label }}</span>
{% when 'Qty' %}
{% assign qty = forloop.index0 %}
<span style="padding-left: 5px; display: block; text-align: right; word-wrap: break-word; width: 10%; float:left">{{ column.label }}</span>
{% when 'Unit price' %}
{% assign Unitprice = forloop.index0 %}
<span style="padding-left: 5px; display: block; text-align: right; word-wrap: break-word; width: 15%; float:left">Price</span>
{% when 'Total' or 'Amount' %}
{% assign amount = forloop.index0 %}
<span style="padding-left: 5px; display: block; text-align: right; word-wrap: break-word; width: 30%; float:right">Amount</span>
{% endcase %}
{% endfor %}
</div>
</td>
</div>
</tr>
</thead>
<tbody>
{% for row in table.rows %}
<tr>
<div style="width: 404px; word-wrap: break-word; margin: 0px 0px 20px 0px; clear: both">
<div style="max-width: 100%; margin: 0 auto">
<td style="color: #000000; padding-right: 0px; width: inherit; margin: 0 auto;">
<div style="width: 404px">
<div style="padding-left: 0px; display: block; text-align: left; word-wrap: break-word; width: 5%; float:left">{{ forloop.index0 | plus:1 }}</div>
{% for cell in row.cells %}
{% case forloop.index0 %}
{% when description %}
<span style="padding-left: 5px; display: block; text-align: left; word-wrap: break-word; width: 40%; float:left">{{ cell.text | newline_to_br }}</span>
{% when qty %}
<span style="padding-left: 5px; display: block; text-align: right; word-wrap: break-word; width: 10%; float:left">{{ cell.text }}</span>
{% when Unitprice %}
<span style="padding-left: 5px; display: block; text-align: right; word-wrap: break-word; width: 15%; float:left">{{ cell.text }}</span>
{% when amount %}
<span style="padding-left: 5px; display: block; text-align: right; word-wrap: break-word; width: 30%; float:right">{{ cell.text }}</span>
{% endcase %}
{% endfor %}
</div>
</td>
</div>
</div>
</tr>
{% endfor %}
{% for total in table.totals %}
<tr>
<div style="width: 404px; word-wrap: break-word; clear: both">
<div style="max-width: 100%; margin: 0 auto">
<td style="font-weight: bold; font-size: 20px">
<div style="width: 404px">
<span style="text-align: left; display: block; float:left; width: 70%; margin-top: 20px; margin-bottom: 15px;">{{ total.label }}:</span>
<span style="text-align: right; display: block; float:left; width: 30%; margin-top: 20px; margin-bottom: 15px;">{{ total.text }}</span>
</div>
</td>
</div>
</div>
</tr>
{% endfor %}
<tr>
<div style="width: 404px; word-wrap: break-word; margin-bottom: 20px">
<div style="max-width: 100%; margin: 15px auto 0 auto">
<td>
<div style="padding-left: 2px; width: 404px; word-wrap: break-word">
{% for field in custom_fields %}
<div style="font-weight: bold; margin-top: 15px">{{ field.label }}</div>
<div style="padding-bottom: 20px; margin-top: 15px">{{ field.text | newline_to_br }}</div>
{% endfor %}
</div>
</td>
</div>
</div>
</tr>
<tr>
<div style="width: 404px; word-wrap: break-word; margin: 0px 0px 8px 0px">
<div style="max-width: 100%; margin: 15px auto 15px auto">
<td>
<div style="padding-left: 1px; width: 353px; word-wrap: break-word; text-align: center">
<div style="border: 1px solid #000; width: 404px; height:1px"></div>
<p><b>Thank you for doing business with us!<br><br>Follow us on<br>Instagram and TikTok<br>@yourbusinesssocialhandle
@Abeiku in this theme if we select same items more then one time it does not show item qty.
That’s strange because I know someone using this for their small retail shop, and they aren’t encountering this.
Your message is clear, but please post screenshots of your edit screen and the output on the view document screen so we can take a look.
@Abeiku snap attached for your reference.
Item Qty visible (if different items selected)