@rdlabo/capacitor-brotherprint 0.0.2 → 2.0.0-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (303) hide show
  1. package/README.md +97 -0
  2. package/RdlaboCapacitorBrotherprint.podspec +8 -2
  3. package/android/.gradle/5.6.4/executionHistory/executionHistory.bin +0 -0
  4. package/android/.gradle/5.6.4/executionHistory/executionHistory.lock +0 -0
  5. package/android/.gradle/5.6.4/fileChanges/last-build.bin +0 -0
  6. package/android/.gradle/5.6.4/fileContent/fileContent.lock +0 -0
  7. package/android/.gradle/5.6.4/fileHashes/fileHashes.bin +0 -0
  8. package/android/.gradle/5.6.4/fileHashes/fileHashes.lock +0 -0
  9. package/android/.gradle/5.6.4/fileHashes/resourceHashesCache.bin +0 -0
  10. package/android/.gradle/5.6.4/gc.properties +0 -0
  11. package/android/.gradle/5.6.4/javaCompile/classAnalysis.bin +0 -0
  12. package/android/.gradle/5.6.4/javaCompile/jarAnalysis.bin +0 -0
  13. package/android/.gradle/5.6.4/javaCompile/javaCompile.lock +0 -0
  14. package/android/.gradle/5.6.4/javaCompile/taskHistory.bin +0 -0
  15. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  16. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  17. package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  18. package/android/.gradle/vcs-1/gc.properties +0 -0
  19. package/android/.idea/caches/build_file_checksums.ser +0 -0
  20. package/android/.idea/codeStyles/Project.xml +116 -0
  21. package/android/.idea/gradle.xml +22 -0
  22. package/android/.idea/jarRepositories.xml +30 -0
  23. package/android/.idea/libraries/Gradle__androidx_activity_activity_1_0_0_aar.xml +12 -0
  24. package/android/.idea/libraries/Gradle__androidx_annotation_annotation_1_1_0_jar.xml +13 -0
  25. package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_1_1_0_aar.xml +15 -0
  26. package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_resources_1_1_0_aar.xml +12 -0
  27. package/android/.idea/libraries/Gradle__androidx_arch_core_core_common_2_1_0_jar.xml +11 -0
  28. package/android/.idea/libraries/Gradle__androidx_arch_core_core_runtime_2_0_0_aar.xml +12 -0
  29. package/android/.idea/libraries/Gradle__androidx_browser_browser_1_2_0_aar.xml +15 -0
  30. package/android/.idea/libraries/Gradle__androidx_cardview_cardview_1_0_0_aar.xml +12 -0
  31. package/android/.idea/libraries/Gradle__androidx_collection_collection_1_1_0_jar.xml +11 -0
  32. package/android/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml +15 -0
  33. package/android/.idea/libraries/Gradle__androidx_core_core_1_2_0_aar.xml +15 -0
  34. package/android/.idea/libraries/Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml +12 -0
  35. package/android/.idea/libraries/Gradle__androidx_customview_customview_1_0_0_aar.xml +12 -0
  36. package/android/.idea/libraries/Gradle__androidx_documentfile_documentfile_1_0_0_aar.xml +12 -0
  37. package/android/.idea/libraries/Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml +15 -0
  38. package/android/.idea/libraries/Gradle__androidx_exifinterface_exifinterface_1_2_0_aar.xml +15 -0
  39. package/android/.idea/libraries/Gradle__androidx_fragment_fragment_1_1_0_aar.xml +15 -0
  40. package/android/.idea/libraries/Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml +12 -0
  41. package/android/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_utils_1_0_0_aar.xml +12 -0
  42. package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_1_0_jar.xml +11 -0
  43. package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_2_0_0_aar.xml +12 -0
  44. package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_0_0_aar.xml +12 -0
  45. package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_1_0_aar.xml +12 -0
  46. package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_1_0_aar.xml +12 -0
  47. package/android/.idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml +12 -0
  48. package/android/.idea/libraries/Gradle__androidx_localbroadcastmanager_localbroadcastmanager_1_0_0_aar.xml +12 -0
  49. package/android/.idea/libraries/Gradle__androidx_print_print_1_0_0_aar.xml +15 -0
  50. package/android/.idea/libraries/Gradle__androidx_recyclerview_recyclerview_1_1_0_aar.xml +15 -0
  51. package/android/.idea/libraries/Gradle__androidx_savedstate_savedstate_1_0_0_aar.xml +12 -0
  52. package/android/.idea/libraries/Gradle__androidx_test_core_1_2_0_aar.xml +14 -0
  53. package/android/.idea/libraries/Gradle__androidx_test_espresso_espresso_core_3_2_0_aar.xml +14 -0
  54. package/android/.idea/libraries/Gradle__androidx_test_espresso_espresso_idling_resource_3_2_0_aar.xml +14 -0
  55. package/android/.idea/libraries/Gradle__androidx_test_ext_junit_1_1_1_aar.xml +14 -0
  56. package/android/.idea/libraries/Gradle__androidx_test_monitor_1_2_0_aar.xml +14 -0
  57. package/android/.idea/libraries/Gradle__androidx_test_runner_1_2_0_aar.xml +14 -0
  58. package/android/.idea/libraries/Gradle__androidx_transition_transition_1_2_0_aar.xml +15 -0
  59. package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_1_1_0_aar.xml +12 -0
  60. package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_animated_1_1_0_aar.xml +12 -0
  61. package/android/.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_0_aar.xml +12 -0
  62. package/android/.idea/libraries/Gradle__androidx_viewpager2_viewpager2_1_0_0_aar.xml +15 -0
  63. package/android/.idea/libraries/Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml +12 -0
  64. package/android/.idea/libraries/Gradle__artifacts_BrotherPrintLibrary_unspecified_jar.xml +11 -0
  65. package/android/.idea/libraries/Gradle__com_google_android_datatransport_transport_api_2_2_0_aar.xml +12 -0
  66. package/android/.idea/libraries/Gradle__com_google_android_datatransport_transport_backend_cct_2_2_0_aar.xml +12 -0
  67. package/android/.idea/libraries/Gradle__com_google_android_datatransport_transport_runtime_2_2_0_aar.xml +12 -0
  68. package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_base_17_0_0_aar.xml +12 -0
  69. package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_basement_17_0_0_aar.xml +12 -0
  70. package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_location_17_0_0_aar.xml +10 -0
  71. package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_places_placereport_17_0_0_aar.xml +10 -0
  72. package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_stats_17_0_0_aar.xml +10 -0
  73. package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_tasks_17_0_0_aar.xml +10 -0
  74. package/android/.idea/libraries/Gradle__com_google_android_material_material_1_1_0_rc02_aar.xml +15 -0
  75. package/android/.idea/libraries/Gradle__com_google_auto_value_auto_value_annotations_1_6_5_jar.xml +13 -0
  76. package/android/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_2_0_1_jar.xml +9 -0
  77. package/android/.idea/libraries/Gradle__com_google_dagger_dagger_2_24_jar.xml +13 -0
  78. package/android/.idea/libraries/Gradle__com_google_firebase_firebase_common_19_3_0_aar.xml +14 -0
  79. package/android/.idea/libraries/Gradle__com_google_firebase_firebase_components_16_0_0_aar.xml +14 -0
  80. package/android/.idea/libraries/Gradle__com_google_firebase_firebase_datatransport_17_0_3_aar.xml +14 -0
  81. package/android/.idea/libraries/Gradle__com_google_firebase_firebase_encoders_json_16_0_0_aar.xml +14 -0
  82. package/android/.idea/libraries/Gradle__com_google_firebase_firebase_iid_20_1_1_aar.xml +12 -0
  83. package/android/.idea/libraries/Gradle__com_google_firebase_firebase_iid_interop_17_0_0_aar.xml +10 -0
  84. package/android/.idea/libraries/Gradle__com_google_firebase_firebase_installations_16_0_0_aar.xml +12 -0
  85. package/android/.idea/libraries/Gradle__com_google_firebase_firebase_installations_interop_16_0_0_aar.xml +12 -0
  86. package/android/.idea/libraries/Gradle__com_google_firebase_firebase_measurement_connector_18_0_0_aar.xml +10 -0
  87. package/android/.idea/libraries/Gradle__com_google_firebase_firebase_messaging_20_1_2_aar.xml +12 -0
  88. package/android/.idea/libraries/Gradle__com_google_guava_listenablefuture_1_0_jar.xml +13 -0
  89. package/android/.idea/libraries/Gradle__com_squareup_javawriter_2_1_1_jar.xml +13 -0
  90. package/android/.idea/libraries/Gradle__javax_inject_javax_inject_1_jar.xml +13 -0
  91. package/android/.idea/libraries/Gradle__junit_junit_4_12_jar.xml +13 -0
  92. package/android/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_1_9_7_jar.xml +13 -0
  93. package/android/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_agent_1_9_7_jar.xml +13 -0
  94. package/android/.idea/libraries/Gradle__net_sf_kxml_kxml2_2_3_0_jar.xml +13 -0
  95. package/android/.idea/libraries/Gradle__org_apache_cordova_framework_7_0_0_aar.xml +12 -0
  96. package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3_jar.xml +13 -0
  97. package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3_jar.xml +13 -0
  98. package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3_jar.xml +13 -0
  99. package/android/.idea/libraries/Gradle__org_json_json_20140107_jar.xml +13 -0
  100. package/android/.idea/libraries/Gradle__org_mockito_mockito_core_2_25_1_jar.xml +13 -0
  101. package/android/.idea/libraries/Gradle__org_mockito_mockito_inline_2_25_1_jar.xml +13 -0
  102. package/android/.idea/libraries/Gradle__org_objenesis_objenesis_2_6_jar.xml +13 -0
  103. package/android/.idea/misc.xml +14 -0
  104. package/android/.idea/modules/-485579866/capacitor-android.iml +171 -0
  105. package/android/.idea/modules/BrotherPrintLibrary/BrotherPrintLibrary.iml +27 -0
  106. package/android/.idea/modules/android.iml +110 -0
  107. package/android/.idea/modules.xml +10 -0
  108. package/android/.idea/runConfigurations.xml +12 -0
  109. package/android/.idea/vcs.xml +6 -0
  110. package/android/.idea/workspace.xml +83 -0
  111. package/android/BrotherPrintLibrary/BrotherPrintLibrary.aar +0 -0
  112. package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/AndroidManifest.xml +11 -0
  113. package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jars/classes.jar +0 -0
  114. package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jars/libs/MobilePrintLib.jar +0 -0
  115. package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/arm64-v8a/libcreatedata.so +0 -0
  116. package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/armeabi/libAndrJFPDFEMB.so +0 -0
  117. package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/armeabi/libcreatedata.so +0 -0
  118. package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/armeabi-v7a/libAndrJFPDFEMB.so +0 -0
  119. package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/armeabi-v7a/libcreatedata.so +0 -0
  120. package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/x86/libcreatedata.so +0 -0
  121. package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/x86_64/libcreatedata.so +0 -0
  122. package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a.bin +1 -0
  123. package/android/BrotherPrintLibrary/build/.transforms/8f03997c59bfcdf41861a60561d5d5af.bin +0 -0
  124. package/android/BrotherPrintLibrary/build/.transforms/b3cb8a1794c15332bde93f2b78199c73/jetified-BrotherPrintLibrary.aar +0 -0
  125. package/android/BrotherPrintLibrary/build/.transforms/b3cb8a1794c15332bde93f2b78199c73.bin +1 -0
  126. package/android/BrotherPrintLibrary/build/.transforms/bb913df08d40846b1bc63945606f217a.bin +2 -0
  127. package/android/BrotherPrintLibrary/build/.transforms/cf1dcc0f016004f76302659fc63c1d4f.bin +1 -0
  128. package/android/BrotherPrintLibrary/build.gradle +2 -0
  129. package/android/build.gradle +2 -0
  130. package/android/local.properties +8 -0
  131. package/android/settings.gradle +1 -0
  132. package/android/src/main/AndroidManifest.xml +12 -0
  133. package/android/src/main/java/jp/rdlabo/capacitor/plugin/brotherprint/BrotherPrint.java +149 -6
  134. package/dist/docs.json +105 -0
  135. package/dist/esm/definitions.d.ts +12 -9
  136. package/dist/esm/definitions.js +1 -0
  137. package/dist/esm/definitions.js.map +1 -1
  138. package/dist/esm/index.d.ts +3 -0
  139. package/dist/esm/index.js +6 -0
  140. package/dist/esm/index.js.map +1 -1
  141. package/dist/esm/web.d.ts +14 -7
  142. package/dist/esm/web.js +15 -18
  143. package/dist/esm/web.js.map +1 -1
  144. package/dist/plugin.cjs.js +43 -0
  145. package/dist/plugin.cjs.js.map +1 -0
  146. package/dist/plugin.js +28 -18
  147. package/dist/plugin.js.map +1 -1
  148. package/ios/Plugin/Plugin.h +0 -1
  149. package/ios/Plugin/Plugin.m +4 -1
  150. package/ios/Plugin/Plugin.swift +150 -7
  151. package/ios/Plugin/module.modulemap +9 -0
  152. package/ios/Plugin.xcodeproj/project.pbxproj +47 -1
  153. package/ios/Plugin.xcodeproj/project.xcworkspace/xcuserdata/sakakibara.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  154. package/ios/Plugin.xcodeproj/xcuserdata/sakakibara.xcuserdatad/xcschemes/xcschememanagement.plist +27 -0
  155. package/ios/Plugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  156. package/ios/Plugin.xcworkspace/xcuserdata/sakakibara.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  157. package/ios/Podfile +2 -1
  158. package/ios/Podfile.lock +8 -1
  159. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/BRLMPrinterKit +0 -0
  160. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/BluetoothViewController.nib +0 -0
  161. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/CutterViewController.nib +0 -0
  162. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/ExtraFeedViewController.nib +0 -0
  163. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/GenericMobileLabelModelPaperSizeViewController.nib +0 -0
  164. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BMSPrinterDriver.h +727 -0
  165. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BMSPrinterKit.h +60 -0
  166. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRCustomPaperInfoCommand.h +107 -0
  167. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMChannel.h +33 -0
  168. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMCustomPaperSize.h +69 -0
  169. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMError.h +25 -0
  170. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMGetStatusError.h +27 -0
  171. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMMWPrintSettings.h +35 -0
  172. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMOpenChannelError.h +27 -0
  173. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPJPrintSettings.h +84 -0
  174. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPJPrintSettingsCustomPaperSize.h +25 -0
  175. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPJPrintSettingsPaperSize.h +35 -0
  176. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPTPrintSettings.h +53 -0
  177. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrintError.h +52 -0
  178. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrintImageSettings.h +77 -0
  179. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrintSettingsProtocol.h +25 -0
  180. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterClassifier.h +31 -0
  181. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterDefine.h +59 -0
  182. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterDriver.h +54 -0
  183. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterDriverGenerator.h +34 -0
  184. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterKit+BRPtouchPrinterKit+BMSPrinterKit.h +18 -0
  185. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterKit.h +32 -0
  186. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterStatus.h +55 -0
  187. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMQLPrintSettings.h +64 -0
  188. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMRJPrintSettings.h +48 -0
  189. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMTDPrintSettings.h +47 -0
  190. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMValidatePrintSettings.h +42 -0
  191. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchBLEManager.h +28 -0
  192. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchBatteryInfo.h +26 -0
  193. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchBluetoothManager.h +59 -0
  194. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchDeviceInfo.h +23 -0
  195. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchLabelInfoStatus.h +119 -0
  196. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchLabelParam.h +27 -0
  197. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchNetworkManager.h +44 -0
  198. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchPrintInfo.h +136 -0
  199. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchPrinter.h +272 -0
  200. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchPrinterData.h +16 -0
  201. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchPrinterKit.h +18 -0
  202. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchPrinterStatus.h +58 -0
  203. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchTemplateInfo.h +23 -0
  204. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/GenericMobileLabelModelPrintSettings.h +211 -0
  205. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/GenericMobileLabelModelPrintSettingsViewController.h +50 -0
  206. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/GenericPocketJetPrintSettings.h +99 -0
  207. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/GenericPocketJetPrintSettingsViewController.h +47 -0
  208. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ673PrintSettings.h +43 -0
  209. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ673PrintSettingsViewController.h +40 -0
  210. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ763MFIPrintSettingsViewController.h +41 -0
  211. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ763MFiPrintSettings.h +45 -0
  212. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ773PrintSettings.h +46 -0
  213. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ773PrintSettingsViewController.h +41 -0
  214. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PrintSettingTableViewController.h +51 -0
  215. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PrintSettings.h +467 -0
  216. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PrintSettingsViewController.h +203 -0
  217. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ2050PrintSettings.h +81 -0
  218. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ2050PrintSettingsViewController.h +42 -0
  219. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ2140PrintSettings.h +81 -0
  220. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ2140PrintSettingsViewController.h +42 -0
  221. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ2150PrintSettings.h +81 -0
  222. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ2150PrintSettingsViewController.h +42 -0
  223. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3050AIPrintSettings.h +81 -0
  224. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3050AiPrintSettingsViewController.h +42 -0
  225. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3050PrintSettings.h +81 -0
  226. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3050PrintSettingsViewController.h +42 -0
  227. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3150AiPrintSettings.h +82 -0
  228. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3150AiPrintSettingsViewController.h +42 -0
  229. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3150PrintSettings.h +82 -0
  230. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3150PrintSettingsViewController.h +42 -0
  231. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4030AiPrintSettings.h +103 -0
  232. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4030AiPrintSettingsViewController.h +41 -0
  233. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4040PrintSettings.h +102 -0
  234. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4040PrintSettingsViewController.h +41 -0
  235. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4230BPrintSettings.h +107 -0
  236. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4230BPrintSettingsViewController.h +42 -0
  237. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4250WBPrintSettings.h +108 -0
  238. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4250WBPrintSettingsViewController.h +42 -0
  239. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/TD2120NPrintSettings.h +83 -0
  240. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/TD2120NPrintSettingsViewController.h +42 -0
  241. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/TD2130NPrintSettings.h +82 -0
  242. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/TD2130NPrintSettingsViewController.h +42 -0
  243. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/TD4550DNWBPrintSettings.h +76 -0
  244. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/TD4550DNWBPrintSettingsViewController.h +42 -0
  245. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/IPAddressHelp.pdf +0 -0
  246. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/IPAddressViewController.nib +0 -0
  247. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Info.plist +0 -0
  248. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/MarginViewController.nib +0 -0
  249. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/PJCustomPaperViewController.nib +0 -0
  250. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/PrintProgressViewControllerWithFilename_BMSSDK~ipad.nib +0 -0
  251. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/PrintProgressViewControllerWithFilename_BMSSDK~iphone.nib +0 -0
  252. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/PrintProgressViewController_BMSSDK~ipad.nib +0 -0
  253. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/PrintProgressViewController_BMSSDK~iphone.nib +0 -0
  254. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/PrinterList.plist +0 -0
  255. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/ThresholdViewController.nib +0 -0
  256. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsj673ad.ptd +0 -0
  257. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bspe55ad.ptd +0 -0
  258. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bspp75ad.ptd +0 -0
  259. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsq71wad.ptd +0 -0
  260. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsq72wad.ptd +0 -0
  261. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr305ad.ptd +0 -0
  262. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr315ad.ptd +0 -0
  263. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr403ad.txt +91 -0
  264. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr403aiad.txt +91 -0
  265. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr404ad.ptd +0 -0
  266. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr404ad.txt +91 -0
  267. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr423ad.txt +666 -0
  268. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr425ad.txt +610 -0
  269. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst212ad.ptd +0 -0
  270. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst213ad.ptd +0 -0
  271. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst40ad.txt +482 -0
  272. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst41nad.txt +310 -0
  273. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst441ad.txt +495 -0
  274. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst442ad.txt +495 -0
  275. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst451ad.txt +495 -0
  276. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst452ad.txt +495 -0
  277. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst455ad.txt +495 -0
  278. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/checkbox_checked.png +0 -0
  279. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/checkbox_unchecked.png +0 -0
  280. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/en.lproj/InfoPlist.strings +0 -0
  281. package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/modulemap/module.modulemap +9 -0
  282. package/ios/Pods/BRLMPrinterKit/LICENSE +19 -0
  283. package/ios/Pods/BRLMPrinterKit/README.md +34 -0
  284. package/ios/Pods/Manifest.lock +8 -1
  285. package/ios/Pods/Pods.xcodeproj/project.pbxproj +274 -155
  286. package/ios/Pods/Pods.xcodeproj/xcuserdata/sakakibara.xcuserdatad/xcschemes/BRLMPrinterKit.xcscheme +60 -0
  287. package/ios/Pods/Pods.xcodeproj/xcuserdata/sakakibara.xcuserdatad/xcschemes/CapacitorCordova.xcscheme +11 -13
  288. package/ios/Pods/Pods.xcodeproj/xcuserdata/sakakibara.xcuserdatad/xcschemes/Pods-Plugin.xcscheme +11 -13
  289. package/ios/Pods/Pods.xcodeproj/xcuserdata/sakakibara.xcuserdatad/xcschemes/Pods-PluginTests.xcscheme +11 -13
  290. package/ios/Pods/Pods.xcodeproj/xcuserdata/sakakibara.xcuserdatad/xcschemes/xcschememanagement.plist +15 -0
  291. package/ios/Pods/Target Support Files/BRLMPrinterKit/BRLMPrinterKit.debug.xcconfig +11 -0
  292. package/ios/Pods/Target Support Files/BRLMPrinterKit/BRLMPrinterKit.release.xcconfig +11 -0
  293. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.markdown +23 -0
  294. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.plist +29 -0
  295. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.debug.xcconfig +3 -2
  296. package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig +3 -2
  297. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.markdown +23 -0
  298. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.plist +29 -0
  299. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh +2 -0
  300. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig +3 -2
  301. package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig +3 -2
  302. package/package.json +29 -16
  303. package/android/.npmignore +0 -1
@@ -0,0 +1,60 @@
1
+ //
2
+ // BMSPrinterKit.h
3
+ // BMSPrinterKit
4
+ //
5
+ // Created by BMS on 9/6/12.
6
+ // Copyright (c) 2012 Brother Mobile Solutions. All rights reserved.
7
+ //
8
+
9
+
10
+ #ifndef REMOVE_BRPTOUCH_SDK
11
+ #import "BRPtouchPrinterKit.h"
12
+ #endif
13
+
14
+ #import "BMSPrinterDriver.h"
15
+
16
+ #import "PrintSettings.h"
17
+ #import "GenericPocketJetPrintSettings.h"
18
+ #import "PJ673PrintSettings.h"
19
+ #import "PJ763MFiPrintSettings.h"
20
+ #import "PJ773PrintSettings.h"
21
+ #import "GenericMobileLabelModelPrintSettings.h"
22
+ #import "RJ4030AiPrintSettings.h"
23
+ #import "RJ4040PrintSettings.h"
24
+ #import "RJ4230BPrintSettings.h"
25
+ #import "RJ4250WBPrintSettings.h"
26
+ #import "RJ3050PrintSettings.h"
27
+ #import "RJ3050AiPrintSettings.h"
28
+ #import "RJ3150PrintSettings.h"
29
+ #import "RJ3150AiPrintSettings.h"
30
+ #import "TD2120NPrintSettings.h"
31
+ #import "TD2130NPrintSettings.h"
32
+ #import "RJ2050PrintSettings.h"
33
+ #import "RJ2140PrintSettings.h"
34
+ #import "RJ2150PrintSettings.h"
35
+ #import "TD4550DNWBPrintSettings.h"
36
+
37
+ #import "PrintSettingsViewController.h"
38
+ #import "GenericPocketJetPrintSettingsViewController.h"
39
+ #import "PJ673PrintSettingsViewController.h"
40
+ #import "PJ763MFiPrintSettingsViewController.h"
41
+ #import "PJ773PrintSettingsViewController.h"
42
+ #import "GenericMobileLabelModelPrintSettingsViewController.h"
43
+ #import "RJ4030AiPrintSettingsViewController.h"
44
+ #import "RJ4040PrintSettingsViewController.h"
45
+ #import "RJ4230BPrintSettingsViewController.h"
46
+ #import "RJ4250WBPrintSettingsViewController.h"
47
+ #import "RJ3050PrintSettingsViewController.h"
48
+ #import "RJ3050AiPrintSettingsViewController.h"
49
+ #import "RJ3150PrintSettingsViewController.h"
50
+ #import "RJ3150AiPrintSettingsViewController.h"
51
+ #import "TD2120NPrintSettingsViewController.h"
52
+ #import "TD2130NPrintSettingsViewController.h"
53
+ #import "RJ2050PrintSettingsViewController.h"
54
+ #import "RJ2140PrintSettingsViewController.h"
55
+ #import "RJ2150PrintSettingsViewController.h"
56
+ #import "TD4550DNWBPrintSettingsViewController.h"
57
+
58
+ @interface BMSPrinterKit : NSObject
59
+
60
+ @end
@@ -0,0 +1,107 @@
1
+ //
2
+ // BRCustomPaperInfoCommand.h
3
+ // BRPtouchPrinterKit
4
+ //
5
+ // Copyright (c) 2018 Brother Industries, Ltd. All rights reserved.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+
10
+ @interface BRCustomPaperInfoCommand : NSObject
11
+
12
+ typedef enum {
13
+ Inch = 1,
14
+ Mm = 2
15
+ }UnitOfLengthParameter;
16
+
17
+ typedef enum {
18
+ Roll = 1,
19
+ DieCut = 2,
20
+ MarkRoll = 3
21
+ }PaperKindParameter;
22
+
23
+ typedef enum {
24
+ InternalError = -1,
25
+ NoErrorParameters = 0,
26
+ // Basic
27
+ TapeWidth = 1,
28
+ TapeLength = 2,
29
+ RightMargin = 3,
30
+ LeftMargin = 4,
31
+ TopMargin = 5,
32
+ BottomMargin = 6,
33
+ LabelPitch = 7,
34
+ MarkPosition = 8,
35
+ MarkHeight = 9,
36
+ DisplayName = 10,
37
+ }ErrorParameterName;
38
+
39
+ typedef enum {
40
+ NoError = 0,
41
+ ExceptionError = 1,
42
+ OverTheUpperLimit = 2,
43
+ BelowTheLowerLimit = 3,
44
+ FailToCreateCommand = 4,
45
+ FailToReadPTDFile = 5,
46
+ }ErrorParameterDetail;
47
+
48
+
49
+ // Basic Settings (readonly)
50
+ @property(nonatomic, strong, readonly) NSString *printerName_;
51
+ @property(readonly) float tapeWidth_;
52
+ @property(readonly) float tapeLength_;
53
+ @property(readonly) float rightMargin_;
54
+ @property(readonly) float leftMagin_;
55
+ @property(readonly) float topMargin_;
56
+ @property(readonly) float bottomMargin_;
57
+ @property(readonly) float labelPitch_;
58
+ @property(readonly) float markPosition_;
59
+ @property(readonly) float markHeight_;
60
+ @property(readonly) UnitOfLengthParameter unitOfLengthParameter_;
61
+ @property(readonly) PaperKindParameter paperKindParameter_;
62
+
63
+ // Advance Settings
64
+ @property(nonatomic, strong) NSString *displayName;
65
+ @property(readwrite) int energyRank;
66
+ @property(readwrite) float dieStartRevPlus;
67
+ @property(readwrite) float dieStartFwdPlus;
68
+ @property(readwrite) float afterFeedPlus;
69
+ @property(readwrite) float mediaSensorSensitivity;
70
+ @property(readwrite) float mediaSensorIntensity;
71
+
72
+ - (id) initWithPrinterNameForRoll: (NSString *) printerName
73
+ tapeWidth: (float) tapeWidth
74
+ rightMargin: (float) rightMargin
75
+ leftMagin: (float) leftMagin
76
+ topMargin: (float) topMargin
77
+ unitOfLength: (UnitOfLengthParameter) unitOfLengthParameter;
78
+
79
+ - (id) initWithPrinterNameForDieCut: (NSString *) printerName
80
+ tapeWidth: (float) tapeWidth
81
+ tapeLength: (float) tapeLength
82
+ rightMargin: (float) rightMargin
83
+ leftMagin: (float) leftMagin
84
+ topMargin: (float) topMargin
85
+ bottomMargin: (float) bottomMargin
86
+ labelPitch: (float) labelPitch
87
+ unitOfLength: (UnitOfLengthParameter) unitOfLengthParameter;
88
+
89
+ - (id) initWithPrinterNameForMarkRoll: (NSString *) printerName
90
+ tapeWidth: (float) tapeWidth
91
+ tapeLength: (float) tapeLength
92
+ rightMargin: (float) rightMargin
93
+ leftMagin: (float) leftMagin
94
+ topMargin: (float) topMargin
95
+ bottomMargin: (float) bottomMargin
96
+ markPosition: (float) markPosition
97
+ markHeight: (float) markHeight
98
+ unitOfLength: (UnitOfLengthParameter) unitOfLengthParameter;
99
+
100
+ - (NSData *) getCustomPaperInfoCommandData: (NSMutableArray **)errorArr;
101
+
102
+ - (NSString *) valueOfErrorParameter:(ErrorParameterName)errorParameterName;
103
+ - (NSString *) valueOfErrorParameterDetail:(ErrorParameterDetail)errorParameterDetail;
104
+
105
+ @end
106
+
107
+
@@ -0,0 +1,33 @@
1
+ //
2
+ // BRLMPrinterAddress.h
3
+ // BRLMPrinterKit
4
+ //
5
+ // Copyright © 2020 Brother Industries, Ltd. All rights reserved.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+ #import "BRLMPrinterDefine.h"
10
+
11
+ // Set the "serialNumber" that can be getting from EAAccessory.
12
+ // Or set the "Bluetooth Address" that can be getting from your printer (*by self-printing and so on).
13
+ // Please note that it is NOT the serial number of your Printer.
14
+ typedef NSString BRLMExternalAccessorySerialNumber;
15
+
16
+
17
+ NS_ASSUME_NONNULL_BEGIN
18
+
19
+ @interface BRLMChannel : NSObject
20
+
21
+ @property (nonatomic, readonly) BRLMChannelType channelType;
22
+ @property (nonatomic, readonly) NSString *channelInfo;
23
+
24
+ - (instancetype)initWithWifiIPAddress:(NSString *)ipAddress;
25
+ - (instancetype)initWithBluetoothSerialNumber:(BRLMExternalAccessorySerialNumber *)serialNumber;
26
+ - (instancetype)initWithBLELocalName:(NSString *)localName;
27
+
28
+ - (instancetype)init __unavailable;
29
+ - (instancetype)copy __unavailable;
30
+
31
+ @end
32
+
33
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,69 @@
1
+ //
2
+ // BRLMCustomPaperSize.h
3
+ // BRLMPrinterKit
4
+ //
5
+ // Copyright © 2020 Brother Industries, Ltd. All rights reserved.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+ #import "BRLMPrintImageSettings.h"
10
+
11
+ NS_ASSUME_NONNULL_BEGIN
12
+
13
+ typedef NS_ENUM(NSInteger, BRLMCustomPaperSizeLengthUnit) {
14
+ BRLMCustomPaperSizeLengthUnitInch,
15
+ BRLMCustomPaperSizeLengthUnitMm,
16
+ // BRLMCustomPaperSizeLengthUnitDot,
17
+ };
18
+
19
+ typedef NS_ENUM(NSInteger, BRLMCustomPaperSizePaperKind) {
20
+ BRLMCustomPaperSizePaperKindRoll,
21
+ BRLMCustomPaperSizePaperKindDieCut,
22
+ BRLMCustomPaperSizePaperKindMarkRoll,
23
+ BRLMCustomPaperSizePaperKindByFile,
24
+ };
25
+
26
+ typedef struct
27
+ {
28
+ CGFloat top;
29
+ CGFloat left;
30
+ CGFloat bottom;
31
+ CGFloat right;
32
+ } BRLMCustomPaperSizeMargins;
33
+ BRLMCustomPaperSizeMargins BRLMCustomPaperSizeMarginsMake(CGFloat top, CGFloat left, CGFloat bottom, CGFloat right);
34
+
35
+ /// immutable
36
+ @interface BRLMCustomPaperSize : NSObject <NSCoding>
37
+
38
+ - (instancetype) initRollWithTapeWidth:(CGFloat) tapeWidth
39
+ margins:(BRLMCustomPaperSizeMargins)margins // disable bottomMargin
40
+ unitOfLength:(BRLMCustomPaperSizeLengthUnit) unit;
41
+
42
+ - (instancetype) initDieCutWithTapeWidth:(CGFloat) tapeWidth
43
+ tapeLength:(CGFloat) tapeLength
44
+ margins:(BRLMCustomPaperSizeMargins)margins
45
+ gapLength:(CGFloat) gapLength
46
+ unitOfLength:(BRLMCustomPaperSizeLengthUnit) unit;
47
+
48
+ - (instancetype) initMarkRollWithTapeWidth:(CGFloat) tapeWidth
49
+ tapeLength:(CGFloat) tapeLength
50
+ margins:(BRLMCustomPaperSizeMargins)margins
51
+ markPosition:(CGFloat) markVerticalOffset
52
+ markHeight:(CGFloat) markLength
53
+ unitOfLength:(BRLMCustomPaperSizeLengthUnit) unit;
54
+
55
+ - (instancetype) initWithFile:(NSURL*)filePath;
56
+
57
+ @property (nonatomic, readonly) BRLMCustomPaperSizePaperKind paperKind;
58
+ @property (nonatomic, nullable, readonly) NSURL *paperBinFilePath;
59
+ @property (nonatomic, readonly) CGFloat tapeWidth;
60
+ @property (nonatomic, readonly) CGFloat tapeLength;
61
+ @property (nonatomic, readonly) BRLMCustomPaperSizeMargins margins;
62
+ @property (nonatomic, readonly) CGFloat gapLength;
63
+ @property (nonatomic, readonly) CGFloat markVerticalOffset;
64
+ @property (nonatomic, readonly) CGFloat markLength;
65
+ @property (nonatomic, readonly) BRLMCustomPaperSizeLengthUnit unit;
66
+
67
+ @end
68
+
69
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,25 @@
1
+ //
2
+ // BRLMError.h
3
+ // BRLMPrinterKit
4
+ //
5
+ // Copyright © 2020 Brother Industries, Ltd. All rights reserved.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+
10
+ NS_ASSUME_NONNULL_BEGIN
11
+
12
+ @interface BRLMError : NSObject
13
+
14
+ - (NSString *)description;
15
+ @property(nonatomic, readonly, copy, nullable) NSString *errorRecoverySuggestion;
16
+
17
+ @property(nonatomic, readonly, copy, nullable) NSDictionary *errorUserInfo;
18
+
19
+
20
+ - (instancetype)init __unavailable;
21
+ - (instancetype)copy __unavailable;
22
+
23
+ @end
24
+
25
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,27 @@
1
+ //
2
+ // BRLMGetStatusError.h
3
+ // BRLMPrinterKit
4
+ //
5
+ // Copyright © 2020 Brother Industries, Ltd. All rights reserved.
6
+ //
7
+
8
+ #import "BRLMError.h"
9
+
10
+ typedef NS_ENUM(NSInteger, BRLMGetStatusErrorCode) {
11
+ BRLMGetStatusErrorCodeNoError,
12
+ BRLMGetStatusErrorCodePrinterNotFound,
13
+ BRLMGetStatusErrorCodeTimeout,
14
+ };
15
+
16
+ NS_ASSUME_NONNULL_BEGIN
17
+
18
+ @interface BRLMGetStatusError : BRLMError
19
+
20
+ @property(nonatomic, readonly) BRLMGetStatusErrorCode code;
21
+
22
+ - (instancetype)init __unavailable;
23
+ - (instancetype)copy __unavailable;
24
+
25
+ @end
26
+
27
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,35 @@
1
+ //
2
+ // BRLMMWPrintSettings.h
3
+ // BRLMPrinterKit
4
+ //
5
+ // Copyright © 2020 Brother Industries, Ltd. All rights reserved.
6
+ //
7
+
8
+ #import "BRLMPrintSettingsProtocol.h"
9
+ #import "BRLMPrintImageSettings.h"
10
+
11
+ #import "BRLMCustomPaperSize.h"
12
+
13
+ typedef float BRLMMWPrintLengthScale;
14
+
15
+
16
+ typedef NS_ENUM(NSInteger, BRLMMWPrintSettingsPaperSize) {
17
+ BRLMMWPrintSettingsPaperSizeA6,
18
+ BRLMMWPrintSettingsPaperSizeA7,
19
+ };
20
+
21
+
22
+ NS_ASSUME_NONNULL_BEGIN
23
+
24
+ @interface BRLMMWPrintSettings : NSObject <NSCoding, BRLMPrintSettingsProtocol, BRLMPrintImageSettings>
25
+
26
+
27
+ @property (nonatomic, readonly) BRLMMWPrintSettingsPaperSize paperSize;
28
+
29
+ // override
30
+ - (nullable instancetype)initDefaultPrintSettingsWithPrinterModel:(BRLMPrinterModel)model;
31
+ - (nullable instancetype)copyWithPrinterModel:(BRLMPrinterModel)model;
32
+ @end
33
+
34
+
35
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,27 @@
1
+ //
2
+ // BRLMOpenChannelError.h
3
+ // BRLMPrinterKit
4
+ //
5
+ // Copyright © 2020 Brother Industries, Ltd. All rights reserved.
6
+ //
7
+
8
+ #import "BRLMError.h"
9
+
10
+ typedef NS_ENUM(NSInteger, BRLMOpenChannelErrorCode) {
11
+ BRLMOpenChannelErrorCodeNoError,
12
+ BRLMOpenChannelErrorCodeOpenStreamFailure,
13
+ BRLMOpenChannelErrorCodeTimeout,
14
+ };
15
+
16
+ NS_ASSUME_NONNULL_BEGIN
17
+
18
+ @interface BRLMOpenChannelError : BRLMError
19
+
20
+ @property(nonatomic, readonly) BRLMOpenChannelErrorCode code;
21
+
22
+ - (instancetype)init __unavailable;
23
+ - (instancetype)copy __unavailable;
24
+
25
+ @end
26
+
27
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,84 @@
1
+ //
2
+ // BRLMPJPrintSettings.h
3
+ // BRLMPrinterKit
4
+ //
5
+ // Copyright © 2020 Brother Industries, Ltd. All rights reserved.
6
+ //
7
+
8
+ #import "BRLMPrintSettingsProtocol.h"
9
+ #import "BRLMPrintImageSettings.h"
10
+
11
+ #import "BRLMPJPrintSettingsPaperSize.h"
12
+
13
+ typedef float BRLMPrintSettingsLengthScale;
14
+
15
+
16
+ typedef NS_ENUM(NSInteger, BRLMPJPrintSettingsPrintSpeed) {
17
+ BRLMPJPrintSettingsPrintSpeed2_5inchPerSec,
18
+ BRLMPJPrintSettingsPrintSpeed1_9inchPerSec,
19
+ BRLMPJPrintSettingsPrintSpeed1_6inchPerSec,
20
+ BRLMPJPrintSettingsPrintSpeed1_1inchPerSec,
21
+ };
22
+
23
+ typedef NS_ENUM(NSInteger, BRLMPJPrintSettingsDensity) {
24
+ BRLMPJPrintSettingsDensityWeakLevel5,
25
+ BRLMPJPrintSettingsDensityWeakLevel4,
26
+ BRLMPJPrintSettingsDensityWeakLevel3,
27
+ BRLMPJPrintSettingsDensityWeakLevel2,
28
+ BRLMPJPrintSettingsDensityWeakLevel1,
29
+ BRLMPJPrintSettingsDensityNeutral,
30
+ BRLMPJPrintSettingsDensityStrongLevel1,
31
+ BRLMPJPrintSettingsDensityStrongLevel2,
32
+ BRLMPJPrintSettingsDensityStrongLevel3,
33
+ BRLMPJPrintSettingsDensityStrongLevel4,
34
+ BRLMPJPrintSettingsDensityStrongLevel5,
35
+ BRLMPJPrintSettingsDensityUsePrinterSetting,
36
+ };
37
+
38
+ typedef NS_ENUM(NSInteger, BRLMPJPrintSettingsFeedMode) {
39
+ BRLMPJPrintSettingsFeedModeNoFeed,
40
+ BRLMPJPrintSettingsFeedModeFixedPage,
41
+ BRLMPJPrintSettingsFeedModeEndOfPage,
42
+ BRLMPJPrintSettingsFeedModeEndOfPageRetract,
43
+ };
44
+
45
+ typedef NS_ENUM(NSInteger, BRLMPJPrintSettingsPaperInsertionPosition) {
46
+ BRLMPJPrintSettingsPaperInsertionPositionLeft,
47
+ BRLMPJPrintSettingsPaperInsertionPositionCenter,
48
+ BRLMPJPrintSettingsPaperInsertionPositionRight,
49
+ };
50
+
51
+ typedef NS_ENUM(NSInteger, BRLMPJPrintSettingsPaperType) {
52
+ BRLMPJPrintSettingsPaperTypeRoll,
53
+ BRLMPJPrintSettingsPaperTypeCutSheet,
54
+ };
55
+
56
+ typedef NS_ENUM(NSInteger, BRLMPJPrintSettingsRollCase) {
57
+ BRLMPJPrintSettingsRollCaseNone,
58
+ BRLMPJPrintSettingsRollCasePARC001_NoAntiCurl,
59
+ BRLMPJPrintSettingsRollCasePARC001,
60
+ };
61
+
62
+
63
+ NS_ASSUME_NONNULL_BEGIN
64
+
65
+ @interface BRLMPJPrintSettings : NSObject <NSCoding, BRLMPrintSettingsProtocol, BRLMPrintImageSettings>
66
+
67
+
68
+ @property (nonatomic) BRLMPJPrintSettingsPaperSize* paperSize;
69
+ @property (nonatomic) BRLMPJPrintSettingsPaperType paperType;
70
+ @property (nonatomic) BRLMPJPrintSettingsPaperInsertionPosition paperInsertionPosition;
71
+ @property (nonatomic) BRLMPJPrintSettingsFeedMode feedMode;
72
+ @property (nonatomic) BRLMPJPrintSettingsDensity density;
73
+ @property (nonatomic) BRLMPJPrintSettingsRollCase rollCase;
74
+ @property (nonatomic) BRLMPJPrintSettingsPrintSpeed printSpeed;
75
+ @property (nonatomic) BOOL usingCarbonCopyPaper;
76
+ @property (nonatomic) BOOL printDashLine;
77
+
78
+ // override
79
+ - (nullable instancetype)initDefaultPrintSettingsWithPrinterModel:(BRLMPrinterModel)model;
80
+ - (nullable instancetype)copyWithPrinterModel:(BRLMPrinterModel)model;
81
+ @end
82
+
83
+
84
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,25 @@
1
+ //
2
+ // BRLMPJPrintSettingsCustomPaperSize.h
3
+ // BRLMPrinterKit
4
+ //
5
+ // Copyright © 2020 Brother Industries, Ltd. All rights reserved.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+
10
+ NS_ASSUME_NONNULL_BEGIN
11
+
12
+ @interface BRLMPJPrintSettingsCustomPaperSize : NSObject <NSCoding>
13
+
14
+ @property (nonatomic, readonly) NSUInteger widthDots;
15
+ @property (nonatomic, readonly) NSUInteger lengthDots;
16
+ @property (nonatomic, readonly) NSUInteger feedDots;
17
+
18
+ - (instancetype)init __unavailable;
19
+ - (instancetype)copy __unavailable;
20
+
21
+ - (instancetype)initWithWidthDots:(NSUInteger)width lengthDots:(NSUInteger)length feedDots:(NSUInteger)feed;
22
+
23
+ @end
24
+
25
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,35 @@
1
+ //
2
+ // BRLMPJPrintSettingsPaperSize.h
3
+ // BRLMPrinterKit
4
+ //
5
+ // Copyright © 2020 Brother Industries, Ltd. All rights reserved.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+
10
+ #import "BRLMPJPrintSettingsCustomPaperSize.h"
11
+
12
+ NS_ASSUME_NONNULL_BEGIN
13
+
14
+ typedef NS_ENUM(NSUInteger, BRLMPJPrintSettingsPaperSizeStandard) {
15
+ BRLMPJPrintSettingsPaperSizeStandardA4,
16
+ BRLMPJPrintSettingsPaperSizeStandardLegal,
17
+ BRLMPJPrintSettingsPaperSizeStandardLetter,
18
+ BRLMPJPrintSettingsPaperSizeStandardA5,
19
+ BRLMPJPrintSettingsPaperSizeStandardCustom, // read only
20
+ };
21
+
22
+ @interface BRLMPJPrintSettingsPaperSize : NSObject <NSCoding>
23
+
24
+ @property (nonatomic, readonly) BRLMPJPrintSettingsPaperSizeStandard paperSizeStandard;
25
+ @property (nonatomic, readonly, nullable) BRLMPJPrintSettingsCustomPaperSize *customPaper;
26
+
27
+ - (instancetype)init __unavailable;
28
+ - (instancetype)copy __unavailable;
29
+
30
+ - (instancetype)initWithPaperSizeStandard:(BRLMPJPrintSettingsPaperSizeStandard) paperSizeStandard;
31
+ - (instancetype)initWithCustomPaper:(BRLMPJPrintSettingsCustomPaperSize *)customPaper;
32
+
33
+ @end
34
+
35
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,53 @@
1
+ //
2
+ // BRLMPTPrintSettings.h
3
+ // BRLMPrinterKit
4
+ //
5
+ // Copyright © 2020 Brother Industries, Ltd. All rights reserved.
6
+ //
7
+
8
+ #import "BRLMPrintSettingsProtocol.h"
9
+ #import "BRLMPrintImageSettings.h"
10
+
11
+ typedef NS_ENUM(NSInteger, BRLMPTPrintSettingsLabelSize) {
12
+ BRLMPTPrintSettingsLabelSizeWidth3_5mm,
13
+ BRLMPTPrintSettingsLabelSizeWidth6mm,
14
+ BRLMPTPrintSettingsLabelSizeWidth9mm,
15
+ BRLMPTPrintSettingsLabelSizeWidth12mm,
16
+ BRLMPTPrintSettingsLabelSizeWidth18mm,
17
+ BRLMPTPrintSettingsLabelSizeWidth24mm,
18
+ BRLMPTPrintSettingsLabelSizeWidth36mm,
19
+ BRLMPTPrintSettingsLabelSizeWidthHS_5_8mm,
20
+ BRLMPTPrintSettingsLabelSizeWidthHS_8_8mm,
21
+ BRLMPTPrintSettingsLabelSizeWidthHS_11_7mm,
22
+ BRLMPTPrintSettingsLabelSizeWidthHS_17_7mm,
23
+ BRLMPTPrintSettingsLabelSizeWidthHS_23_6mm,
24
+ BRLMPTPrintSettingsLabelSizeWidthFL_21x45mm,
25
+ };
26
+
27
+ NS_ASSUME_NONNULL_BEGIN
28
+
29
+ @interface BRLMPTPrintSettings : NSObject <NSCoding, BRLMPrintSettingsProtocol, BRLMPrintImageSettings>
30
+
31
+ @property (nonatomic) BRLMPTPrintSettingsLabelSize labelSize;
32
+ @property (nonatomic) BOOL cutmarkPrint;
33
+ @property (nonatomic) BOOL autoCut;
34
+ @property (nonatomic) BOOL halfCut;
35
+ @property (nonatomic) BOOL chainPrint;
36
+ @property (nonatomic) BOOL specialTapePrint;
37
+ @property (nonatomic) BRLMPrintSettingsResolution resolution;
38
+ /**
39
+ Description : Specify the page number in “cut each # labels”
40
+ Range(#) : 1 - 255
41
+ Default : 1
42
+ */
43
+ @property (nonatomic) UInt8 autoCutForEachPageCount;
44
+ @property (nonatomic) BOOL forceVanishingMargin;
45
+
46
+
47
+ // override
48
+ - (nullable instancetype)initDefaultPrintSettingsWithPrinterModel:(BRLMPrinterModel)model;
49
+ - (nullable instancetype)copyWithPrinterModel:(BRLMPrinterModel)model;
50
+ @end
51
+
52
+
53
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,52 @@
1
+ //
2
+ // BRLMPrintError.h
3
+ // BRLMPrinterKit
4
+ //
5
+ // Copyright © 2020 Brother Industries, Ltd. All rights reserved.
6
+ //
7
+
8
+ #import "BRLMError.h"
9
+
10
+ typedef NS_ENUM(NSInteger, BRLMPrintErrorCode) {
11
+ BRLMPrintErrorCodeNoError,
12
+ BRLMPrintErrorCodePrintSettingsError,
13
+ BRLMPrintErrorCodeFilepathURLError,
14
+ BRLMPrintErrorCodePDFPageError,
15
+ BRLMPrintErrorCodePrintSettingsNotSupportError,
16
+ BRLMPrintErrorCodeDataBufferError,
17
+ BRLMPrintErrorCodePrinterModelError,
18
+ BRLMPrintErrorCodeCanceled,
19
+ BRLMPrintErrorCodeChannelTimeout,
20
+ BRLMPrintErrorCodeSetModelError,
21
+ BRLMPrintErrorCodeUnsupportedFile,
22
+ BRLMPrintErrorCodeSetMarginError,
23
+ BRLMPrintErrorCodeSetLabelSizeError,
24
+ BRLMPrintErrorCodeCustomPaperSizeError,
25
+ BRLMPrintErrorCodeSetLengthError,
26
+ BRLMPrintErrorCodeTubeSettingError,
27
+ BRLMPrintErrorCodeChannelErrorStreamStatusError,
28
+ BRLMPrintErrorCodeChannelErrorUnsupportedChannel,
29
+ BRLMPrintErrorCodePrinterStatusErrorPaperEmpty,
30
+ BRLMPrintErrorCodePrinterStatusErrorCoverOpen,
31
+ BRLMPrintErrorCodePrinterStatusErrorBusy,
32
+ BRLMPrintErrorCodePrinterStatusErrorPrinterTurnedOff,
33
+ BRLMPrintErrorCodePrinterStatusErrorBatteryWeak,
34
+ BRLMPrintErrorCodePrinterStatusErrorExpansionBufferFull,
35
+ BRLMPrintErrorCodePrinterStatusErrorCommunicationError,
36
+ BRLMPrintErrorCodePrinterStatusErrorPaperJam,
37
+ BRLMPrintErrorCodePrinterStatusErrorMediaCannotBeFed,
38
+ BRLMPrintErrorCodePrinterStatusErrorOverHeat,
39
+ BRLMPrintErrorCodePrinterStatusErrorHighVoltageAdapter,
40
+ BRLMPrintErrorCodePrinterStatusErrorUnknownError,
41
+ BRLMPrintErrorCodeUnknownError,
42
+ };
43
+
44
+ NS_ASSUME_NONNULL_BEGIN
45
+
46
+ @interface BRLMPrintError : BRLMError
47
+
48
+ @property(nonatomic, readonly) BRLMPrintErrorCode code;
49
+
50
+ @end
51
+
52
+ NS_ASSUME_NONNULL_END