4.1. StarIoExt

Provides human-readable command generation and peripheral device operation.

4.1.1. StarIoExtEmulation

Emulation type constants

  • Declaration

    public enum StarIoExtEmulation : Int {
        case none
        case starPRNT
        case starLine
        case starGraphic
        case escPos
        case escPosMobile
        case starDotImpact
        case starPRNTL
    }
    
  • Constants

    Name

    Contents

    starPRNT

    StarPRNT emulation

    starPRNTL

    StarPRNTL emulation

    starLine

    STAR Line Mode emulation

    starGraphic

    STAR Graphic Mode emulation

    escPos

    ESC/POS emulation

    escPosMobile

    ESC/POS Mobile emulation

    starDotImpact

    STAR Dot Impact emulation

  1. StarPRNTL emulation

    StarPRNTL emulation reduces the command size with the appendBitmap type method that generates a raster image printing command.The time it takes to send the raster image command is reduced.

    StarPRNTL emulation can only be selected on some supported models.For usable models, refer to the supported printers.

Constant of “Emulation” for each model.

Model

Emulation

Constants

mC-Print2 StarPRNT

starPRNT

mC-Print3 StarPRNT

starPRNT

mC-Label3 StarPRNT

starPRNT

mPOP StarPRNT

starPRNT

FVP10 StarLine

starLine

TSP100IV StarPRNT

starPRNT

TSP100IV SK StarPRNT

starPRNT

TSP100IIIW StarGraphic

starGraphic

TSP100IIILAN StarGraphic

starGraphic

TSP100IIIBI StarGraphic

starGraphic

TSP100IIIU StarGraphic

starGraphic

TSP100IIU+ StarGraphic

starGraphic

TSP100ECO StarGraphic

starGraphic

TSP100U StarGraphic

starGraphic

TSP100GT StarGraphic

starGraphic

TSP100LAN StarGraphic

starGraphic

TSP650II StarLine

starLine

TSP650IISK StarLine

starLine

TSP700II StarLine

starLine

TSP800II StarLine

starLine

BSC10 StarLine

escPos

SM-S210i StarPRNT

starPRNT

EscPosMobile

escPosMobile

SM-S220i StarPRNT

starPRNT

EscPosMobile

escPosMobile

SM-S230i StarPRNT

starPRNT

EscPosMobile

escPosMobile

SM-T300i/T300 StarPRNT

starPRNT

EscPosMobile

escPosMobile

SM-T400i StarPRNT

starPRNT

EscPosMobile

escPosMobile

SM-L200 StarPRNT

starPRNT

starPRNTL

SM-L300 StarPRNT

starPRNT

starPRNTL

SP700 StarDotImpact

starDotImpact

4.1.2. StarIoExtCharacterCode

Character code type constants.

  • Declaration

    public enum StarIoExtCharacterCode : Int {
        case none
        case standard
        case japanese
        case simplifiedChinese
        case traditionalChinese
    }
    
  • Constants

    Name

    Contents

    standard

    Standard character code

    japanese

    Japanese character code

    simplifiedChinese

    Simplified chinese character code

    traditionalChinese

    Traditional chinese character code

4.1.3. StarIoExtBcrModel

Barcode Reader Model constants

  • Declaration

    public enum StarIoExtBcrModel : Int {
        case none
        case POP1
        case DS9208
    }
    
  • Constants

    Name

    Contents

    Library version

    POP1

    Barcode reader : BCR-POP1

    USB HID Class (Keyboard mode)

    1.3.0+

    DS9208

    Barcode reader : DS9208

    1.12.0+

4.1.4. StarIoExtDisplayModel

added in version 1.7.0

Customer Display Model constants.

  • Declaration

    public enum StarIoExtDisplayModel : Int {
        case none
        case SCD222
    }
    
  • Constants

    Name

    Contents

    SCD222

    Customer display: SCD222U

4.1.5. StarIoExtMelodySpeakerModel

added in version 1.12.0

Melody Speaker Model constants.

  • Declaration

    public enum StarIoExtMelodySpeakerModel : UInt {
        case none
        case MCS10
        case FVP10
    }
    
  • Constants

    Name

    Contents

    MCS10

    Melody speaker: MCS10

    FVP10

    FVP10 internal speaker

4.1.6. createCommandBuilder

Creates the command builder object

  • Declaration

    open class func createCommandBuilder(_ emulation: StarIoExtEmulation) -> ISCBBuilder!
    
  • Parameter

    Name

    Contents

    Type

    emulation

    Emulation type

    StarIoExtEmulation

    Constant of Emulation for each model, refer to StarIoExtEmulation .

  • Return value

    Contents

    Type

    ISCBBuilder object

    ISCBBuilder

4.1.7. createDisplayCommandBuilder

added in version 1.7.0

Creates the customer display command builder object

  • Declaration

    open class func createDisplayCommandBuilder(_ model: StarIoExtDisplayModel) -> ISDCBBuilder!
    
  • Parameter

    Name

    Contents

    Type

    model

    Customer Display Model constants

    StarIoExtDisplayModel

  • Return value

    Contents

    Type

    ISDCBBuilder object

    ISDCBBuilder

4.1.8. createMelodySpeakerCommandBuilder

added in version 1.12.0

Creates the melody speaker command builder object

  • Declaration

    open class func createMelodySpeakerCommandBuilder(_ model: StarIoExtMelodySpeakerModel) -> ISMCBBuilder!
    
  • Parameter

    Name

    Contents

    Type

    model

    Melody Speaker Model constants

    StarIoExtMelodySpeakerModel

  • Return value

    Contents

    Type

    ISMCBBuilder object

    ISMCBBuilder

4.1.9. createBcrConnectParser

Creates a barcode reader connection status command response analysis object

  • Declaration

    open class func createBcrConnectParser(_ model: StarIoExtBcrModel) -> ISCPConnectParser!
    
  • Parameter

    Name

    Contents

    Type

    model

    Barcode Reader Model constants

    StarIoExtBcrModel

  • Return value

    Contents

    Type

    ISCPConnectParser object

    ISCPConnectParser

4.1.10. createDisplayConnectParser

added in version 1.7.0

Creates a customer display connection status command response analysis object

  • Declaration

    open class func createDisplayConnectParser(_ model: StarIoExtDisplayModel) -> ISCPConnectParser!
    
  • Parameter

    Name

    Contents

    Type

    model

    Customer Display Model constants

    StarIoExtDisplayModel

  • Return value

    Contents

    Type

    ISCPConnectParser object

    ISCPConnectParser

4.1.11. createMelodySpeakerConnectParser

added in version 1.12.0

Creates a melody speaker connection status command response analysis object

  • Declaration

    open class func createMelodySpeakerConnectParser(_ model: StarIoExtMelodySpeakerModel) throws -> ISCPConnectParser
    
  • Parameter

    Name

    Contents

    Type

    model

    Melody Speaker Model constants

    StarIoExtMelodySpeakerModel

  • Return value

    Contents

    Type

    ISCPConnectParser object

    ISCPConnectParser

  • Error code

    Value

    Contents

    StarIoExtErrorInvalidOperation

    FVP10 is specified