I have a custom template and it works great it views great in manager because it never printed to what I saw on the screen it split my logo picture in 2 I had to save as a PDF and then print it that worked but since I have up graded manager the logo which is a colour picture does not print or save at all
I just sat down to print off 5 invoices and relised they didnt work
Your logo is probably too large. Reduce its maximum size in your template.
No I tried that it worked before I updated
Does the logo still show in Business Logo under settings? If it is a locally available image make sure you have not moved the image to another location.
But did you try this after you updated? If it worked before the update, but does not work after, and the update is the only thing that changed, your previous experience is no longer relevant.
Thanks I looked at what you said and redirected it.
I can not work it out it shows on the screen but not when I print
Tut No I meant I tried the resize after update and that did not work
maybe my code is supposed to say something about printing?
here is my code
<table style="padding: 30px">
<thead>
<tr>
<td colspan="150" style="padding: 0 50px;{% if business.logo != null %}background-image:URL({{ business.logo }});background-repeat:no-repeat;background-size:99% 100%;{% endif %}">
<table style="margin-bottom: 20px">
<tr>
<td style="font-weight: bold; font-size: 32px">{{ title }}</td>
</tr>
</table>
<table style="margin-bottom: 20px">
<tr>
<td>
<div><b>{{ recipient.name }}</b> {{ recipient.code }}</div>
<div>{{ recipient.address | newline_to_br }}</div>
<div>{{ recipient.identifier }}</div>
</td>
<td style="border-right-width: 1px; padding-right: 20px; text-align: right">
{% for field in fields %}
<div style="font-weight: bold">{{ field.label }}</div>
<div style="margin-bottom: 10px">{{ field.text }}</div>
{% endfor %}
</td>
<td style="padding-left: 20px; width: 1px; white-space: nowrap">
<div style="font-weight: bold">{{ business.name }}</div>
<div>{{ business.address | newline_to_br }}</div>
<div>{{ business.identifier }}</div>
</td>
</tr>
</table>
<div style="font-size: 14px; font-weight: bold; margin-bottom: 20px">{{ description }}</div>
</td>
</tr>
<tr>
{% for column in table.columns %}
<td style="font-weight: bold; padding: 5px 10px; text-align: {{ column.align }}; border-left-width: 1px; border-bottom-width: 1px; border-top-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}{% if column.nowrap %}; white-space: nowrap; width: 80px{% endif %}">{{ column.label }}</td>
{% endfor %}
</tr>
</thead>
<tbody>
{% for row in table.rows %}
<tr>
{% for cell in row.cells %}
<td style="padding: 5px 10px; text-align: {{ table.columns[forloop.index0].align }}; border-left-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}{% if table.columns[forloop.index0].nowrap %}; white-space: nowrap; width: 80px{% endif %}">{{ cell.text | newline_to_br }}</td>
{% endfor %}
</tr>
{% endfor %}
{% for column in table.columns %}
<td style="border-bottom-width: 1px; border-left-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}"> </td>
{% endfor %}
{% for total in table.totals %}
<tr>
<td colspan="{{ table.columns | size | minus:1 }}" style="padding: 5px 10px; text-align: right{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.label }}</td>
<td style="border-color: #000; border-left-width: 1px; white-space: nowrap; border-right-width: 1px; border-bottom-width: 1px; padding: 5px 10px; text-align: right{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.text }}</td>
</tr>
{% endfor %}
{% for field in custom_fields %}
<tr>
<td colspan="99">
<div style="font-weight: bold; padding-top: 20px">{{ field.label }}</div>
<div>{{ field.text | newline_to_br }}</div>
</td>
</tr>
{% endfor %}
{% if emphasis.text != null and emphasis.positive %}
<tr><td colspan="99"><div style="text-align: center; margin-top: 40px"><span style="color: #006400; border-width: 5px; border-color: #006400; padding: 10px; font-size: 20px">{{ emphasis.text | upcase }}</span></div></td></tr>
{% endif %}
{% if emphasis.text != null and emphasis.negative %}
<tr><td colspan="99"><div style="text-align: center; margin-top: 40px"><span style="color: #FF0000; border-width: 5px; border-color: #FF0000; padding: 10px; font-size: 20px">{{ emphasis.text | upcase }}</span></div></td></tr>
{% endif %}
</tbody>
</table>
Looking at your template, the problem is this line:
<td colspan="150" style="padding: 0 50px;{% if business.logo != null %}background-image:URL({{ business.logo }});background-repeat:no-repeat;background-size:99% 100%;{% endif %}">
Basically PDF button doesn’t support all CSS declarations. So it can view well but printing using PDF button won’t work properly.
What are you trying to achieve?
Still don’t understand I have 2 laptops 1 I uploaded the latest manager and 1 I haven’t the one I haven’t works and the one I have doesn’t.
@Wornout, you aren’t providing useful information. You need to provide version numbers, operating system information, etc.
Did it work on this laptop prior to you uploading the latest manager on to it, if yes, then between the two versions some event has occurred - what are the two versions