Status byte coming from printer reaches the message handler. The handler examines whether the received data is status byte and there has ever been queries for printer status. And after examining, the handler analyzes the byte to check status of printer. The code below is to check paper status and cover status for WSP-R240 model group.