+<!DOCTYPE html>
<html>
<head>
<title>⚡ Distribution Board Label Generator for DIN Rail Modules</title>
td[colspan="8"] { width: calc(8 * 18mm); }
tr { margin-bottom: 10mm; }
table { border-spacing:0px; border-collapse: collapse; }
+@media print { .noprint * { display: none; } }
</style>
</head>
<body>
github.com/harvie
<br /><br />
-<table>
+<div class="noprint">
+<textarea id="labeltext" style="width:100%; height: 20em;"></textarea>
+<button onclick="document.getElementById('labeltable').innerHTML=document.getElementById('labeltext').value;">Generate</button>
+<button onclick="window.print();return false;">Print</button>
+<br />
+<br />
+</div>
+
+<table id="labeltable">
<tr>
<td></td>
<td></td>
<td>🔌<br />Vchod</td>
<td>🔌<br />Předsíň</td>
-<td>🔧<br />Alarm</td>
+<td>🔧<br /></td>
<td>💡 Sv. Kuchyňe</td>
<td>💡 Sv. Koupelna</td>
<td>💡 Sv. Obývák</td>
</table>
+<script>document.getElementById('labeltext').value=document.getElementById('labeltable').innerHTML.trim();</script>
</body>
</html>