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

Replace media error #72

Open
5shekel opened this issue Oct 12, 2024 · 2 comments
Open

Replace media error #72

5shekel opened this issue Oct 12, 2024 · 2 comments

Comments

@5shekel
Copy link

5shekel commented Oct 12, 2024

hi,
i introduced a new QL-1050 (spec) printer to my collection.
and i get this

$ brother_ql -b pyusb --model QL-1050 -p usb://0x04f9:0x2020 print -l 102 /temp/aaa.png
WARNING:brother_ql.conversion:Need to resize the image...
INFO:brother_ql.backends.helpers:Sending instructions to the printer. Total: 128286 bytes.
ERROR:brother_ql.reader:Error: Replace media error
ERROR:brother_ql.backends.helpers:Errors occured: ['Replace media error']
WARNING:brother_ql.backends.helpers:'printing completed' status not received.
WARNING:brother_ql.backends.helpers:'waiting to receive' status not received.
WARNING:brother_ql.backends.helpers:Printing potentially not successful?

i installed the p-touch software and noticed the printer communicated back to the software that the printer detected a 4"x6" label. its not right as mine is 4" (continues).

my questions,

  • can/is there a way to disregard that automated label detection?
  • mechanical\electronically, how this detection is done?
  • can this be connected to the error im getting?

brother_ql-inventree 1.4a0

<3 to the project from printit

@5shekel 5shekel changed the title label detection Replace media error Oct 12, 2024
@vulpes2
Copy link

vulpes2 commented Oct 13, 2024

Answers to your questions:

  1. The print job contains the media type info, the printer simply checks if the incoming data matches the currently loaded media, and report an error if it's not a match. So you can specify whatever you want with brother_ql just like you can with P-Touch, but the printer will still reject it if it's incorrect.
  2. Detection is done with the holes at the bottom of the roll holder, you can find some microswitches in the area this section lands at. dk
  3. Yes, if P-Touch detects a 4"x6" media then brother_ql isn't doing anything wrong, the printer thinks it has a 4"x6" media roll loaded and rejected the job meant for a 4" continuous media roll. If you have those aftermarket rolls with reusable holders/frames, make sure you are using the correct one and not just reusing them based on width.

@5shekel
Copy link
Author

5shekel commented Oct 13, 2024

  1. Detection is done with the holes at the bottom of the roll holder, you can find some microswitches in the area this section lands at.

never have i noticed these! the solution is easy.
ill try to figure out all the combos and share.
if its not documented somewhere.

WhatsApp Image 2024-10-13 at 16 40 17_be1f0a71

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