Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
6429 Ansichten

Hello,

I need to print label as full scale using paperformat with custom mode, i have created paper format and it's working fine. now, the problem is  the label is printing standard size but i need this dynamic same like paper format width and height.

can anyone show me a way.

Thank you.

Avatar
Verwerfen
Beste Antwort

This example can help you:

<div class="page" t-attf-style="background-image:url('/xxx/static/img/test.jpg'); background-size:195mm 282mm; width:195mm; height:282mm;">
....
</div>

or this:

<style>
    .Your_class > img { height: 282px; width: 195px; }
</style>
<field name="your_picture" widget="image" class="Your_class"/>



Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Juli 25
1283
4
Okt. 20
10158
7
Juli 19
4334
0
März 19
2649
0
März 15
2780