Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.

Color of image after print only black and white #60

Open
lytrunghieu opened this issue Nov 4, 2020 · 2 comments
Open

Color of image after print only black and white #60

lytrunghieu opened this issue Nov 4, 2020 · 2 comments

Comments

@lytrunghieu
Copy link

lytrunghieu commented Nov 4, 2020

I have a picture with many color, but after print, image just only have 2 color: black and white, not exist color is between black and white. This is my code

EscPos.connect(address).then(async success =>{ EscPos.setPrintingSize(EscPos.PRINTING_SIZE_80_MM); await EscPos.printImage(uri); await EscPos.disconnect(); }).catch(error =>{ console.log("error ", error); });

@deckyfx
Copy link

deckyfx commented Nov 4, 2020

AFAIK, this lib is meant to be used to print to Thermal or Dot Matrix Printer, and both types has no support for color printing

@lytrunghieu
Copy link
Author

AFAIK, this lib is meant to be used to print to Thermal or Dot Matrix Printer, and both types has no support for color printing

I'm mean, I can't see detail of image because all dot have color will be black. Ex: a avatar will be black block, I can't see mouth, eye, nose

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants