masatomizuta / py-brotherlabel

Raster print package for Brother P-Touch label printers
GNU General Public License v3.0
12 stars 7 forks source link

Not able to read status #3

Open kubaraczkowski opened 2 years ago

kubaraczkowski commented 2 years ago

Hi,

The library is great - simple and immediately usable! Nice!

While I am able to print labels on PT-P900W (both usb and tcp), when doing it via network (tcp) the status-reading commands fail. Indeed any call to recv fails. I tried doing everything 'step by step' manually, it seems like the device never sends anything at all to the port. With the USB connection there is no problem at all...

Do you perhaps have any idea what could be going on?

Again - thanks a lot for the great library!

masatomizuta commented 4 weeks ago

Hi, I also tried to find out how to get the status using a TCP connection, but it seems that TCP mode does not support status feedback. The flowchart for TCP mode (refer to the reference manual on page 48) does not show any status readings, unlike the USB mode.

kubaraczkowski commented 4 weeks ago

By accident I once disabled the SNMP protocol on the printer and then also the official apps stopped working. It seems that perhaps the status (e.g. label width) is reported over SNMP rather than TCP.

Any chance you could try to confirm this?

On Sat, 31 Aug 2024 at 06:52, Masato Mizuta @.***> wrote:

Hi, I also tried to find out how to get the status using a TCP connection, but it seems that TCP mode does not support status feedback. The flowchart for TCP mode (refer to the reference manual on page 48) does not show any status readings, unlike the USB mode.

— Reply to this email directly, view it on GitHub https://github.com/masatomizuta/py-brotherlabel/issues/3#issuecomment-2322771155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEHNHG6YNUHT3XTDY7CY2DZUFDXNAVCNFSM6AAAAABNNQ6476VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSG43TCMJVGU . You are receiving this because you authored the thread.Message ID: @.***>