commit 2e1f5534eedf544437ef6ea7444ba59e49132693 Author: jtbx Date: Sun Feb 18 23:39:25 2024 +0100 initial commit diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..77488b2 --- /dev/null +++ b/Readme.md @@ -0,0 +1,16 @@ +# CCCHH Label Printer Templates + +This repo contains some templates for the Brother QL-500 label printer. + +## Usage + +The templates use [typst](https://github.com/typst/typst) (a LaTeX alternative) as typesetting engine. +There are two versions: + +- label-wide: 60x35 mm for use with DK-22205 endless tape (DK-22205) + * height could be adjusted, if needed, but keep in mind to change the paper size when printing +- label-item: 38x90mm for use with DK-11208 pre-cut address labels + +General notes: +- Labels with CCCHH logo in the footer are meant for items owned by CCCHH. +- The QL-500 does not have an automatic cutter, so it's recommended to only print one page at a time. diff --git a/assets/ccchh.svg b/assets/ccchh.svg new file mode 100644 index 0000000..750d341 --- /dev/null +++ b/assets/ccchh.svg @@ -0,0 +1,123 @@ + + + +Exported SVG + + + + + + + + diff --git a/label-item.typ b/label-item.typ new file mode 100644 index 0000000..f623e69 --- /dev/null +++ b/label-item.typ @@ -0,0 +1,37 @@ +#set text( + //font: "pt sans", + font: "ubuntu", + fallback: false, + size: 11pt, + lang: "en", +) + +// for DK-11208 (address label) +#set page( + width: 38mm, + height: 90mm, + flipped: false, + margin: (x: 3mm, top: 3mm, bottom: 3mm+9pt), + footer-descent: 0%, + footer: [ + #set text(size: 8pt) + #set align(end) + #image("assets/ccchh.svg", height: 9pt, alt: "CCCHH") + ] +) + +#import "@preview/cades:0.3.0": qr-code + +#let item(itemslug) = [ + #qr-code("https://wiki.hamburg.ccc.de/item:#itemslug") + #text(8pt)[wiki.hamburg.ccc.de/item:#itemslug] +] + +== Prusa i3 MK3S + +#item[prusa-i3] + +=== Usage +//Introduction required +See instructions (in the wiki) +//Freely diff --git a/label-wide.typ b/label-wide.typ new file mode 100644 index 0000000..83933f1 --- /dev/null +++ b/label-wide.typ @@ -0,0 +1,26 @@ +#set text( + //font: "pt sans", + font: "ubuntu", + fallback: false, + size: 14pt, + lang: "en", +) + +// for DK-22205 (endless label) +#set page( + width: 62mm, + height: 35mm, + flipped: false, + margin: (x: 3mm, top: 5mm, bottom: 3mm+9pt), + footer-descent: 0%, + footer: [ + #set text(size: 8pt) + #set align(end) + #image("assets/ccchh.svg", height: 9pt, alt: "CCCHH") + ] +) +#set align(center) + +== Main Content +Subtitle 1\ +Subtitle 2