コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6404 ビュー

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



アバター
破棄
関連投稿 返信 ビュー 活動
2
7月 25
956
4
10月 20
10143
7
7月 19
4306
0
3月 19
2622
0
3月 15
2758