def cashdraw(self, pin):
if pin == <NUM_LIT:2>:<EOL><INDENT>self._raw(CD_KICK_2)<EOL><DEDENT>elif pin == <NUM_LIT:5>:<EOL><INDENT>self._raw(CD_KICK_5)<EOL><DEDENT>else:<EOL><INDENT>try:<EOL><INDENT>self._raw(CD_KICK_DEC_SEQUENCE(*pin))<EOL><DEDENT>except TypeError as err:<EOL><INDENT>raise CashDrawerError(err)<EOL><DEDENT><DEDENT>
Send pulse to kick the cash drawer

        Kick cash drawer on pin 2 or pin 5 according to default parameter.
        For non default parameter send a decimal sequence i.e. [27,112,48] or [27,112,0,25,255]

        :param pin: pin number, 2 or 5 or list of decimals
        :raises: :py:exc:`~escpos.exceptions.CashDrawerError`