Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
13335 Vizualizări

When printing product module product label for the purpose of generatted barcode on each product,

there is so much waste in paper,

how can i print small size barcode label

Imagine profil
Abandonează
Cel mai bun răspuns

In qweb u can use 

<img t-att-src="'/report/barcode/? type=%s&value=%s&width=%s&height=%s'%('EAN13', 'text', 200, 200)"/>
u can change the size in last two args..

refer this link for full details

Imagine profil
Abandonează
Cel mai bun răspuns

The frame_height and frame_width are used to create a frame for the product label. The file is product_xsl. The page size can be set in the template tag like this:

<document> <template pageSize="(175.78,79.38)" leftMargin="0.0cm" rightMargin="0.0cm" topMargin="0.0cm" bottomMargin="0.0cm" title="Address list" author="Generated by Odoo">

The pageSize is given in DTP-point, in this case:

175.78 DTP-point = 62mm and 79.38 DTP-point = 28mm

 

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
nov. 24
897
0
iun. 25
958
0
feb. 25
1081
1
ian. 25
1350
0
mai 24
1613