def cut(self, partial=True):
if self.hardware_features.get(feature.CUTTER, False):<EOL><INDENT>param = '<STR_LIT>' if partial else '<STR_LIT:\x00>'<EOL>self.device.write('<STR_LIT>' + param)<EOL><DEDENT>
Trigger cutter to perform partial (default) or full paper cut.