Commit 3ff1cbfa authored by Andrey's avatar Andrey

Added example with special symbols.

parent 889e7a75
...@@ -6,6 +6,9 @@ void main() { ...@@ -6,6 +6,9 @@ void main() {
// Note that most of ESC/POS printers by default listen on port 9100. // Note that most of ESC/POS printers by default listen on port 9100.
Printer.connect('192.168.0.123', port: 9100).then((printer) { Printer.connect('192.168.0.123', port: 9100).then((printer) {
printer.println('Normal text'); printer.println('Normal text');
printer.println('Special symbols: àÀ èÈ éÉ ûÛ üÜ çÇ ôÔ',
styles: PosStyles(codeTable: PosCodeTable.westEur));
printer.println('Bold text', styles: PosStyles(bold: true)); printer.println('Bold text', styles: PosStyles(bold: true));
printer.println('Reverse text', styles: PosStyles(reverse: true)); printer.println('Reverse text', styles: PosStyles(reverse: true));
printer.println('Underlined text', printer.println('Underlined text',
......
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