Commit d9bba913 authored by Andrey's avatar Andrey

Readme update. Added receipt example image.

parent 62e6c7bf
...@@ -19,6 +19,8 @@ To discover existing printers in your subnet, consider using [ping_discover_netw ...@@ -19,6 +19,8 @@ To discover existing printers in your subnet, consider using [ping_discover_netw
* Text styling: * Text styling:
* size, align, bold, reverse, underline, different fonts, turn 90° * size, align, bold, reverse, underline, different fonts, turn 90°
* Print images * Print images
* Print barcodes
* UPC-A, UPC-E, JAN13 (EAN13), JAN8 (EAN8), CODE39, ITF (Interleaved 2 of 5), CODABAR (NW-7)
* Paper cut (partial, full) * Paper cut (partial, full)
* Beeping (with different duration) * Beeping (with different duration)
* Paper feed, reverse feed * Paper feed, reverse feed
...@@ -95,10 +97,16 @@ printer.printImage(image); ...@@ -95,10 +97,16 @@ printer.printImage(image);
printer.printImageRaster(image); printer.printImageRaster(image);
``` ```
Print barcode:
```dart
final List<int> barData = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 4];
printer.printBarcode(Barcode.upcA(barData));
```
## TODO ## TODO
* ~~Add raw print function~~ * ~~Add raw print function~~
* ~~Print images~~ * ~~Print images~~
* Print barcodes * ~~Print barcodes~~
* Print QR codes * Print QR codes
* ~~Turn 90° clockwise rotation mode on/off~~ * ~~Turn 90° clockwise rotation mode on/off~~
* ~~Flutter example: discover active Wi-Fi printers~~ * ~~Flutter example: discover active Wi-Fi printers~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment