Adds some space between lines of text. Hides unused label layouts.

This commit is contained in:
Aaron Louie 2020-12-16 10:39:06 -05:00
parent 86fd941f8c
commit 3d605c619c
3 changed files with 30 additions and 31 deletions

View File

@ -18,29 +18,29 @@ export const labelLayouts = {
pageWidth: 64,
pageHeight: 32,
}),
rectangle_3x1_code128: new LabelLayout({
name: '3in x 1in Rectangular Label - CODE128',
barcodeType: 'code128',
id: 'rectangle_3x1_code128',
pageWidth: 76.2 + labelMargin,
pageHeight: 25.4 + labelMargin,
delimiter: '',
}),
rectangle_code128: new LabelLayout({
name: '2.75in x 1.25in Rectangular Label - CODE128',
barcodeType: 'code128',
id: 'rectangle_code128',
pageWidth: 69.9 + labelMargin,
pageHeight: 31.8 + labelMargin,
delimiter: '',
}),
rectangle_datamatrix: new LabelLayout({
name: '2in x 1in Rectangular Label - DataMatrix',
barcodeType: 'datamatrix',
id: 'rectangle_datamatrix',
pageWidth: 50.8 + labelMargin,
pageHeight: 25.4 + labelMargin,
}),
// rectangle_3x1_code128: new LabelLayout({
// name: '3in x 1in Rectangular Label - CODE128',
// barcodeType: 'code128',
// id: 'rectangle_3x1_code128',
// pageWidth: 76.2 + labelMargin,
// pageHeight: 25.4 + labelMargin,
// delimiter: '',
// }),
// rectangle_code128: new LabelLayout({
// name: '2.75in x 1.25in Rectangular Label - CODE128',
// barcodeType: 'code128',
// id: 'rectangle_code128',
// pageWidth: 69.9 + labelMargin,
// pageHeight: 31.8 + labelMargin,
// delimiter: '',
// }),
// rectangle_datamatrix: new LabelLayout({
// name: '2in x 1in Rectangular Label - DataMatrix',
// barcodeType: 'datamatrix',
// id: 'rectangle_datamatrix',
// pageWidth: 50.8 + labelMargin,
// pageHeight: 25.4 + labelMargin,
// }),
rectangle_datamatrixrectangular: new LabelLayout({
name: '2in x 1in Rectangular Label - DataMatrix Rectangular',
barcodeType: 'datamatrixrectangular',

View File

@ -64,14 +64,14 @@
transform="scale(0.175)"
/>
</g>
<g transform="translate(24, 11.5)">
<g transform="translate(24, 10.5)">
<text x="0" y="0" style="font-size: 2.7px; text-anchor: start; text-align: left;">
#{{sample.student_id}}
</text>
<text x="0" y="2" style="font-size: 2.7px; text-anchor: start; text-align: left;">
<text x="0" y="3" style="font-size: 2.7px; text-anchor: start; text-align: left;">
{{sample.date | date:'yyyy-MM-dd HH:mm'}}
</text>
<text x="0" y="4" style="font-size: 2.7px; text-anchor: start; text-align: left;">
<text x="0" y="6" style="font-size: 2.7px; text-anchor: start; text-align: left;">
{{sample.location}} {{sample.initials}}
</text>
</g>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -64,16 +64,15 @@
transform="scale(0.175)"
/>
</g>
<g transform="translate(17, 11.75)">
<g transform="translate(17, 10.5)">
<text x="0" y="0" style="font-size: 2.7px; text-anchor: start; text-align: left;">
#{{sample.student_id}}
</text>
<text x="0" y="2" style="font-size: 2.7px; text-anchor: start; text-align: left;">
<text x="0" y="3" style="font-size: 2.7px; text-anchor: start; text-align: left;">
{{sample.date | date:'yyyy-MM-dd HH:mm'}}
</text>
<text x="0" y="4" style="font-size: 2.7px; text-anchor: start; text-align: left;">
{{sample.location}}
{{sample.initials}}
<text x="0" y="6" style="font-size: 2.7px; text-anchor: start; text-align: left;">
{{sample.location}} {{sample.initials}}
</text>
</g>
</g>

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB