flostellbrink / escpos-sharp

Library for generating ESC/POS commands for thermal printers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EscPosSharp

NuGet

Library for generating ESC/POS commands for thermal printers. Based on escpos-coffee.

Supports styled text, images, barcodes, and QR codes.

Warning

Tests indicate that ordered dithering is not working. Not using that myself, open for PRs.

Warning

Depending on your OS not all necessary encodings are available. If you get an exception like System.ArgumentException : 'cp437' is not a supported encoding name. you can try to install the System.Text.Encoding.CodePages package and call Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); before using the library.

Usage

See samples in EscPosTests project.

About

Library for generating ESC/POS commands for thermal printers

License:MIT License


Languages

Language:C# 100.0%