+ #Are we able to send a direct coammand with sendCommand at this moment in time.
+ def isAbleToSendDirectCommand(self):
+ return self._isAvailable and not self._printing
+
+ #Directly send a command to the printer.
+ def sendCommand(self, command):
+ if not self._isAvailable or self._printing:
+ return
+ self._commandList.append(command)
+