star-micronics / StarPRNT-SDK-Android-Java

StarPRNT SDK for Android including libraries for supporting application development for Star printers.
https://www.star-m.jp/products/s_print/sdk/starprnt_sdk/manual/android_java/en/index.html
Other
15 stars 4 forks source link

Open cash drawer #5

Closed iAmAndroidDeveloper closed 3 years ago

iAmAndroidDeveloper commented 3 years ago

@gare-bear @Lozrus I try many commands to append below code but not able to open Cash drawer, can you please help me for How i can add command for Open cash drawer

val settings: PrinterSettings = settings(setting) val emulation = ModelCapability.getEmulation((settings.modelIndex).toInt()) val builder = StarIoExt.createCommandBuilder(emulation) builder.beginDocument()