StarPRNT-SDK-Android-Java icon indicating copy to clipboard operation
StarPRNT-SDK-Android-Java copied to clipboard

Why does autocut open the cash drawer, is it possible to disable that?

Open satur9nine opened this issue 9 months ago • 1 comments

Description

When I execute the following code the printer will cut paper and then open the cash drawer:

        StarIoExt.Emulation emulation = ModelCapability.getEmulation(ModelCapability.SP700);
        ICommandBuilder builder = StarIoExt.createCommandBuilder(emulation);
        builder.appendCutPaper(ICommandBuilder.CutPaperAction.PartialCutWithFeed);
        byte[] cutCommand = builder.getCommands();
        port.writePort(cutCommand, 0, cutCommand.length);

But I do not want to open the cash drawer every time paper is cut.

I checked the programmer manual and memory switch settings but I do not see a way to prevent cutting from opening the cash drawer, is it possible, how?

Your device where the bug occurs

Android Pixel 7

Your printer

  • Model Names: SP700
  • Firmware Version: V2.1.0
  • Interface: Ethernet

Your development environment

Linux 6.5.0-28-generic #29~22.04.1-Ubuntu

satur9nine avatar May 01 '24 19:05 satur9nine