code: def cut(self, partial=True):
          
          if self.hardware_features.get(feature.CUTTER, False):
              # TODO: implement hardware alternative for unavailable features
              # For example:
              #
              #       self.hardware_alternatives.get('cutter-full-cut')(self)
              #
              # So, implementations or end-user-applications can replace
              # certain hardware functionalites, based on available features.
              #
              # The above mapping can replace full cuts with line feeds for
              # printer hardware that do not have an automatic paper cutter:
              #
              #       self.hardware_alternatives.update({
              #               # skip 7 lines if we do not have a paper cutter
              #               'cutter-full-cut': lambda impl: impl.lf(7)
              #           })
              #
              param = '\x01' if partial else '\x00'
              self.device.write('\x1D\x56' + param)
docs: Trigger cutter to perform partial (default) or full paper cut.