-
Committer:
Jordi Esteve
-
Date:
2010-07-16 19:06:06 UTC
-
Revision ID:
jesteve@zikzakmedia.com-20100716190606-lgfihpw5vzakhb21
[IMP] label: Flexible templates for label reports basen on Mako and ReportLab for partner, address, product, picking, ...:
* Definition of page sizes, label manufacturers and label formats
* Flexible label formats (page size, portrait or landscape, manufacturer, rows, columns, width, height, top margin, left margin, ...)
* Initial data for page sizes and label formats (from Avery and Apli manufacturers)
* Wizard to print labels. The label format, the printer margins, the font type and size, the first label (row and column) to print on the first page can be set.
* The labels are created as Mako Templates: The label body can contain:
1) Fixed strings like 'Ref.:'
2) Mako fields like 22459{object.name}
3) Mako control sequence %%for ... %%endfor for loops
4) ReportLab tags <b> <i> <u> <super> <sub> <font> <barCode> <greek>
5) ReportLab tags like <blockTable>, <tr>, <td>, ...
6) <nextFrame/> tag where you want jump to next label.
Note: Only 1, 2, 4 contents can be mixed in the same line.
Note: Line with 1, 2, 4 content is inserted in a <para> tag.
For ReportLab documentation visit http://www.reportlab.com/software/documentation/
* Report style sheets can be defined to be used in the label body
* The labels can be printed sorted by three different fields