Bematech with Nodejs

3

I'm trying to connect bematech printer MP-4200 TH with NodeJs but I can not.

var stream = fs.createWriteStream('/dev/ttyACM0', {
    encoding: 'utf16le'
});

WhenIrunnothinghappens,itisnotprinting.

Ialsotriedthecommandecho"teste impressão MP4200TH" > /dev/ttyACM0 because the terminal also does not print.

    
asked by anonymous 13.12.2017 / 10:26

0 answers