Added in Version 1.0.0

DocumentBuilder

The class that creates StarXpandCommand for a document

Constructor

DocumentBuilder()

Initialize object

Method

settingTopMargin(height: Double)

Set the top margin

settingBlackMark(parameter: BlackMarkParameter)

Set black mark detection

settingLabel(parameter: LabelParameter)

Set gap detection for die-cut label paper, etc

settingHoldPrint(parameter: HoldPrintParameter)

Set hold print

settingPrintableArea(width: Double)

Set the printable area

addPrinter(builder: PrinterBuilder)

Add a printer

addDrawer(builder: DrawerBuilder)

Add a cash drawer

addBuzzer(builder: BuzzerBuilder)

Add a buzzer

addMelodySpeaker(builder: MelodySpeakerBuilder)

Add a melody speaker

addDisplay(builder: DisplayBuilder)

Add a customer display

addRaw(content: List<Byte>)

Add the binary data