detect paper out by custumer with kr403  sdk java


Audience

Hello,
 
For read status of kr403 I am using  :   usb.sendAndWaitForResponse("~HQES".getBytes(), 2000, 1000,new String(new byte[] { 0x03 }));
 
That I would like to do :
 
1 - the person pushes a button for print ticket
2 - if the person takes the ticket ->> barrier is open
     if  the person does not take the ticket ->> barrier is not open (and ticket is retract automaticaly)
 
How  to do this ? steps to analyse warning status ?
 
thanks very much
 
 
Didier P.