Odoo Help

5
1 Answer
0
Michael Storck
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

3 Comments
ton123
8/15/13, 4:54 AM

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

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

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

ton123
8/15/13, 4:23 PM

Thank you, this is perfect!

Ask a Question
Writer
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

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

Test it now