Implement continuous tape labels and path-based label shapes.

- Added "roll" as a special paper id
- Added roll_width attribute to draw tape in previews
- Updated Brother QL-500/* label templates
- Preserve print dialog settings between print jobs.
- Added path based labels for arbitrary shaped labels.
- Fleshed out implementation of continuous labels.
This commit is contained in:
Jim Evins
2018-08-11 14:05:26 -04:00
parent b9a1f2e150
commit 467ca9fc62
135 changed files with 41934 additions and 13681 deletions
+44 -17
View File
@@ -3,15 +3,54 @@
<Glabels-templates>
<!-- =================================================================== -->
<!-- Dymo 11352 Return address labels. -->
<!-- 28mm x 89mm Address labels. -->
<!-- =================================================================== -->
<Template brand="Dymo" part="11352" size="Other" width="25mm" height="54mm" _description="Return address labels">
<Template brand="Dymo" part="30252" _description="Address labels"
size="roll" roll_width="31mm" width="28mm" height="89mm" >
<Meta category="label" />
<Meta category="mail" />
<Label-rectangle id="0" width="28mm" height="89mm" round="1mm" x_waste="0mm" y_waste="0mm" >
<Markup-rect x1="1mm" y1="6mm" w="26mm" h="77mm" />
<Layout nx="1" ny="1" x0="0" y0="0" dx="0" dy="0" />
</Label-rectangle>
</Template>
<Template brand="Dymo" part="99010" equiv="30252" />
<!-- =================================================================== -->
<!-- Postage stamp labels. -->
<!-- =================================================================== -->
<Template brand="Dymo" part="30915" _description="Postage stamp labels"
size="roll" roll_width="51mm" width="41mm" height="31mm" >
<Meta category="label" />
<Meta category="mail" />
<Label-path id="0" x_waste="0mm" y_waste="0mm" d_units="mm"
d="M 0 1
l 1 -1 l 1 1 l 1 -1 l 1 1 l 1 -1 l 1 1 l 1 -1 l 1 1 l 1 -1 l 1 1
l 1 -1 l 1 1 l 1 -1 l 1 1 l 1 -1 l 1 1 l 1 -1 l 1 1 l 1 -1 l 1 1
l 1 -1 l 1 1 l 1 -1 l 1 1 l 1 -1 l 1 1 l 1 -1 l 1 1 l 1 -1 l 1 1
l 1 -1 l 1 1 l 1 -1 l 1 1 l 1 -1 l 1 1 l 1 -1 l 1 1 l 1 -1 l 1 1
l 1 1 l -1 1 l 1 1 l -1 1 l 1 1 l -1 1 l 1 1 l -1 1 l 1 1 l -1 1
l 1 1 l -1 1 l 1 1 l -1 1 l 1 1 l -1 1 l 1 1 l -1 1 l 1 1 l -1 1
l 1 1 l -1 1 l 1 1 l -1 1 l 1 1 l -1 1 l 1 1 l -1 1 l 1 1 l -1 1
H 0
Z" >
<Markup-rect x1="1mm" y1="6mm" w="33mm" h="24mm" />
<Layout nx="1" ny="1" x0="0" y0="0" dx="0" dy="0" />
</Label-path>
</Template>
<!-- =================================================================== -->
<!-- 25mm x 54mm Return address labels. -->
<!-- =================================================================== -->
<Template brand="Dymo" part="11352" _description="Return address labels"
size="roll" roll_width="28mm" width="25mm" height="54mm" >
<Meta category="label"/>
<Meta category="mail"/>
<Meta product_url="http://global.dymo.com/deAT/Labels/S0722520.html"/>
<Label-rectangle id="0" width="25mm" height="54mm" round="0pt" x_waste="0pt" y_waste="0pt">
<Label-rectangle id="0" width="25mm" height="54mm" round="1mm" x_waste="0mm" y_waste="0mm">
<Markup-rect x1="1mm" y1="6mm" w="23mm" h="42mm" />
<Markup-margin size="0pt"/>
<Layout nx="1" ny="1" x0="0pt" y0="0pt" dx="25mm" dy="54mm"/>
<Layout nx="1" ny="1" x0="0" y0="0" dx="0" dy="0" />
</Label-rectangle>
</Template>
@@ -150,18 +189,6 @@
</Label-rectangle>
</Template>
<!-- =================================================================== -->
<!-- Dymo 99010 Address labels. -->
<!-- =================================================================== -->
<Template brand="Dymo" part="99010" size="Other" width="28mm" height="89mm" _description="Address labels">
<Meta category="label"/>
<Meta category="mail"/>
<Label-rectangle id="0" width="28mm" height="89mm" round="0pt" x_waste="0pt" y_waste="0pt">
<Markup-margin size="0pt"/>
<Layout nx="1" ny="1" x0="0pt" y0="0pt" dx="28mm" dy="89mm"/>
</Label-rectangle>
</Template>
<!-- =================================================================== -->
<!-- Dymo 99012 Large address labels. -->
<!-- =================================================================== -->