same on. f.e. sales order, item description, see one screen shot like it looks on the screen, then when i use PDF for print, the “empty lines” are gone
One Update suggestion for PDF File Name.
If I generate PDF File it has random name. And store in temporary Location.
So If possible please save the PDF File as a customize location with proper File Name & Date.
Like, If i Generate PDF From sales Invoice then…
it’s File name will look like…
Sales Invoice for “XYZ Company/customer Name” On "Specific Date OR Invoice No. … "
@Dietmar, check the latest version (16.11.65). PDF generator should be able to handle empty lines now.
@Dietmar, you can generally obtain more consistent results on any form in Manager where you want blank lines by inserting the HTML tag <br>
instead of using the return key.
For example:
This line of text with <br> <br> tags
produces:
This line of text with
tags
@lubos, great - now all fine as before. Empty lines are all fine. Just keep in mind that pdf for Sales Order, Sales Invoice, Purchase Order and Purchase Invoice still have problems, seems only Quotation is fine
thanks for support, appreciate
What sort of problems? You need to be more specific.
@Dietmar, yeah this is known issue on Mac OS X when generating some PDF documents. I’m afraid to fix this error, I will need to be able to reproduce it locally. If you want to fix it right away, you can send me your accounting file to lubos@manager.io
or wait for 2-3 weeks. It should be fixed for everyone by then.
you mean i send you my backup file?
Yes.
ok, done, on the way
Hello Sir @lubos I am using version 17.1.16 server edition. I am having a problem with the PDF button.
Check this one:
Update your software. That problem was fixed. I can no longer reproduce it.
Hello Sir @Tut thank you. Can you send me a link on how to update my software or any guide. Thank you so much. This is Server Edition btw. Thanks again.
Update the same way you originally installed.
What is your question?
the PDF output is different with what I have in Manager.
- For the top header, the words should in White, but in Black when generated in PDF. The column size also seems vary.
- the red color section, the size and position also seems different.
- For the column header, the size for each column also seems to display differently.
Any clues what’s goes wrong? I can change the code, but I thought the PDF should comes out as what I see in Manager. Thanks.
The PDF generator does not support all font attributes and uses the Notu fonts.
Sorry, Tut. I can’t get you. I don’t think I define any special font attributes. Below are the codes. Thanks.
< thead>
< tr>
< td colspan=“99”>
< table>
< tr>
< td style=“background-color: #535d5c; width:500px; height:200px;”>< /td>
< td style=“background-color: #373b3c; width:200px;”>
< table>< tr style=“color:#FFFFFF”>
< td style=“padding:15px; align: center”>
< img src=“data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAALCAYAAABPhbxiAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAADGSURBVCiRndIxSkNBFIXh81yAWAQEURQkhU1WYOcKLFJbpBBsBG1dl2AtsbDQxkIQCYqIS3AE81k44vMhQXOLGe6Z/8Dhzm0g8xTe8YLBH9hNPGIaFOziGVszTKu4xz5K8FYf9vCAjV9My7jFYe3L5/ENHOAOKy1tCVc4aWk/jVU8ww16WMQlzjtMWegIR0nWk5wmuUgyTnKdpIfjbv5S7xEmWKv9NnbQ1MFMMGpHfcUQT+jPmGq/MsMv43/+cVDZaTPv5nwAQGrzt/TVW3IAAAAASUVORK5CYII=”>
< img src=“data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAOCAYAAAASVl2WAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABwSURBVBiVpZExCoNAEEXf7kXS5yQeU7xEDhBSqaAI6VPkGOGlcAQL3S38zcznPz4Dg/py1U/t1TF21WdSZ+DBsRrU7iREbTOQzgCAXAo3oNSQag1VoHqDlxvIgCUgqV/gHf4T8xbzTjxo06QuOz/8ASNlUiCg/arMAAAAAElFTkSuQmCC”>
< td style=“padding:15px;”> www.onyxcad.com
abc@onyxcad.com< br>
12312312< br>
Selangor, Malaysia< br>
< /td>
< /tr>< /table>
< /td>
< td style=“background-color: #535d5c; width:100px;”>
< /tr>< tr style=“height:30px;”>
< td> < td style="background-color: #d5453a;"> < td> < td colspan="99">
< td style=“background-color: #535d5c; width:500px;”>{ % for column in table.columns %} < td style="font-weight: bold; color: #ffffff; background-color: #d5453a;; border-bottom-width: 5px; border-color: #F7CAAC; padding: 10px; text-align: {{ column.align }}{% if forloop.first %}; padding-left: 30px{% endif %}{% if forloop.last %}; padding-right: 30px{% endif %}{% if column.nowrap %}; white-space: nowrap; width: 80px{% endif %}">{{ column.label }} { % endfor %} < /tr> < /thead><table style="margin-bottom: 20px"><tr> < td style="padding-left: 30px"> <div><b>{{ recipient.name }}</b> {{ recipient.code }}</div> <div>{{ recipient.address | newline_to_br }}</div> <div>{{ recipient.identifier }}</div> </td> < td style="padding-right: 30px"> {% for field in fields %} <div style="font-weight: bold">{{ field.label }}</div> <div style="margin-bottom: 10px">{{ field.text }}</div> {% endfor %} </td> </tr></table> < div style="font-size: 14px; font-weight: bold; margin-bottom: 20px; padding: 0px 30px">{{ description }}< /div> < /td> < /tr>