StarPRNT-SDK-Android-Java
StarPRNT-SDK-Android-Java copied to clipboard
Why does autocut open the cash drawer, is it possible to disable that?
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