def write(self, data):
        """Print any command sent in raw format.

        :param bytes data: arbitrary code to be printed.
        """
        self.device.write(data)
        if self.auto_flush:
            self.flush()
Print any command sent in raw format.

        :param bytes data: arbitrary code to be printed.