Comments (14)
That's great, so glad that it is fixed! I'm also a portal fan although I haven't gotten a chance to play in a while!
from esc-pos-.net.
@juliogamasso @montyclt feature/8-add-dithering-images has been created, which prints images with much higher fidelity by using a dithering algorithm. However, on my Epson it also has corruption in the final image (due to a buffer overflow). Could you give this a try and see if the image printing of the kitten looks better now, and if you see corruption in any images?
from esc-pos-.net.
Ok, I will try it tonight (utc+2)
from esc-pos-.net.
@lukevp I did the test, the printing came out very good, but in test 6 using Epson TM88V an error occurred 'Insufficient buffer for the data requested'
from esc-pos-.net.
Should I use image test o legacy image test?
I executed image test and I get strange characters (because my printer requires legacy images), then I get a print with info of my printer (the same info if I press power + feed button in the printer), then the paper is cut and I get printer info again, then the paper is again cut and I get strange characters, low quality image and strange characters, then an exception in throwed and program ends.
After doing this test, I cannot connect to the printer again, even turn off and turn on again. Possible data ramain into the buffer?
from esc-pos-.net.
@montyclt were you able to get your printer to connect again? Sorry for the trouble! You could modify the test to print using legacy, but it might be better for you to wait and retest after I fix the large buffer bug on in issue #10
from esc-pos-.net.
@montyclt were you able to get your printer to connect again? Sorry for the trouble! You could modify the test to print using legacy, but it might be better for you to wait and retest after I fix the large buffer bug on in issue #10
Yes, I done a factory reset in printer and I can reconnect again. Maybe a data stay into the buffer for all the time? I don't know why happened, but I solved. Thank you!
from esc-pos-.net.
I also had problem with buffer size but not to the point of not being able to connect. I made a byte extension to divide according to the size of the printer buffer and it is working.
from esc-pos-.net.
I also had problem with buffer size but not to the point of not being able to connect. I made a byte extension to divide according to the size of the printer buffer and it is working.
Thanks for the info, if you can, document it to avoid the problem in other libraries. Thank you!
I'll follow #10
from esc-pos-.net.
@montyclt @juliogamasso The dithering and large byte array issues should all be working properly now, check out PR #30 and let me know!
from esc-pos-.net.
@montyclt @juliogamasso The dithering and large byte array issues should all be working properly now, check out PR #30 and let me know!
Thanks @lukevp. Can you document the problem about large byte array? I will execute all test this weekend and inform you about the result :)
from esc-pos-.net.
@montyclt on release/1.0 there is a test case called Large Byte Arrays. This passes a stacked image array to the serial printer in one shot, so it tests the buffering of the underlying stream. This test failed with the old implementation using SerialPortStream, but on Windows 10 over Serial it prints perfectly. I updated the PR just now to use the legacy print command that your printer supports, so make sure you get the latest version before you test.
from esc-pos-.net.
I tested large byte arrays with network printer and works ok. I get printed 20 images, 10 kitten and 10 companion cube.
Off-topic: A Portal fan here! ๐
from esc-pos-.net.
Dithering is supported in 1.0.0 release.
from esc-pos-.net.
Related Issues (20)
- Landscape Mode HOT 2
- Port get jammed after long use HOT 1
- Not getting status from SerialPrinter HOT 1
- Can't Print Greek characters HOT 2
- Windows and Linux support HOT 1
- HELP! My thermal printer printed out Chinese chars in some of ConsoleTest test HOT 3
- Error "Device or resourse busy" When I impress more the one time. HOT 5
- ESC-POS-.NET want work on MAUI Android - issue libSystem.IO.Ports.Native not loaded HOT 2
- Epson USB printer - getting "System.IO.IOException: The handle is invalid" HOT 2
- Is it possible to print in Page Mode ? (tickets with the exact same size) HOT 1
- 2 Worker Services to one thermical printer HOT 2
- is there Indian rupee sign โจโนโฉ in codepage? HOT 1
- PDF417 max 255 characters HOT 8
- Printer Stop before execution of cut command. HOT 2
- Other languages HOT 7
- Getting rid of the constant beeping when there is no paper in the paper feeder
- Problem with appPOS80AM3
- Problem with image and printer appPOSAM3 HOT 1
- Printer stopped sending status update events HOT 1
- Interest to support CUSTOM printers? HOT 2
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-.net.