Initial commit

Initial commit til Git.
V2 er deployed
This commit is contained in:
2026-06-13 17:31:50 +02:00
parent 9fcd2b145e
commit 41e23b6184
375 changed files with 15956 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
Linux USB version of the EpsonPrinter API.
What changed:
- Keeps the incoming JSON models for /api/PosPrinter/Receipt and /api/PosPrinter/SaleOfDay
- Replaces COM/SerialPrinter transport with raw writes to Linux USB printer device
- Uses /dev/usb/lp0 by default from appsettings.json
- Builds a standard receipt when parts of the payload are missing
- Pulls fallback values from appsettings.json under PrintSettings:Defaults
Typical run:
dotnet restore
dotnet run
Typical endpoint:
POST /api/PosPrinter/Receipt
Important setting:
PrintSettings:DevicePath = /dev/usb/lp0