Skip to content
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

Brother_QL not printing with python script #154

Open
futonkris opened this issue May 21, 2024 · 1 comment
Open

Brother_QL not printing with python script #154

futonkris opened this issue May 21, 2024 · 1 comment

Comments

@futonkris
Copy link

import subprocess

cmd = [
"brother_ql",
"-m",
"QL-820NWB",
"-p",
"usb://0x04f9:0x209d_Љ",
"-b",
"pyusb",
"print",
"-l",
"62",
"background.png"
]

subprocess.run(cmd)

can this code and it returned CompletedProcess(args=['brother_ql', '-m', 'QL-820NWB', '-p', 'usb://0x04f9:0x209d_Љ', '-b', 'pyusb', 'print', '-l', '62', 'background.png'], returncode=1)

but nothing came out of the printer, anyone with any know how?

@FriedrichFroebel
Copy link

You should probably run this command in standalone mode or at least have a look at stdout and stderr and report it here - otherwise it is hard to say anything about this.

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