About this Manual
This manual is designed to help you understand StarPRNT SDK application. It is important to understand the basics of the application language.
There are SDKs available for many different operating systems and programming languages at our Global Support Site. Check the Developers Section of our site for the newest SDKs, technical documentation, FAQs, and many more additional resources.
iPad, iPhone, iPod touch and Retina are trademarks of Apple Inc., registered in the U.S. and other countries.
iPad Air, iPad mini and Lightning are trademarks of Apple Inc.
“iPhone” is a trademark of AIPHONE Co., Ltd and is used under license.
IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used under license.
Android is a trademark of Google Inc.
Windows is registered trademarks of Microsoft Corporation.
The Bluetooth® word mark and logos are registered trademarks owned by Bluetooth SIG, Inc.
The information in this manual is subject to change without notice.
STAR MICRONICS CO., LTD. has taken every measure to provide accurate information, but assumes no liability for errors or omissions.
STAR MICRONICS CO., LTD. is not liable for any damages resulting from the use of information contained in this manual.
Reproduction in whole or in part is prohibited.
- 1. Getting Started
- 2. How to add the library
- 3. API Reference ( stario.aar )
- 3.1. StarIOPort
- 3.1.1. Printing flow
- 3.1.2. getPort
- 3.1.3. releasePort
- 3.1.4. searchPrinter
- 3.1.5. writePort
- 3.1.6. readPort
- 3.1.7. retreiveStatus
- 3.1.8. beginCheckedBlock
- 3.1.9. endCheckedBlock
- 3.1.10. setEndCheckedBlockTimeoutMillis
- 3.1.11. setHoldPrintTimeoutMillis
- 3.1.12. getFirmwareInformation
- 3.1.13. getPortName
- 3.1.14. getPortSettings
- 3.1.15. getStarIOVersion
- 3.2. StarPrinterStatus
- 3.3. StarIOPortException
- 3.4. PortInfo
- 3.5. StarBluetoothManager
- 3.5.1. Bluetooth setting change flow using StarBluetoothManager
- 3.5.2. StarDeviceType
- 3.5.3. StarBluetoothSecurity
- 3.5.4. StarBluetoothSettingCapability
- 3.5.5. StarBluetoothManager
- 3.5.6. open
- 3.5.7. loadSetting
- 3.5.8. close
- 3.5.9. apply
- 3.5.10. getBluetoothDeviceNameCapability
- 3.5.11. getBluetoothDeviceName
- 3.5.12. setBluetoothDeviceName
- 3.5.13. getiOSPortNameCapability
- 3.5.14. getiOSPortName
- 3.5.15. setiOSPortName
- 3.5.16. getPinCodeCapability
- 3.5.17. getPinCode
- 3.5.18. setPinCode
- 3.5.19. getAutoConnectCapability
- 3.5.20. getAutoConnect
- 3.5.21. setAutoConnect
- 3.5.22. getSecurityTypeCapability
- 3.5.23. getSecurityType
- 3.5.24. setSecurityType
- 3.5.25. getPortName
- 3.5.26. getPortSettings
- 3.5.27. getTimeoutMillis
- 3.5.28. getDeviceType
- 3.5.29. isOpened
- 3.6. StarResultCode
- 3.1. StarIOPort
- 4. API Reference ( starioextension.aar )
- 4.1. StarIoExt
- 4.1.1. Emulation
- 4.1.2. CharacterCode
- 4.1.3. BcrModel
- 4.1.4. DisplayModel
- 4.1.5. MelodySpeakerModel
- 4.1.6. LedModel
- 4.1.7. createCommandBuilder
- 4.1.8. createDisplayCommandBuilder
- 4.1.9. createMelodySpeakerCommandBuilder
- 4.1.10. createPresenterCommandBuilder
- 4.1.11. createLedCommandBuilder
- 4.1.12. createBezelCommandBuilder
- 4.1.13. createBcrConnectParser
- 4.1.14. createDisplayConnectParser
- 4.1.15. createMelodySpeakerConnectParser
- 4.1.16. createPresenterPaperCounterParser
- 4.2. ICommandBuilder
- 4.2.1. InitializationType
- 4.2.2. FontStyleType
- 4.2.3. CodePageType
- 4.2.4. InternationalType
- 4.2.5. LogoSize
- 4.2.6. AlignmentPosition
- 4.2.7. CutPaperAction
- 4.2.8. PeripheralChannel
- 4.2.9. SoundChannel
- 4.2.10. BarcodeSymbology
- 4.2.11. BarcodeWidth
- 4.2.12. Pdf417Level
- 4.2.13. QrCodeModel
- 4.2.14. QrCodeLevel
- 4.2.15. BitmapConverterRotation
- 4.2.16. BlackMarkType
- 4.2.17. LabelType
- 4.2.18. PrintableAreaType
- 4.2.19. CjkUnifiedIdeographFont
- 4.2.20. HoldPrintType
- 4.2.21. PaperPresentStatusType
- 4.2.22. beginDocument
- 4.2.23. endDocument
- 4.2.24. appendInitialization
- 4.2.25. append
- 4.2.26. appendRaw
- 4.2.27. appendFontStyle
- 4.2.28. appendCodePage
- 4.2.29. appendInternational
- 4.2.30. appendLineFeed
- 4.2.31. appendUnitFeed
- 4.2.32. appendCharacterSpace
- 4.2.33. appendLineSpace
- 4.2.34. appendTopMargin
- 4.2.35. appendEmphasis
- 4.2.36. appendInvert
- 4.2.37. appendMultiple
- 4.2.38. appendUnderLine
- 4.2.39. appendLogo
- 4.2.40. appendAbsolutePosition
- 4.2.41. appendAlignment
- 4.2.42. appendHorizontalTabPosition
- 4.2.43. appendCutPaper
- 4.2.44. appendPeripheral
- 4.2.45. appendSound
- 4.2.46. appendBarcode
- 4.2.47. appendBarcodeWithAbsolutePosition
- 4.2.48. appendBarcodeWithAlignment
- 4.2.49. appendPdf417
- 4.2.50. appendPdf417WithAbsolutePosition
- 4.2.51. appendPdf417WithAlignment
- 4.2.52. appendQrCode
- 4.2.53. appendQrCodeWithAbsolutePosition
- 4.2.54. appendQrCodeWithAlignment
- 4.2.55. appendBitmap
- 4.2.56. appendBitmapWithAbsolutePosition
- 4.2.57. appendBitmapWithAlignment
- 4.2.58. appendBlackMark
- 4.2.59. appendLabel
- 4.2.60. beginPageMode
- 4.2.61. endPageMode
- 4.2.62. appendPageModeVerticalAbsolutePosition
- 4.2.63. appendPageModeRotation
- 4.2.64. appendPrintableArea
- 4.2.65. appendCjkUnifiedIdeographFont
- 4.2.66. appendHoldPrint
- 4.2.67. appendPaperPresentStatus
- 4.2.68. getCommands
- 4.3. IDisplayCommandBuilder
- 4.3.1. InternationalType
- 4.3.2. CodePageType
- 4.3.3. CursorMode
- 4.3.4. ContrastMode
- 4.3.5. append
- 4.3.6. appendBackSpace
- 4.3.7. appendHorizontalTab
- 4.3.8. appendLineFeed
- 4.3.9. appendCarriageReturn
- 4.3.10. appendBitmap
- 4.3.11. appendInternational
- 4.3.12. appendCodePage
- 4.3.13. appendDeleteToEndOfLine
- 4.3.14. appendClearScreen
- 4.3.15. appendHomePosition
- 4.3.16. appendTurnOn
- 4.3.17. appendSpecifiedPosition
- 4.3.18. appendCursorMode
- 4.3.19. appendContrastMode
- 4.3.20. appendUserDefinedCharacter
- 4.3.21. appendUserDefinedDbcsCharacter
- 4.3.22. getCommands
- 4.3.23. getPassThroughCommands
- 4.4. IMelodySpeakerCommandBuilder
- 4.5. SoundSetting
- 4.6. IPresenterCommandBuilder
- 4.7. PresenterSetting
- 4.8. ILedCommandBuilder
- 4.9. IBezelCommandBuilder
- 4.10. IPeripheralCommandParser
- 4.11. IPeripheralConnectParser
- 4.12. IPresenterPaperCounterParser
- 4.13. StarIoExtManager
- 4.13.1. Type
- 4.13.2. PrinterStatus
- 4.13.3. PrinterPaperStatus
- 4.13.4. PrinterCoverStatus
- 4.13.5. CashDrawerStatus
- 4.13.6. BarcodeReaderStatus
- 4.13.7. StarIoExtManager
- 4.13.8. connect
- 4.13.9. disconnect
- 4.13.10. getPort
- 4.13.11. getPrinterStatus
- 4.13.12. getPrinterPaperStatus
- 4.13.13. getPrinterCoverStatus
- 4.13.14. getCashDrawerStatus
- 4.13.15. getBarcodeReaderStatus
- 4.13.16. getCashDrawerOpenActiveHigh
- 4.13.17. setCashDrawerOpenActiveHigh
- 4.13.18. setListener
- 4.14. ConnectionCallback
- 4.15. IConnectionCallback
- 4.16. StarIoExtManagerListener
- 4.16.1. onPrinterImpossible
- 4.16.2. onPrinterOnline
- 4.16.3. onPrinterOffline
- 4.16.4. onPrinterPaperReady
- 4.16.5. onPrinterPaperNearEmpty
- 4.16.6. onPrinterPaperEmpty
- 4.16.7. onPrinterCoverOpen
- 4.16.8. onPrinterCoverClose
- 4.16.9. onCashDrawerOpen
- 4.16.10. onCashDrawerClose
- 4.16.11. onBarcodeReaderImpossible
- 4.16.12. onBarcodeReaderConnect
- 4.16.13. onBarcodeReaderDisconnect
- 4.16.14. onBarcodeDataReceive
- 4.16.15. onAccessoryConnectSuccess
- 4.16.16. onAccessoryConnectFailure
- 4.16.17. onAccessoryDisconnect
- 4.16.18. onStatusUpdate
- 4.17. StarBluetoothManagerFactory
- 4.1. StarIoExt
- 5. API Reference ( stariodevicesetting.aar )
- 6. Appendix