diff --git a/BonNotiz/Main.cs b/BonNotiz/Main.cs index c53d9f0..e9379cf 100644 --- a/BonNotiz/Main.cs +++ b/BonNotiz/Main.cs @@ -22,7 +22,7 @@ namespace BonNotiz foreach (String p in PrinterSelect.Items) { - if (p.StartsWith("Epson")) + if (p.StartsWith("Epson") || p.StartsWith("EPSON")) { PrinterSelect.SelectedItem = p; } @@ -31,14 +31,6 @@ namespace BonNotiz static void Drucken(String bondrucker, String text) { - /* EscPosPrinter pos = new(); - pos.Write(text); - pos.WriteLine(); - pos.WriteLine(); - - pos.CutPaper(true); - Byte[] buf = pos.GetCurrentBuffer(); */ - MarkdownToEscPos md = new(); Byte[] buf = md.Render(text);