Comments (9)
Yeah, the same for me.
I’m using the newest version of the plugin, 2.1.2
from esc_pos_printer.
Humm interesting...
Could you please try to print something very simple:
final Ticket ticket = Ticket(PaperSize.mm80);
ticket.text('Hello world!');
ticket.feed(2);
ticket.cut();
Does it happen every time?
from esc_pos_printer.
Humm interesting...
Could you please try to print something very simple:
final Ticket ticket = Ticket(PaperSize.mm80); ticket.text('Hello world!'); ticket.feed(2); ticket.cut();Does it happen every time?
Yeah, happens every time in all text, the shutdown moment still random.
I'll try with ticket.feed(2) line and tell if something change...
from esc_pos_printer.
Hi @renenucci,
Hi @michalsuryntequiqo,
What are your printer models, please?
Have you tested with a previous version of the library (before the Ticket
class was created)?
from esc_pos_printer.
Before, the app was still using plugin version 1.0.0 and the printed text was fine (no background, just black text). After upgrading and refactoring code to use Ticket
class, printer prints black backgrounds.
from esc_pos_printer.
Hi @renenucci,
Hi @michalsuryntequiqo,What are your printer models, please?
Have you tested with a previous version of the library (before theTicket
class was created)?
Look at the test with your code (Hello World)
I'm using bluetooth mode, dont have wifi thermal to test..
Version of pub package
esc_pos_printer: ^2.1.2
from esc_pos_printer.
I commented the line in ticket.dart:
78: bytes += styles.reverse ? cReverseOn.codeUnits : cReverseOff.codeUnits;
Is almost fine, except by special sections (1 and 2), and underscore in all except regular.
For this printer, should we set some codetable ou something else?...
(https://novaknup.com.br/produtos/impressora-termica-smart-bluetooth-kp-1022/)
from esc_pos_printer.
Hi @renenucci, @michalsuryntequiqo
I've recently updated the library. It may fix the underline / reverse issues.
May I ask you to print a few test tickets using your printers to check if it helps, please?
from esc_pos_printer.
BTW, the Bluetooth printing moved to this package.
Feel free to create a new ticket in that repo if the issue persists.
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.