Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
E
esc_pos_print_plus
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dio Maulana
esc_pos_print_plus
Commits
6b00dea5
Commit
6b00dea5
authored
Jan 16, 2020
by
Andrey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ticket class: added beep, cut, reverseFeed functions. Refactoring.
parent
c04f2da4
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
23 additions
and
18 deletions
+23
-18
esc_pos_printer.dart
lib/esc_pos_printer.dart
+1
-0
barcode.dart
lib/src/barcode.dart
+8
-0
commands.dart
lib/src/commands.dart
+1
-1
enums.dart
lib/src/enums.dart
+1
-1
pos_column.dart
lib/src/pos_column.dart
+1
-1
pos_styles.dart
lib/src/pos_styles.dart
+1
-1
printer.dart
lib/src/printer.dart
+1
-1
printer_bluetooth_manager.dart
lib/src/printer_bluetooth_manager.dart
+1
-13
ticket.dart
lib/src/ticket.dart
+8
-0
No files found.
lib/esc_pos_printer.dart
View file @
6b00dea5
...
...
@@ -2,6 +2,7 @@
* esc_pos_printer
* Created by Andrey Ushakov
*
* Copyright (c) 2019-2020. All rights reserved.
* See LICENSE for distribution and usage details.
*/
library
esc_pos_printer
;
...
...
lib/src/barcode.dart
View file @
6b00dea5
/*
* esc_pos_printer
* Created by Andrey Ushakov
*
* Copyright (c) 2019-2020. All rights reserved.
* See LICENSE for distribution and usage details.
*/
class
BarcodeType
{
const
BarcodeType
.
_internal
(
this
.
value
);
final
int
value
;
...
...
lib/src/commands.dart
View file @
6b00dea5
...
...
@@ -2,7 +2,7 @@
* esc_pos_printer
* Created by Andrey Ushakov
*
* Copyright (c) 2019. All rights reserved.
* Copyright (c) 2019
-2020
. All rights reserved.
* See LICENSE for distribution and usage details.
*/
...
...
lib/src/enums.dart
View file @
6b00dea5
...
...
@@ -2,7 +2,7 @@
* esc_pos_printer
* Created by Andrey Ushakov
*
* Copyright (c) 2019. All rights reserved.
* Copyright (c) 2019
-2020
. All rights reserved.
* See LICENSE for distribution and usage details.
*/
...
...
lib/src/pos_column.dart
View file @
6b00dea5
...
...
@@ -2,7 +2,7 @@
* esc_pos_printer
* Created by Andrey Ushakov
*
* Copyright (c) 2019. All rights reserved.
* Copyright (c) 2019
-2020
. All rights reserved.
* See LICENSE for distribution and usage details.
*/
...
...
lib/src/pos_styles.dart
View file @
6b00dea5
...
...
@@ -2,7 +2,7 @@
* esc_pos_printer
* Created by Andrey Ushakov
*
* Copyright (c) 2019. All rights reserved.
* Copyright (c) 2019
-2020
. All rights reserved.
* See LICENSE for distribution and usage details.
*/
...
...
lib/src/printer.dart
View file @
6b00dea5
...
...
@@ -2,7 +2,7 @@
* esc_pos_printer
* Created by Andrey Ushakov
*
* Copyright (c) 2019. All rights reserved.
* Copyright (c) 2019
-2020
. All rights reserved.
* See LICENSE for distribution and usage details.
*/
...
...
lib/src/printer_bluetooth_manager.dart
View file @
6b00dea5
...
...
@@ -2,25 +2,13 @@
* esc_pos_printer
* Created by Andrey Ushakov
*
* Copyright (c) 2020. All rights reserved.
* Copyright (c) 20
19-20
20. All rights reserved.
* See LICENSE for distribution and usage details.
*/
import
'dart:async'
;
import
'dart:convert'
;
import
'package:esc_pos_printer/esc_pos_printer.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'
;
/// Bluetooth printer
...
...
lib/src/ticket.dart
View file @
6b00dea5
/*
* 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:typed_data'
;
import
'package:gbk_codec/gbk_codec.dart'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment