I'm generating barcodes from lines made from someone else. It looks like the barcode is getting scaled, resulting in gray edges to the left and right of the barcode lines, that, in turn, result in the printer printing the lines with aliased artifacts (The printer cant print gray, so it prints a ratio of pixels).
I'm not too involved with Odoo, but would like to try and fix it. Is there something below I can change to fix the issue?
<t t-foreach="docs" t-as="o">
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', o.name, 600, 100)" style="width:300px;height:50px"/>
<p class="text-center" t-field="o.name"/>
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/1/16, 4:18 PM|
|Seen: 91 times|
|Last updated: 11/9/16, 5:26 PM|