def query_status(self, mode):
self._raw(mode)<EOL>time.sleep(<NUM_LIT:1>)<EOL>status = self._read()<EOL>return status<EOL>
Queries the printer for its status, and returns an array of integers containing it.

:param mode: Integer that sets the status mode queried to the printer.
    - RT_STATUS_ONLINE: Printer status.
    - RT_STATUS_PAPER: Paper sensor.
:rtype: array(integer)