Commit 6b00dea5 authored by Andrey's avatar Andrey

Ticket class: added beep, cut, reverseFeed functions. Refactoring.

parent c04f2da4
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
* esc_pos_printer * esc_pos_printer
* Created by Andrey Ushakov * Created by Andrey Ushakov
* *
* Copyright (c) 2019-2020. All rights reserved.
* See LICENSE for distribution and usage details. * See LICENSE for distribution and usage details.
*/ */
library esc_pos_printer; library esc_pos_printer;
......
/*
* esc_pos_printer
* Created by Andrey Ushakov
*
* Copyright (c) 2019-2020. All rights reserved.
* See LICENSE for distribution and usage details.
*/
class BarcodeType { class BarcodeType {
const BarcodeType._internal(this.value); const BarcodeType._internal(this.value);
final int value; final int value;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* esc_pos_printer * esc_pos_printer
* Created by Andrey Ushakov * Created by Andrey Ushakov
* *
* Copyright (c) 2019. All rights reserved. * Copyright (c) 2019-2020. All rights reserved.
* See LICENSE for distribution and usage details. * See LICENSE for distribution and usage details.
*/ */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* esc_pos_printer * esc_pos_printer
* Created by Andrey Ushakov * Created by Andrey Ushakov
* *
* Copyright (c) 2019. All rights reserved. * Copyright (c) 2019-2020. All rights reserved.
* See LICENSE for distribution and usage details. * See LICENSE for distribution and usage details.
*/ */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* esc_pos_printer * esc_pos_printer
* Created by Andrey Ushakov * Created by Andrey Ushakov
* *
* Copyright (c) 2019. All rights reserved. * Copyright (c) 2019-2020. All rights reserved.
* See LICENSE for distribution and usage details. * See LICENSE for distribution and usage details.
*/ */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* esc_pos_printer * esc_pos_printer
* Created by Andrey Ushakov * Created by Andrey Ushakov
* *
* Copyright (c) 2019. All rights reserved. * Copyright (c) 2019-2020. All rights reserved.
* See LICENSE for distribution and usage details. * See LICENSE for distribution and usage details.
*/ */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* esc_pos_printer * esc_pos_printer
* Created by Andrey Ushakov * Created by Andrey Ushakov
* *
* Copyright (c) 2019. All rights reserved. * Copyright (c) 2019-2020. All rights reserved.
* See LICENSE for distribution and usage details. * See LICENSE for distribution and usage details.
*/ */
......
...@@ -2,25 +2,13 @@ ...@@ -2,25 +2,13 @@
* esc_pos_printer * esc_pos_printer
* Created by Andrey Ushakov * Created by Andrey Ushakov
* *
* Copyright (c) 2020. All rights reserved. * Copyright (c) 2019-2020. All rights reserved.
* See LICENSE for distribution and usage details. * See LICENSE for distribution and usage details.
*/ */
import 'dart:async'; import 'dart:async';
import 'dart:convert';
import 'package:esc_pos_printer/esc_pos_printer.dart'; import 'package:esc_pos_printer/esc_pos_printer.dart';
import 'package:rxdart/rxdart.dart'; import 'package:rxdart/rxdart.dart';
// import 'dart:convert';
// import 'dart:io';
// import 'dart:typed_data';
// import 'package:gbk_codec/gbk_codec.dart';
// import 'package:hex/hex.dart';
// import 'package:image/image.dart';
// import 'barcode.dart';
// import 'commands.dart';
// import 'enums.dart';
// import 'pos_column.dart';
// import 'pos_styles.dart';
import 'package:flutter_bluetooth_basic/flutter_bluetooth_basic.dart'; import 'package:flutter_bluetooth_basic/flutter_bluetooth_basic.dart';
/// Bluetooth printer /// Bluetooth printer
......
/*
* esc_pos_printer
* Created by Andrey Ushakov
*
* Copyright (c) 2019-2020. All rights reserved.
* See LICENSE for distribution and usage details.
*/
import 'dart:convert'; import 'dart:convert';
import 'dart:typed_data'; import 'dart:typed_data';
import 'package:gbk_codec/gbk_codec.dart'; import 'package:gbk_codec/gbk_codec.dart';
......
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