def __init__(self, printer, autocut=True, autoclose=True, **kwargs):
self.printer = printer<EOL>self.params = kwargs<EOL>self.autocut = autocut<EOL>self.autoclose = autoclose<EOL>
:param printer: An EscPos-printer object
:type printer: escpos.Escpos
:param autocut: If True, paper is automatically cut after the `with`-statement *default*: True
:param kwargs: These arguments will be passed to :py:meth:`escpos.Escpos.set()`