Open hrueger opened 4 months ago
Ideally, one would be able to provide a listener for status changes ;-)
I really dont know about this method about cash drawer, can you show me where it is ? there is a status to check if the pinter box is open, but its just that
Sure, here's the docs about that: https://developer.sunmi.com/docs/en-US/xeghjk491/mareghjk568#h-2-get-the-status-of-the-cash-drawer
Edit: I believe that this is the link to the main sdk docs (although they are not very comprehensive): https://developer.sunmi.com/docs/en-US/xeghjk491/maceghjk502
i see, im sorry but i dont have this cash drawer here to implement this methods =(
OK, I understand. I already tried to implement that, but failed. It seems that this is a completely new and different api... Do you plan on getting that into this library? As far as I understand it, the new api (printerx
) should be preferred over the woyou service.
yes, but i have just a huge K2 in the office and to change the lib i need to bring home, i will try to arrange that asap
Wow, that sounds amazing! If I can test anything, just let me know. I have access to a couple of different models.
I just got a new Sunmi D3 and I'd like to use it together with a Sunmi Kitchen Cloud Printer. It seems like that would work out of the box with the new api: https://developer.sunmi.com/docs/en-US/xeghjk491/rfmeghjk546
Hi, first of all thanks for this great library. I'd like to get an open / closed status of the cash drawer. It seems like this is possible using
isOpen()
, but not from the woyou service... Seems like there's a new api?