Bematech with Nodejs

Asked

Viewed 546 times

3

I’m trying to connect printer Bematech MP-4200 TH with Nodejs but I can’t.

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

inserir a descrição da imagem aqui

When I run nothing happens, it’s not printing.

I also tried the command echo "teste impressão MP4200TH" > /dev/ttyACM0 the terminal also does not print.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.