Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c2ffc5f85 | |||
| 16ccb23b32 | |||
| 1781a93e09 |
+1
-9
@@ -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);
|
||||
|
||||
|
||||
@@ -10,6 +10,14 @@ Der Druck erfolgt mittels ESC/POS-Befehlen direkt zum Drucker.
|
||||
|
||||
Mit dem Tastatur-Kurzbefehl **Alt-D** kann der Druck direkt gestartet werden.
|
||||
|
||||
## Nutzung
|
||||
|
||||
BonNotiz ist mit C# in Visual Studio 2026 (Community Edition) geschrieben und nutzt .NET 10.
|
||||
|
||||
Eine compilierte .exe-Datei findet sich bei *Releases*. Es wird kein Setup benötigt, die .exe-Datei kann direkt gestartet werden.
|
||||
|
||||
Die .NET Desktop Runtime 10 wird benötigt, siehe: https://dotnet.microsoft.com/en-us/download/dotnet/10.0
|
||||
|
||||
## Markdown
|
||||
|
||||
Folgende Markdown-Auszeichnungen werden unterstützt:
|
||||
@@ -29,3 +37,6 @@ _unterstrichen_
|
||||
|
||||
GPL v3, siehe `LICENSE.txt`
|
||||
|
||||
Icon: [KDE Oxygen Icon](https://commons.wikimedia.org/wiki/File:Oxygen480-actions-document-print-direct.svg),
|
||||
GNU [LGPL v3](https://www.gnu.org/licenses/lgpl-3.0.html) Lizenz
|
||||
|
||||
|
||||
Reference in New Issue
Block a user