User:Dfjera/Entwurf Kisteninventar: Difference between revisions

From Chaosdorf Wiki
m (K2)
m (added code for generating the labels)
Line 14: Line 14:
|-
|-
|K1
|K1
|
|Werkstatt
|
|Leer
|
|
|-
|-
Line 63: Line 63:
|
|
|}
|}
<syntaxhighlight lang="python3" line="1">
#!/usr/bin/env python3
from labelprinter import Labelprinter
class Conf:
    PRINTER_HOST = "10.2.7.1"
    PRINTER_PORT = 9100
    PRINTER_TIMEOUT = 60
for nr in range(1, 200):
    printer = Labelprinter(Conf)
    printer.printText(f'K{nr}', charSize='200', bold='on')
</syntaxhighlight>

Revision as of 21:23, 1 April 2022

Entwurf für Liste der Kisten im Dorf, ihrem Ort und Ihrem Inhalt

Scope:

  • Eurokisten
  • andere Kisten?
Kistennr. Ort Inhalt Freitextkommentar
K1 Werkstatt Leer
K2 Werkstatt Handkreissäge Zubehör
K3
K4
K5
K6
K7
K8
K9
K10
#!/usr/bin/env python3

from labelprinter import Labelprinter

class Conf:
    PRINTER_HOST = "10.2.7.1"
    PRINTER_PORT = 9100
    PRINTER_TIMEOUT = 60

for nr in range(1, 200):
    printer = Labelprinter(Conf)
    printer.printText(f'K{nr}', charSize='200', bold='on')