admin管理员组文章数量:1122846
I work with Epson ESC/POS printers (TM-H6000 III). My goal is to print rather big base 64 PNGs. I managed to transform my PNGs into monochrome bitmaps.
I can print them successfully using GS V 0
command using this code if they are smaller than the buffer (4096 bytes). If they are larger, I can cut them into multiple small bitmaps and send them one after another to reconstitute the full picture. However, I have to wait about one second between each call to GS V 0
otherwise the printer bugs and prints nonsense. It makes printing a big image very slow.
I also tried GS ( L
but couldn't make it work. ESC *
almost works, it prints very fast, the problem is that my picture is cut by white bands (Cf.: ) and random text and I don't know what I'm doing wrong. I can't get GS D
to work at all.
What is the correct way to print a large bitmap in a reasonable time?
本文标签: javaESCPOS print large bitmap fastStack Overflow
版权声明:本文标题:java - ESCPOS print large bitmap fast - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736281655a1926388.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论