Brother QL 800, "미디어 교체 오류", Ubuntu/raspberry

Brother QL 800, "미디어 교체 오류", Ubuntu/raspberry

내 목표는 Brother QL-800 라벨 프린터를 Raspberry Pi에 연결하여 스크립트를 통해 라벨을 자동으로 인쇄하는 것입니다.

나는 설치했다https://github.com/pklaus/brother_ql.

우분투 바이오닉 서버가 설치된 라즈베리 파이 3에 USB로 연결됩니다. 저는 파이썬 3.0을 사용하고 있습니다.

실행하면 전원 LED가 빨간색으로 깜박이고 터미널에 다음 오류가 출력됩니다.

INFO:brother_ql.backends.helpers:Sending instructions to the printer. Total: 50650 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?

Windows에서 P-touch 편집기를 사용하여 시도해 보았는데 잘 인쇄됩니다.

여러 가지 다른 이미지로 시도했고 /dev/usb/lp0과 장치 ID를 모두 사용했습니다.

brother_ql --printer usb://04f9:209b --model QL-800 print -l 62x29 --red test.png brother_ql --printer /dev/usb/lp0 --model QL-800 print -l 62x29 --red test.png

또한 바이너리를 내보내려고 했습니다.

brother_ql_create --model QL-800 --label-size 62x29 --red test.png > test.bin

바이너리 파일을 내보낸 다음

brother_ql_print test.bin /dev/usb/lp0

"미디어 교체 오류"라는 오류 메시지를 검색해 보았으나 같은 문제가 발생한 사람은 없는 것 같습니다.

어떤 아이디어가 있나요?

편집: --no-cut 옵션을 사용하여 작동하므로 원본 이미지 크기를 다시 확인했지만 696x271로 정확합니다. 그래도 잘라내고 싶습니다.

답변1

좋습니다. 문제는 --label 매개변수였습니다. 알 수 없는 이유로

--label 62x29

작동하지 않습니다. 그러나,

--label 62

작동하고 올바르게 절단되었습니다.

관련 정보