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
72b76e1e
Commit
72b76e1e
authored
Jul 24, 2019
by
Andrey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update example
parent
41c2b53d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
example.dart
example/example.dart
+4
-2
No files found.
example/example.dart
View file @
72b76e1e
...
...
@@ -5,8 +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
(
'Normal text'
);
printer
.
println
(
'Special symbols: àÀ èÈ éÉ ûÛ üÜ çÇ ôÔ'
,
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: àÀ èÈ éÉ ûÛ üÜ çÇ ôÔ'
,
styles:
PosStyles
(
codeTable:
PosCodeTable
.
westEur
));
printer
.
println
(
'Special symbols 2: blåbærgrød'
,
styles:
PosStyles
(
codeTable:
PosCodeTable
.
westEur
));
printer
.
println
(
'Bold text'
,
styles:
PosStyles
(
bold:
true
));
...
...
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