def getInBusy(self): """input from busy pin""" return not (_pyparallel.inp(self.statusRegAdr) & 0x80)
def getInAcknowledge(self): """Acknowledge pin""" return _pyparallel.inp(self.statusRegAdr) & 0x40 and 1
def gettInSelected(self): """select pin""" return _pyparallel.inp(self.statusRegAdr) & 0x10 and 1
def getInPaperOut(self): """paper out pin""" return _pyparallel.inp(self.statusRegAdr) & 0x20 and 1
def getInError(self): """Error pin""" return _pyparallel.inp(self.statusRegAdr) & 0x08 and 1