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
8a5e3cce
Commit
8a5e3cce
authored
Jul 24, 2019
by
Andrey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update version, changelog, readme
parent
72b76e1e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
CHANGELOG.md
CHANGELOG.md
+4
-0
README.md
README.md
+2
-2
example.dart
example/example.dart
+3
-3
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
CHANGELOG.md
View file @
8a5e3cce
## [1.1.3]
*
printCodeTable bug fixed
*
updated test print example
## [1.1.2]
*
Better alignment
...
...
README.md
View file @
8a5e3cce
...
...
@@ -30,8 +30,8 @@ To discover existing printers in your subnet, consider using [ping_discover_netw
import
'package:esc_pos_printer/esc_pos_printer.dart'
;
Printer
.
connect
(
'192.168.0.123'
,
port:
9100
).
then
((
printer
)
{
printer
.
println
(
'
Normal text
'
);
printer
.
println
(
'Special
symbols
: àÀ èÈ éÉ ûÛ üÜ çÇ ôÔ'
,
printer
.
println
(
'
Regular: aA bB cC dD eE fF gG hH iI jJ kK lL mM nN oO pP qQ rR sS tT uU vV wW xX yY zZ
'
);
printer
.
println
(
'Special: àÀ èÈ éÉ ûÛ üÜ çÇ ôÔ'
,
styles:
PosStyles
(
codeTable:
PosCodeTable
.
westEur
));
printer
.
println
(
'Bold text'
,
styles:
PosStyles
(
bold:
true
));
printer
.
println
(
'Reverse text'
,
styles:
PosStyles
(
reverse:
true
));
...
...
example/example.dart
View file @
8a5e3cce
...
...
@@ -5,10 +5,10 @@ void main() {
// ping_discover_network package (https://pub.dev/packages/ping_discover_network).
// Note that most of ESC/POS printers by default listen on port 9100.
Printer
.
connect
(
'192.168.0.123'
,
port:
9100
).
then
((
printer
)
{
printer
.
println
(
'Regular
symbols
: aA bB cC dD eE fF gG hH iI jJ kK lL mM nN oO pP qQ rR sS tT uU vV wW xX yY zZ'
);
printer
.
println
(
'Special
symbols
1: àÀ èÈ éÉ ûÛ üÜ çÇ ôÔ'
,
printer
.
println
(
'Regular: aA bB cC dD eE fF gG hH iI jJ kK lL mM nN oO pP qQ rR sS tT uU vV wW xX yY zZ'
);
printer
.
println
(
'Special 1: àÀ èÈ éÉ ûÛ üÜ çÇ ôÔ'
,
styles:
PosStyles
(
codeTable:
PosCodeTable
.
westEur
));
printer
.
println
(
'Special
symbols
2: blåbærgrød'
,
printer
.
println
(
'Special 2: blåbærgrød'
,
styles:
PosStyles
(
codeTable:
PosCodeTable
.
westEur
));
printer
.
println
(
'Bold text'
,
styles:
PosStyles
(
bold:
true
));
...
...
pubspec.yaml
View file @
8a5e3cce
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.1.
2
version
:
1.1.
3
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