react-native-esc-pos icon indicating copy to clipboard operation
react-native-esc-pos copied to clipboard

Color of image after print only black and white

Open lytrunghieu opened this issue 4 years ago • 2 comments

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); });

lytrunghieu avatar Nov 04 '20 04:11 lytrunghieu

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

deckyfx avatar Nov 04 '20 05:11 deckyfx

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

lytrunghieu avatar Nov 04 '20 06:11 lytrunghieu