def text(self, txt):
txt = six.text_type(txt)<EOL>self.magic.write(txt)<EOL>
Print alpha-numeric text

        The text has to be encoded in the currently selected codepage.
        The input text has to be encoded in unicode.

        :param txt: text to be printed
        :raises: :py:exc:`~escpos.exceptions.TextError`