-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
there is a error with Buffer is not defined

even i don't use qrimage in code.
import escpos from 'escpos';
const device = new escpos.Network(MachineSetting.PrinterIP);
const printer = new escpos.Printer(device, options);
function printTest()
{
device.open(function(err){
printer
.font('a')
.align("STAR_CA")
.style('bu')
.size(1, 1)
.emphasize()
.text('The quick brown fox jumps over the lazy dog')
.cancelEmphasize()
.align("STAR_LA")
.text('敏捷的棕色狐狸跳过懒狗')
.align("STAR_RA");
});
}
Metadata
Metadata
Assignees
Labels
No labels