Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BeratARPA authored Jan 11, 2025
1 parent 00c4472 commit 8e6f824
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# HTML Thermal Printer

NuGet package:
https://www.nuget.org/packages/PrintHTML.Core

Basic usage:
```
PrinterService _printerService = new PrinterService();
AsyncPrintTask.Exec(
true,
() => _printerService.DoPrint(
"content", // Content to print
"PrinterName", // Printer name
"charactersPerLine(int) 58MM=32, 80MM=42" // Characters per line
)
);
FlowDocumentScrollViewer.Document = _printerService.GeneratePreview(htmlContent, _charactersPerLine); // Preview
```
---

## Screenshots
![UI](Images/3.png)
![UI](Images/Main.png)
![UI](Images/4.png)
![UI](Images/2.png)
---
[EN]

## About Project
Expand Down Expand Up @@ -112,4 +138,4 @@ Uygulama içerisinde kullanabileceğiniz özel format etiketleri:
<J>Ürün | Fiyat
<J>Kalem | 10 TL
```
```

0 comments on commit 8e6f824

Please sign in to comment.