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
faf24390
Commit
faf24390
authored
Nov 13, 2020
by
andrey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed IP bug
parent
5ef85c91
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
CHANGELOG.md
CHANGELOG.md
+4
-0
network_printer.dart
lib/src/network_printer.dart
+1
-1
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
CHANGELOG.md
View file @
faf24390
## [4.0.2]
-
Fixed IP bug
## [4.0.1]
-
`NetworkPrinter`
: added
`paperSize`
,
`profile`
,
`host`
,
`port`
getters
...
...
lib/src/network_printer.dart
View file @
faf24390
...
...
@@ -36,7 +36,7 @@ class NetworkPrinter {
_host
=
host
;
_port
=
port
;
try
{
_socket
=
await
Socket
.
connect
(
'192.168.0.101'
,
port
,
timeout:
timeout
);
_socket
=
await
Socket
.
connect
(
host
,
port
,
timeout:
timeout
);
_socket
.
add
(
_generator
.
reset
());
return
Future
<
PosPrintResult
>.
value
(
PosPrintResult
.
success
);
}
catch
(
e
)
{
...
...
pubspec.yaml
View file @
faf24390
name
:
esc_pos_printer
description
:
The library allows to print receipts using an ESC/POS thermal WiFi printer.
version
:
4.0.
1
version
:
4.0.
2
homepage
:
https://github.com/andrey-ushakov/esc_pos_printer
environment
:
...
...
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