QRImage don't work
TomFuch opened this issue · 1 comments
TomFuch commented
printer.qrimage("test") don't work and failed with:
UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Buffer
tobiasbenkner commented
.qrimage("your text", {
type: "png",
mode: "dhdw",
size: 2,
});
works for me