'how can I load qr_code in xhtml2pdf in django?

I am trying to print qrcode in xhtml2pdf but it didn't work with my. It is working on normal html template but when I render html2pdf it is not displaying. This my html2pdf template. I am using xhtml2pdf library.

    {% for company in companys %}
<table>

    <tr>
        <td style="padding-left:40px;width:70px;">
            {% load qr_code %}
            {% qr_from_text 'Hello World!' %}
         <img style="width:70px;height:70px;" src="./staticfiles/toyota.png">
        </td>
        <td style="padding-right:30px;font-size:25px;">{{ company.name }}</td>
        <td style="padding-right:20px;width:110px;">
            <img style="width:70px;height:70px;" src="../staticfiles/isuzu.png">
        </td>
    </tr>
    <tr>
        <td style="width:150px;"></td>
        <td style="padding-right:30px;font-size:15px;">{{ company.tel }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ company.address }}</td>
        <td></td>
    </tr>
    <tr>
        <td style="width:150px;"></td>
        <td style="padding-right:30px;font-size:15px;">{{ company.tax_num }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ company.com_num }}</td>
        <td></td>
    </tr>
</table>
{% endfor %}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source