Comments (5)
Yes, it's a shame my printer only supports a minuscule subset of ESC/POS.
At this point, i'm trying to use method channel from the epson sdk page. I'll figure it out and if i succeed, i'll get back to you, in the mean time i'll close this issue.
Thanks for the help, cheers!
from esc_pos_printer.
Hi,
Probably your printer doesn't implement one of the POS/ESC commands. I suspect the reverse styling command.
In the Ticket class (ticket.dart), try to remove / comment out the line 78:
bytes += styles.reverse ? cReverseOn.codeUnits : cReverseOff.codeUnits;
Does it resolve the issue?
from esc_pos_printer.
Hey thanks for the quick response,
I'm afraid the issue still persists, but instead of showing 00, it now only shows single padded zero (0).
Any other idea i can probably investigate?
Edit: Which brand of printer manufacturer / vendor and its type you prefer / often use?
from esc_pos_printer.
Hi,
I've used Xprinter as a WiFi printer and a cheap noname bluetooth printer.
It seems that your printer only supports a subset of POS/ESC commands. I would print a test ticket using the code from example.dart
or just try to print using all the text styles (underlined, bold, text align etc) to find which commands/styles are not supported. You can compare your ticket with the one from README.me
.
After that, you can remove/comment out unsupported commands just like you did for cReverseOn/cReverseOff
command.
I hope this helps! :)
from esc_pos_printer.
I've recently updated the library. It may fix your issue.
May I ask you to print a few test tickets using your printers to check if it helps, please?
from esc_pos_printer.
Related Issues (20)
- Please update image plugin to ^4.0.0
- How to use Thermal printer in flutter Web HOT 1
- No option to pass COLOR CODE in style HOT 1
- can't print a long image HOT 2
- Socket has not been initialized when calling rawBytes method
- Line spacing using the ESC 3 <n> command
- Please update image plugin to ^4.0.0 HOT 2
- can you update example ? wifi has depecrated
- [ binding] Print result: Error. Printer connection timeout
- it will also work with Android POS Machine?
- FYI: esc_pos_dart
- issues after flutter upgrade to last. HOT 1
- Issue in install pakage.
- Image printing problem is slow on real device
- lineThrough
- Star Micronics SP700 / SP742 - Ethernet (Column spacing)
- Can we print Marathi language text using esc_pos_printer HOT 1
- The lower bound of "sdk: '>=2.7.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
- How to monitor printer status? HOT 1
- hr()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esc_pos_printer.