2021-05-21 12:12:16 -04:00
|
|
|
//first half of © character
|
2025-11-18 14:21:47 +00:00
|
|
|
process.stdout.write(Buffer.from([0xC2]), () => {
|
2021-05-21 12:12:16 -04:00
|
|
|
//write in the callback so that the second byte is sent separately
|
2021-05-21 15:32:09 -04:00
|
|
|
setTimeout(() => {
|
|
|
|
|
process.stdout.write(Buffer.from([0xA9])) //second half of © character
|
2025-11-18 14:21:47 +00:00
|
|
|
}, 100)
|
2021-05-21 15:32:09 -04:00
|
|
|
|
2021-05-21 12:12:16 -04:00
|
|
|
})
|