driver icon indicating copy to clipboard operation
driver copied to clipboard

QRImage don't work

Open TomFuch opened this issue 2 years ago • 1 comments

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

TomFuch avatar Feb 22 '23 12:02 TomFuch

.qrimage("your text", {
              type: "png",
              mode: "dhdw",
              size: 2,
            });

works for me

tobiasbenkner avatar Jun 18 '24 15:06 tobiasbenkner