Comments (5)
Hi garf,
That does seem strange. Would you mind showing the code you used to generate those tickets? Thank!
from escpos.
This is the simplifies example of generating data to send to printer:
https://gist.github.com/garf/57b6d463fab19fd8e676657483af987e
If you would like to investigate, here comes the hole app:
https://bitbucket.org/dgaripov/epos-print-server/src/7081a59629ef6e26b348a0bcc42088beb0dfc074/src/main/java/com/garf/epos/converter/DataToEscPos.java?at=master&fileviewer=file-view-default
from escpos.
It may have been an issue I recently introduced, but I don't currently have a printer with me to test. I have switched the cut command to its simpler form without the line feed argument. I don't think this version has any problems, but please let me know if you have any more issues.
Edit - I noticed you were using version 1.1 in your project. I am currently using that version in a production environment with no major issues (except for that additional 'f' character). Does performing a FULL cut work?
from escpos.
Thank you for the answer. I will try it today and will let you know if it's fine. Thank you again!
from escpos.
Hello. Sorry for the late answer.
I found the problem.
reset()
and close()
methods were causing this problem. I just removed tham from my commands sequence and all started to work like charm!
Thank you!
from escpos.
Related Issues (6)
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 escpos.