def __init__(self, devfile="<STR_LIT>", baudrate=<NUM_LIT>, bytesize=<NUM_LIT:8>, timeout=<NUM_LIT:1>,<EOL>parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE,<EOL>xonxoff=False, dsrdtr=True, *args, **kwargs):
Escpos.__init__(self, *args, **kwargs)<EOL>self.devfile = devfile<EOL>self.baudrate = baudrate<EOL>self.bytesize = bytesize<EOL>self.timeout = timeout<EOL>self.parity = parity<EOL>self.stopbits = stopbits<EOL>self.xonxoff = xonxoff<EOL>self.dsrdtr = dsrdtr<EOL>self.open()<EOL>
:param devfile:  Device file under dev filesystem
:param baudrate: Baud rate for serial transmission
:param bytesize: Serial buffer size
:param timeout:  Read/Write timeout
:param parity:   Parity checking
:param stopbits: Number of stop bits
:param xonxoff:  Software flow control
:param dsrdtr:   Hardware flow control (False to enable RTS/CTS)