Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6453 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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



อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Labels/Barcodes Customization แก้ไขแล้ว
2
ก.ค. 25
1589
4
ต.ค. 20
10192
7
ก.ค. 19
4365
0
มี.ค. 19
2668
0
มี.ค. 15
2824