packet.type == 219: raise ValueError
Opened this issue · 2 comments
Soggytoast111 commented
I'm trying to troubleshoot my setup here -- Can you explain what is tripping this?
Model: B1
Connection: Bluetooth
Printing: examples\B21_30x15mm_240x120px
DEBUG | PngImagePlugin:call:190 - STREAM b'IHDR' 16 13
DEBUG | PngImagePlugin:call:190 - STREAM b'sRGB' 41 1
DEBUG | PngImagePlugin:call:190 - STREAM b'gAMA' 54 4
DEBUG | PngImagePlugin:call:190 - STREAM b'pHYs' 70 9
DEBUG | PngImagePlugin:call:190 - STREAM b'IDAT' 91 403
DEBUG | printer:_log_buffer:146 - send: 55:55:21:01:05:25:aa:aa
DEBUG | printer:_log_buffer:146 - recv: 55:55:31:01:01:31:aa:aa
DEBUG | printer:_log_buffer:146 - send: 55:55:23:01:01:23:aa:aa
DEBUG | printer:_log_buffer:146 - recv: 55:55:33:01:01:33:aa:aa
DEBUG | printer:_log_buffer:146 - send: 55:55:01:01:01:01:aa:aa
DEBUG | printer:_log_buffer:146 - recv: 55:55:db:01:02:d8:aa:aa
...
File "printer.py", line 259, in start_print
packet = self._transceive(RequestCodeEnum.START_PRINT, b"\x01")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "printer.py", line 159, in _transceive
raise ValueError
MultiMote commented
You received PrintError (0xdb) LackPaper (0x02) after PrintStart. It is not handled by niimprint.
P.S. B1 uses other PrintStart format (7 bytes of payload instead of 1). See this.
Soggytoast111 commented
Thanks. Another stupid question answered. I didn't have the roll properly loaded.