Skip to Content
Menu
This question has been flagged
1 Reply
3182 Views

When I print product barcode label on a 25mmx35mm label, the barcode for code128 is small and blur and it can only print 60% of the actual size, how can I remove the barcode margin for the barcode and what should be the right fonts?  

Avatar
Discard
Best Answer

Hi,

Try Something like this

Try to hide the left and right portions by a div.

<div style="width: 35mm; height: 25mm; overflow-x: hidden;">-->
<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', o.name, 300, 50)" style="margin-left: -5mm;margin-right: -5mm;" />
</div>


Thanks

Avatar
Discard