Odoo Help

5
0
Michael Storck
On 8/14/13, 8:03 PM

I had a similar requirement, print the label on a Brother label printer which accepts the size 62mmx28mm.

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 Open ERP">

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

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

This looks good! But where can I find "in the template tag". Is it somewhere in the OpenErp settings?

ton123
on 8/15/13, 4:54 AM

You can find it in the product_label.xsl file. It is located on your openerp server.

Michael Storck
on 8/15/13, 5:03 AM

Thank you, this is perfect!

ton123
on 8/15/13, 4:23 PM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 3/18/13, 5:16 PM
Seen: 4040 times
Last updated: 4/4/17, 2:25 PM