Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6379 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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"/>



Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lip 25
405
4
paź 20
10109
7
lip 19
4292
0
mar 19
2611
0
mar 15
2746