Could you please test new “PDF” button? (part 2)

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.

see attached sales quotation and sales order problem


@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:

The “zeros” are falling under the next row. Instead of 100, you can only see 10, same with 300. But I noticed that if you make the 300 to 3000, it will come just like this: Any solution Sir? Please we need your help asap. Thank you so much.

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.

View in Manager:

View when clicked on PDF button:

Appreciate for assistance. Thanks.

What is your question?

the PDF output is different with what I have in Manager.

  1. For the top header, the words should in White, but in Black when generated in PDF. The column size also seems vary.
  2. the red color section, the size and position also seems different.
  3. 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 style=“background-color: #535d5c; width:500px;”>

< td> < td style="background-color: #d5453a;"> < td> < td colspan="99">
            <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>
{ % 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>