8000 QRImage don't work · Issue #66 · node-escpos/driver · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

QRImage don't work #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
TomFuch opened this issue Feb 22, 2023 · 1 comment
Open

QRImage don't work #66

TomFuch opened this issue Feb 22, 2023 · 1 comment

Comments

@TomFuch
Copy link
TomFuch commented Feb 22, 2023

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
Copy link
.qrimage("your text", {
              type: "png",
              mode: "dhdw",
              size: 2,
            });

works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0