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
28381481
Commit
28381481
authored
Jul 04, 2019
by
Andrey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cancel Kanji mode only if there is an active code table. Version update.
parent
3f4b0782
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
CHANGELOG.md
CHANGELOG.md
+3
-0
printer.dart
lib/src/printer.dart
+6
-2
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
CHANGELOG.md
View file @
28381481
## [1.0.2]
*
Added code page support
## [1.0.2]
*
Send raw command(s)
*
Turn 90° clockwise rotation mode on/off
...
...
lib/src/printer.dart
View file @
28381481
...
...
@@ -89,7 +89,12 @@ class Printer {
),
);
_socket
.
write
(
cKanjiCancel
);
// Cancel Kanji mode if code table is selected
if
(
_codeTable
!=
null
||
styles
.
codeTable
!=
null
)
{
_socket
.
write
(
cKanjiCancel
);
}
// Set local code table
if
(
styles
.
codeTable
!=
null
)
{
_socket
.
add
(
Uint8List
.
fromList
(
...
...
@@ -98,7 +103,6 @@ class Printer {
);
}
_socket
.
write
(
text
);
// TOOD Kanji set
}
/// Sens raw command(s)
...
...
pubspec.yaml
View file @
28381481
name
:
esc_pos_printer
description
:
The library allows to print receipts using a ESC/POS (usually thermal) network printer. It can be used in Flutter or Dart projects. In Flutter, both Android and iOS are supported.
version
:
1.
0.2
version
:
1.
1.0
author
:
Andrey Ushakov <flutter@tablemi.com>
homepage
:
https://github.com/andrey-ushakov/esc_pos_printer
...
...
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