def pportInPaperOut():
 if (port.DlPortReadPortUchar(statusRegAdrs) & 32):
  return 1
 else:
  return 0

def pportInPaperOut ( ) : if ( port . DlPortReadPortUchar ( statusRegAdrs ) & 32 ) : return 1 else : return 0
input from paper out pin .