@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,203 @@
1
+ //
2
+ // PrintSettingsViewController.h
3
+ // BMSPrinterKit
4
+ //
5
+ // Created by BMS on 8/8/12.
6
+ // Copyright (c) 2012 Brother Mobile Solutions. All rights reserved.
7
+ //
8
+ // The PrintSettingsViewController class is the SUPERCLASS of each of the
9
+ // model-specific view controller classes.
10
+ //
11
+ // You should NEVER instantiate an object of this superclass. Instead, instantiate
12
+ // an object of the model-specific subclass, e.g. PJ673PrintSettingsViewController.
13
+
14
+ #import <UIKit/UIKit.h>
15
+ #import "PrintSettings.h"
16
+
17
+ // The following mask constants allow customizing the options available in the PrintSettingsViewController.
18
+ // Combine these using the OR (|) operator to select only the options you want to be available.
19
+ // Set these into the property named "showSettingsOptionMask".
20
+ typedef enum
21
+ {
22
+ // NOTE: Not all options will be available for all printer models.
23
+ // If an unsupported option is added to the mask, it will be ignored.
24
+
25
+ // Printer Connection Settings
26
+ kShowSettingsOption_ChannelType = 0x00000001,
27
+ kShowSettingsOption_IPAddress = 0x00000002,
28
+ kShowSettingsOption_Bluetooth = 0x00000004,
29
+ // Printer-specific settings
30
+ kShowSettingsOption_PaperSize = 0x00000008,
31
+ kShowSettingsOption_PaperType = 0x00000010,
32
+ kShowSettingsOption_FormFeedMode = 0x00000020,
33
+ kShowSettingsOption_ExtraFeed = 0x00000040,
34
+ kShowSettingsOption_Density = 0x00000080,
35
+ // General Settings
36
+ kShowSettingsOption_ScaleMode = 0x00000100,
37
+ kShowSettingsOption_Orientation = 0x00000200,
38
+ kShowSettingsOption_Margins = 0x00000400,
39
+ kShowSettingsOption_Halftone = 0x00000800,
40
+ kShowSettingsOption_Threshold = 0x00001000,
41
+ kShowSettingsOption_Invert = 0x00002000,
42
+
43
+ // PJ7 model-specific settings not handled by above options
44
+ kShowSettingsOption_RollCase = 0x00004000,
45
+ kShowSettingsOption_PrintSpeed = 0x00008000,
46
+
47
+ // RJ42 model-specific settings not handled by above options
48
+ // NOTE: This is now in genericMLM class, but only RJ42 seems to need it.
49
+ kShowSettingsOption_CoolingDelayEnabled = 0x00010000,
50
+
51
+ // TD-4550DNWB model-specific settings not handled by above options
52
+ kShowSettingsOption_Cutter = 0x00020000,
53
+
54
+ // ViewController Settings
55
+ // Normally, the TableView uses 3 sections. However, depending on the combination
56
+ // of settings added, it may look better with only a single section.
57
+ kShowSettingsOption_SingleSection = 0x80000000,
58
+
59
+ } SETTINGS_OPTIONS_MASK;
60
+
61
+ //*********************************************************************
62
+ // PrintSettingsResponder PROTOCOL
63
+ // NOTE: Perhaps a better way to implement this would be using NSNotificationCenter.
64
+ // But, for now we will use with this approach.
65
+ /*
66
+ A class that uses a PrintSettingsViewController is a PrintSettingsResponder.
67
+
68
+ You are required to do 3 things if you implement this protocol:
69
+ --------------------------------------------------------------
70
+ 1. Set the "printSettingsDelegate" property in the PrintSettingsViewController class
71
+ object in order to receive the printSettingsDidChange notification. Since
72
+ each PrintSettingsViewController implements the PrintSettingsSetter protocol, each
73
+ of the model-specific ViewControllers will have this property.
74
+
75
+ 2. Implement the printSettingsDidChange function.
76
+
77
+ 3. Implement the searchingForPrinterDidChange function.
78
+ This is a CRITICAL new callback method for apps that display PrintSettingsVC in a POPOVER control for iPad.
79
+ If user is searching for printers via the IPAddressViewController,
80
+
81
+ SDK Users:
82
+ ---------
83
+ You should implement this protocol if you choose to display any of the
84
+ model-specific PrintSettingsViewControllers built-in to the SDK, but only if you
85
+ care to be notified when any of the settings are changed by the controller,
86
+ -OR- (NEW) if you allow the Search feature to be available and you show the PrintSettingsVC
87
+ in a POPOVER control, to prevent the popover from being dismissed when search is active.
88
+
89
+ For example, you can allow the view controller to change the print settings,
90
+ and you can pass the new settings to the BMSPrinterDriver when you need to
91
+ use them. In this case, you do not need to implement this protocol.
92
+
93
+ However, you may want to "savePreferences" when any of the settings change,
94
+ as the SDK will not do this automatically. In this case, you do need to
95
+ implement this protocol to call the savePreferences API in your implementation
96
+ of the printSettingsDidChange API.
97
+ */
98
+ //*********************************************************************
99
+ @protocol PrintSettingsResponder
100
+ - (void)printSettingsDidChange;
101
+ - (void)searchingForPrinterDidChange:(BOOL)isSearching;
102
+ @end
103
+
104
+
105
+ //*********************************************************************
106
+ // PrintSettingsSetter PROTOCOL
107
+ /*
108
+ A ViewController that modifies print settings is a PrintSettingsSetter.
109
+ It will call the printSettingsDidChange function that will be implemented by the
110
+ object class specified in the printSettingsDelegate property, which is a
111
+ PrintSettingsResponder.
112
+ NOTE: It is OK to set this to "nil" if your class does not want to
113
+ be notified when the settings change.
114
+
115
+ This protocol is for SDK Designers only.
116
+ SDK Users do NOT need to implement this protocol.
117
+ */
118
+ //*********************************************************************
119
+ @protocol PrintSettingsSetter
120
+ @property (assign, nonatomic) id <PrintSettingsResponder> printSettingsDelegate;
121
+ @end
122
+
123
+
124
+ //*********************************************************************
125
+ // PrintSettingsViewController INTERFACE
126
+ //
127
+ // DO NOT INSTANTIATE an object of this class.
128
+ // ALWAYS INSTANTIATE a model-specific object, e.g. PJ673PrintSettingsViewController.
129
+ //
130
+ // This is essentially an ABSTRACT class that does nothing on its own.
131
+ //
132
+ // NOTE: You can use a generic variable of the PrintSettingsViewController class to contain
133
+ // the model-specific instantiation, and this reference which will have access to the
134
+ // following properties/methods.
135
+ //*********************************************************************
136
+ @interface PrintSettingsViewController : UITableViewController <PrintSettingsSetter, PrintSettingsResponder>
137
+ {
138
+ // ivars needed during subclass init, defining here allows subclasses to access ivar directly without setter.
139
+ BOOL _showPrinterSearchButton;
140
+
141
+ // these two will combine constants defined by enum SETTINGS_OPTIONS_MASK
142
+ // They allow ISV to customize the setting options available in the ViewController
143
+ unsigned int _showSettingsOptionMask;
144
+ unsigned int _supportedOptions; // read only, specific for each printer model
145
+ }
146
+
147
+ //*** PrintSettingsSetter protocol
148
+ @property (assign, nonatomic) id <PrintSettingsResponder> printSettingsDelegate;
149
+
150
+ //*** PrintSettingsResponder protocol
151
+ - (void)printSettingsDidChange;
152
+
153
+ //*** The following properties are defined in this super-class so they are available
154
+ // to an APP that stores the printer-specific object into a generic super-class object
155
+ // and then wishes to modify these properties.
156
+ @property (nonatomic, retain) PrintSettings *printSettings;
157
+
158
+ // Allows SDK User to modify the default tableview properties
159
+ @property (nonatomic, assign) CGSize popoverSize;
160
+ @property (nonatomic, assign) int rowHeight;
161
+ @property (nonatomic, assign) int fontSize;
162
+ @property (nonatomic, assign) CGFloat section0HeaderSize;
163
+ @property (nonatomic, assign) CGFloat otherSectionHeaderSize;
164
+ @property (nonatomic, assign) CGFloat sectionFooterSize;
165
+
166
+
167
+
168
+ //*** These 2 properties allow customizing the IPAddressHelpViewController.
169
+ // * showIPAddressHelpButton is passed through to the IPAddressViewController to decide
170
+ // whether to show the Help Button at all.
171
+ // * IPAddressHelpFileName is passed thru to the IPAddressHelpViewController.
172
+ // This allows SDK User to change the Help File displayed, if desired.
173
+ // The file MUST be a "pdf" file (with lower-case file extension in the actual file),
174
+ // and you MUST omit the ".pdf" from the filename specified in this property.
175
+ @property (nonatomic, assign) BOOL showIPAddressHelpButton;
176
+ @property (nonatomic, retain) NSString *IPAddressHelpFileName;
177
+
178
+ // Allows SDK User to modify the settings options displayed in the tableview.
179
+ // c.f. SETTINGS_OPTIONS_MASK enum for these two properties!
180
+ @property (nonatomic, assign) unsigned int showSettingsOptionMask;
181
+ // READONLY property. Value will be set by the subclass. SDK User can NOT change it.
182
+ @property (readonly, nonatomic, assign) unsigned int supportedOptions;
183
+
184
+ // By default, the Search button will be available on the IPAddressViewController for all models EXCEPT PJ673,
185
+ // which does not support the search feature. This property allows SDK user to hide the search button if desired.
186
+ // NOTE: This same property is used for the Search button on the BluetoothViewController too!!
187
+ @property (nonatomic, assign) BOOL showPrinterSearchButton;
188
+ // New in SDK 2.1.1. Default is YES, which means that an IPv6 address format will be returned by the
189
+ // "IPAddress Search" instead of IPv4 format, but only if IPv6 address is available. It will only be
190
+ // available when connected by Infrastructure Mode to an IPv6-only network, which is not a typical use mode.
191
+ // If for some reason you don't want this behavior, i.e. you only want to see IPv4 formatted addresses,
192
+ // this property is provided to allow you to override the default behavior. However, beware that Apple
193
+ // **MAY** require the IPv6 format address, based on their new (June 1, 2016) IPv6 policy.
194
+ @property (nonatomic, assign) BOOL showIPv6AddressIfAvailable;
195
+
196
+
197
+
198
+ // NOTE: subclasses MUST set these in their init method to model-specific values
199
+ @property (nonatomic, retain) NSString *mainTitle; // ViewController title
200
+ @property (nonatomic, retain) NSString *section1Title; // main TableView section1 title
201
+
202
+ @end
203
+
@@ -0,0 +1,81 @@
1
+ //
2
+ // RJ2050PrintSettings.h
3
+ // BMSPrinterKit
4
+ //
5
+ // Created by BMS on 9/6/16.
6
+ // Copyright (c) 2016 Brother Mobile Solutions. All rights reserved.
7
+ //
8
+
9
+ #import "GenericMobileLabelModelPrintSettings.h"
10
+
11
+
12
+ @interface RJ2050PrintSettings : GenericMobileLabelModelPrintSettings <PrintSettingsDelegate>
13
+
14
+ // These definitions are provided for information only. DO NOT MODIFY!
15
+ // spec section 4.3.1 Resolution
16
+ #define RJ2050_RESOLUTION_HORZ 203
17
+ #define RJ2050_RESOLUTION_VERT 203
18
+ // spec section 4.3.6 Raster Line
19
+ #define RJ2050_HEADSIZEDOTS 432
20
+ // spec section "Select compression mode" command
21
+ // NOTE: This should be same as HEADSIZEDOTS/8. And, it should be same as the # of decompressed bytes.
22
+ #define RJ2050_MAX_COMPRESS_LENGTH 54
23
+
24
+ // NOT in spec. *** Used Windows Printer Driver as reference ***
25
+ // NOTE: MAXPAPERWIDTH DOES exceed HEADSIZEDOTS!!
26
+ #define RJ2050_MIN_PAPERWIDTHDOTS (0.47F * RJ2050_RESOLUTION_HORZ) // 95
27
+ #define RJ2050_MAX_PAPERWIDTHDOTS (2.28F * RJ2050_RESOLUTION_HORZ) // 462.
28
+ // spec section 4.3.4 Maximum and Minimum Lengths
29
+ #define RJ2050_MIN_PAPERLENGTHDOTS 96
30
+ #define RJ2050_MAX_PAPERLENGTHDOTS 7992
31
+ // spec section 4.3.3 Feed Amount
32
+ #ifdef OLD
33
+ // IMPORTANT NOTE: For LABEL papertype ONLY, we allow the MIN marginlengthdots to be set to 0.
34
+ // That is, this MIN value here is ignored when papertype = label is specified.
35
+ // Consider the case of a 1.0x0.5" label. A min margin of 0.12" will take up half of the printable length!!
36
+ // This is why we will allow the margin to be set to 0 in this case.
37
+ // Beware that some labels might clip the top if this is set to 0. But, other settings can be tweaked to
38
+ // make it work (such as by setting a larger paperlength and setting the top margin to non-zero.)
39
+ #define RJ2050_MIN_MARGINLENGTHDOTS 24
40
+
41
+ #else
42
+ // Allow 0 now for continuous roll too, as the Esc iUw command generated from this can affect AirPrint.
43
+ // However, if this is 0, then the Esc id command will send 0 too. And, the printer may not eject the page
44
+ // enough at the end. So, I am introducing the MIN_PAGEFEEDDOTS definition now, so that if current marginLengthDots
45
+ // is LESS than MIN_PAGEFEEDDOTS, we will send Esc id command using the MIN_PAGEFEEDDOTS value instead.
46
+ // Otherwise, the Esc id command will use the marginLengthDots value as it has in the past.
47
+ //
48
+ // NOTE: If this occurs, the final paper length after tear off will be up to 1/4" longer than the
49
+ // specified paperLengthDots, because the print data will be (up to) the entire paper length, and then the
50
+ // PAGEFEEDDOTS will be added to the final paper length. If you need a specific paperlength, then make sure
51
+ // that marginLengthDots is >= MIN_PAGEFEEDDOTS.
52
+ //
53
+ #define RJ2050_MIN_MARGINLENGTHDOTS 0
54
+ // v2.3.0 UPDATE: Instead of forcing this MIN_PAGEFEEDDOTS value on EVERY page, which essentially PREVENTS a "no gap"
55
+ // solution if the FW actually supports it, now we only force it on the LAST page, allowing a 0-margin between pages
56
+ // in case the FW allows it. But, we will force this on the LAST page, to assure the FW will eject the page to tear off
57
+ // in case it doesn't automatically behave that way.
58
+ #define RJ2050_MIN_PAGEFEEDDOTS_LASTPAGE 24
59
+
60
+ #endif
61
+
62
+ #define RJ2050_MAX_MARGINLENGTHDOTS 1015
63
+ // Arbitrarily restrict extraFeed to 11" at 203 dpi. There is no reason to be larger.
64
+ #define RJ2050_MAX_EXTRAFEEDDOTS (11*RJ2050_RESOLUTION_VERT)
65
+
66
+ //*** IMPORTANT ***
67
+ // SDK Users:
68
+ // You should NEVER instantiate an object of the GenericMobileLabelModelPrintSettings class.
69
+ // Instead, you should instantiate one of the model-specific subclasses (i.e. RJ2050PrintSettings).
70
+ //
71
+ // For a list of important properties in the settings that your application needs to set,
72
+ // refer to the GenericMobileLabelModelPrintSettings superclass.
73
+
74
+ // SDK Designers:
75
+ // The GenericMobileLabelModelPrintSettings class handles all the important work.
76
+ // This subclass only needs to provide the model-specific data to the generic class.
77
+
78
+ //*** ADDITIONAL PROPERTIES not handled by GenericMobileLabelModelPrintSettings
79
+ @property (nonatomic, assign) BOOL invert180degrees;
80
+
81
+ @end
@@ -0,0 +1,42 @@
1
+ //
2
+ // RJ2050PrintSettingsViewController.h
3
+ // BMSPrinterKit
4
+ //
5
+ // Created by BMS on 9/6/16.
6
+ // Copyright (c) 2016 Brother Mobile Solutions. All rights reserved.
7
+ //
8
+
9
+ #import "GenericMobileLabelModelPrintSettingsViewController.h"
10
+ #import "RJ2050PrintSettings.h"
11
+
12
+ // This is the DEFAULT popup contentSize for RJ2050PrintSettingsViewController.
13
+ //
14
+ // You can override this by setting the "popoverSize" property (defined in the
15
+ // PrintSettingsViewController superclass) to something different
16
+ // before showing the ViewController.
17
+ //
18
+ // The popoverSize setting will be propagated to all of the "child" ViewControllers
19
+ // of the main ViewController so all of the detail views will be the SAME size as each other.
20
+ //
21
+ // NOTE: iPad1 and iPad2 size = 1024 x 768, iPad3 = 2048 x 1536
22
+ //#define RJ2050POPUPCONTENTSIZE CGSizeMake(400,480)
23
+ #define RJ2050POPUPCONTENTSIZE CGSizeMake(400,548)
24
+ #define RJ2050POPUPCONTENTSIZE_IOS7 CGSizeMake(400,588)
25
+
26
+
27
+ /*
28
+ This class is a subclass of GenericMobileLabelModelPrintSettingsViewController,
29
+ which implements all the major functionality.
30
+
31
+ *** SDK Users:
32
+ DO NOT INSTANTIATE an instance of GenericMobileLabelModelPrintSettingsViewController.
33
+ Always instantiate a model-specific class, e.g. RJ2050PrintSettingsViewController
34
+ */
35
+
36
+ @interface RJ2050PrintSettingsViewController : GenericMobileLabelModelPrintSettingsViewController
37
+ {
38
+ }
39
+
40
+ @end
41
+
42
+
@@ -0,0 +1,81 @@
1
+ //
2
+ // RJ2140PrintSettings.h
3
+ // BMSPrinterKit
4
+ //
5
+ // Created by BMS on 9/6/16.
6
+ // Copyright (c) 2016 Brother Mobile Solutions. All rights reserved.
7
+ //
8
+
9
+ #import "GenericMobileLabelModelPrintSettings.h"
10
+
11
+
12
+ @interface RJ2140PrintSettings : GenericMobileLabelModelPrintSettings <PrintSettingsDelegate>
13
+
14
+ // These definitions are provided for information only. DO NOT MODIFY!
15
+ // spec section 4.3.1 Resolution
16
+ #define RJ2140_RESOLUTION_HORZ 203
17
+ #define RJ2140_RESOLUTION_VERT 203
18
+ // spec section 4.3.6 Raster Line
19
+ #define RJ2140_HEADSIZEDOTS 432
20
+ // spec section "Select compression mode" command
21
+ // NOTE: This should be same as HEADSIZEDOTS/8. And, it should be same as the # of decompressed bytes.
22
+ #define RJ2140_MAX_COMPRESS_LENGTH 54
23
+
24
+ // NOT in spec. *** Used Windows Printer Driver as reference ***
25
+ // NOTE: MAXPAPERWIDTH DOES exceed HEADSIZEDOTS!!
26
+ #define RJ2140_MIN_PAPERWIDTHDOTS (0.47F * RJ2140_RESOLUTION_HORZ) // 95
27
+ #define RJ2140_MAX_PAPERWIDTHDOTS (2.28F * RJ2140_RESOLUTION_HORZ) // 462.
28
+ // spec section 4.3.4 Maximum and Minimum Lengths
29
+ #define RJ2140_MIN_PAPERLENGTHDOTS 96
30
+ #define RJ2140_MAX_PAPERLENGTHDOTS 7992
31
+ // spec section 4.3.3 Feed Amount
32
+ #ifdef OLD
33
+ // IMPORTANT NOTE: For LABEL papertype ONLY, we allow the MIN marginlengthdots to be set to 0.
34
+ // That is, this MIN value here is ignored when papertype = label is specified.
35
+ // Consider the case of a 1.0x0.5" label. A min margin of 0.12" will take up half of the printable length!!
36
+ // This is why we will allow the margin to be set to 0 in this case.
37
+ // Beware that some labels might clip the top if this is set to 0. But, other settings can be tweaked to
38
+ // make it work (such as by setting a larger paperlength and setting the top margin to non-zero.)
39
+ #define RJ2140_MIN_MARGINLENGTHDOTS 24
40
+
41
+ #else
42
+ // Allow 0 now for continuous roll too, as the Esc iUw command generated from this can affect AirPrint.
43
+ // However, if this is 0, then the Esc id command will send 0 too. And, the printer may not eject the page
44
+ // enough at the end. So, I am introducing the MIN_PAGEFEEDDOTS definition now, so that if current marginLengthDots
45
+ // is LESS than MIN_PAGEFEEDDOTS, we will send Esc id command using the MIN_PAGEFEEDDOTS value instead.
46
+ // Otherwise, the Esc id command will use the marginLengthDots value as it has in the past.
47
+ //
48
+ // NOTE: If this occurs, the final paper length after tear off will be up to 1/4" longer than the
49
+ // specified paperLengthDots, because the print data will be (up to) the entire paper length, and then the
50
+ // PAGEFEEDDOTS will be added to the final paper length. If you need a specific paperlength, then make sure
51
+ // that marginLengthDots is >= MIN_PAGEFEEDDOTS.
52
+
53
+ #define RJ2140_MIN_MARGINLENGTHDOTS 0
54
+ // v2.3.0 UPDATE: Instead of forcing this MIN_PAGEFEEDDOTS value on EVERY page, which essentially PREVENTS a "no gap"
55
+ // solution if the FW actually supports it, now we only force it on the LAST page, allowing a 0-margin between pages
56
+ // in case the FW allows it. But, we will force this on the LAST page, to assure the FW will eject the page to tear off
57
+ // in case it doesn't automatically behave that way.
58
+ #define RJ2140_MIN_PAGEFEEDDOTS_LASTPAGE 24
59
+
60
+ #endif
61
+
62
+ #define RJ2140_MAX_MARGINLENGTHDOTS 1015
63
+ // Arbitrarily restrict extraFeed to 11" at 203 dpi. There is no reason to be larger.
64
+ #define RJ2140_MAX_EXTRAFEEDDOTS (11*RJ2140_RESOLUTION_VERT)
65
+
66
+ //*** IMPORTANT ***
67
+ // SDK Users:
68
+ // You should NEVER instantiate an object of the GenericMobileLabelModelPrintSettings class.
69
+ // Instead, you should instantiate one of the model-specific subclasses (i.e. RJ2140PrintSettings).
70
+ //
71
+ // For a list of important properties in the settings that your application needs to set,
72
+ // refer to the GenericMobileLabelModelPrintSettings superclass.
73
+
74
+ // SDK Designers:
75
+ // The GenericMobileLabelModelPrintSettings class handles all the important work.
76
+ // This subclass only needs to provide the model-specific data to the generic class.
77
+
78
+ //*** ADDITIONAL PROPERTIES not handled by GenericMobileLabelModelPrintSettings
79
+ @property (nonatomic, assign) BOOL invert180degrees;
80
+
81
+ @end
@@ -0,0 +1,42 @@
1
+ //
2
+ // RJ2140PrintSettingsViewController.h
3
+ // BMSPrinterKit
4
+ //
5
+ // Created by BMS on 9/6/16.
6
+ // Copyright (c) 2016 Brother Mobile Solutions. All rights reserved.
7
+ //
8
+
9
+ #import "GenericMobileLabelModelPrintSettingsViewController.h"
10
+ #import "RJ2140PrintSettings.h"
11
+
12
+ // This is the DEFAULT popup contentSize for RJ2140PrintSettingsViewController.
13
+ //
14
+ // You can override this by setting the "popoverSize" property (defined in the
15
+ // PrintSettingsViewController superclass) to something different
16
+ // before showing the ViewController.
17
+ //
18
+ // The popoverSize setting will be propagated to all of the "child" ViewControllers
19
+ // of the main ViewController so all of the detail views will be the SAME size as each other.
20
+ //
21
+ // NOTE: iPad1 and iPad2 size = 1024 x 768, iPad3 = 2048 x 1536
22
+ //#define RJ2140POPUPCONTENTSIZE CGSizeMake(400,480)
23
+ #define RJ2140POPUPCONTENTSIZE CGSizeMake(400,548)
24
+ #define RJ2140POPUPCONTENTSIZE_IOS7 CGSizeMake(400,588)
25
+
26
+
27
+ /*
28
+ This class is a subclass of GenericMobileLabelModelPrintSettingsViewController,
29
+ which implements all the major functionality.
30
+
31
+ *** SDK Users:
32
+ DO NOT INSTANTIATE an instance of GenericMobileLabelModelPrintSettingsViewController.
33
+ Always instantiate a model-specific class, e.g. RJ2140PrintSettingsViewController
34
+ */
35
+
36
+ @interface RJ2140PrintSettingsViewController : GenericMobileLabelModelPrintSettingsViewController
37
+ {
38
+ }
39
+
40
+ @end
41
+
42
+
@@ -0,0 +1,81 @@
1
+ //
2
+ // RJ2150PrintSettings.h
3
+ // BMSPrinterKit
4
+ //
5
+ // Created by BMS on 9/6/16.
6
+ // Copyright (c) 2016 Brother Mobile Solutions. All rights reserved.
7
+ //
8
+
9
+ #import "GenericMobileLabelModelPrintSettings.h"
10
+
11
+
12
+ @interface RJ2150PrintSettings : GenericMobileLabelModelPrintSettings <PrintSettingsDelegate>
13
+
14
+ // These definitions are provided for information only. DO NOT MODIFY!
15
+ // spec section 4.3.1 Resolution
16
+ #define RJ2150_RESOLUTION_HORZ 203
17
+ #define RJ2150_RESOLUTION_VERT 203
18
+ // spec section 4.3.6 Raster Line
19
+ #define RJ2150_HEADSIZEDOTS 432
20
+ // spec section "Select compression mode" command
21
+ // NOTE: This should be same as HEADSIZEDOTS/8. And, it should be same as the # of decompressed bytes.
22
+ #define RJ2150_MAX_COMPRESS_LENGTH 54
23
+
24
+ // NOT in spec. *** Used Windows Printer Driver as reference ***
25
+ // NOTE: MAXPAPERWIDTH DOES exceed HEADSIZEDOTS!!
26
+ #define RJ2150_MIN_PAPERWIDTHDOTS (0.47F * RJ2150_RESOLUTION_HORZ) // 95
27
+ #define RJ2150_MAX_PAPERWIDTHDOTS (2.28F * RJ2150_RESOLUTION_HORZ) // 462.
28
+ // spec section 4.3.4 Maximum and Minimum Lengths
29
+ #define RJ2150_MIN_PAPERLENGTHDOTS 96
30
+ #define RJ2150_MAX_PAPERLENGTHDOTS 7992
31
+ // spec section 4.3.3 Feed Amount
32
+ #ifdef OLD
33
+ // IMPORTANT NOTE: For LABEL papertype ONLY, we allow the MIN marginlengthdots to be set to 0.
34
+ // That is, this MIN value here is ignored when papertype = label is specified.
35
+ // Consider the case of a 1.0x0.5" label. A min margin of 0.12" will take up half of the printable length!!
36
+ // This is why we will allow the margin to be set to 0 in this case.
37
+ // Beware that some labels might clip the top if this is set to 0. But, other settings can be tweaked to
38
+ // make it work (such as by setting a larger paperlength and setting the top margin to non-zero.)
39
+ #define RJ2150_MIN_MARGINLENGTHDOTS 24
40
+
41
+ #else
42
+ // Allow 0 now for continuous roll too, as the Esc iUw command generated from this can affect AirPrint.
43
+ // However, if this is 0, then the Esc id command will send 0 too. And, the printer may not eject the page
44
+ // enough at the end. So, I am introducing the MIN_PAGEFEEDDOTS definition now, so that if current marginLengthDots
45
+ // is LESS than MIN_PAGEFEEDDOTS, we will send Esc id command using the MIN_PAGEFEEDDOTS value instead.
46
+ // Otherwise, the Esc id command will use the marginLengthDots value as it has in the past.
47
+ //
48
+ // NOTE: If this occurs, the final paper length after tear off will be up to 1/4" longer than the
49
+ // specified paperLengthDots, because the print data will be (up to) the entire paper length, and then the
50
+ // PAGEFEEDDOTS will be added to the final paper length. If you need a specific paperlength, then make sure
51
+ // that marginLengthDots is >= MIN_PAGEFEEDDOTS.
52
+
53
+ #define RJ2150_MIN_MARGINLENGTHDOTS 0
54
+ // v2.3.0 UPDATE: Instead of forcing this MIN_PAGEFEEDDOTS value on EVERY page, which essentially PREVENTS a "no gap"
55
+ // solution if the FW actually supports it, now we only force it on the LAST page, allowing a 0-margin between pages
56
+ // in case the FW allows it. But, we will force this on the LAST page, to assure the FW will eject the page to tear off
57
+ // in case it doesn't automatically behave that way.
58
+ #define RJ2150_MIN_PAGEFEEDDOTS_LASTPAGE 24
59
+
60
+ #endif
61
+
62
+ #define RJ2150_MAX_MARGINLENGTHDOTS 1015
63
+ // Arbitrarily restrict extraFeed to 11" at 203 dpi. There is no reason to be larger.
64
+ #define RJ2150_MAX_EXTRAFEEDDOTS (11*RJ2150_RESOLUTION_VERT)
65
+
66
+ //*** IMPORTANT ***
67
+ // SDK Users:
68
+ // You should NEVER instantiate an object of the GenericMobileLabelModelPrintSettings class.
69
+ // Instead, you should instantiate one of the model-specific subclasses (i.e. RJ2150PrintSettings).
70
+ //
71
+ // For a list of important properties in the settings that your application needs to set,
72
+ // refer to the GenericMobileLabelModelPrintSettings superclass.
73
+
74
+ // SDK Designers:
75
+ // The GenericMobileLabelModelPrintSettings class handles all the important work.
76
+ // This subclass only needs to provide the model-specific data to the generic class.
77
+
78
+ //*** ADDITIONAL PROPERTIES not handled by GenericMobileLabelModelPrintSettings
79
+ @property (nonatomic, assign) BOOL invert180degrees;
80
+
81
+ @end
@@ -0,0 +1,42 @@
1
+ //
2
+ // RJ2150PrintSettingsViewController.h
3
+ // BMSPrinterKit
4
+ //
5
+ // Created by BMS on 9/6/16.
6
+ // Copyright (c) 2016 Brother Mobile Solutions. All rights reserved.
7
+ //
8
+
9
+ #import "GenericMobileLabelModelPrintSettingsViewController.h"
10
+ #import "RJ2150PrintSettings.h"
11
+
12
+ // This is the DEFAULT popup contentSize for RJ2150PrintSettingsViewController.
13
+ //
14
+ // You can override this by setting the "popoverSize" property (defined in the
15
+ // PrintSettingsViewController superclass) to something different
16
+ // before showing the ViewController.
17
+ //
18
+ // The popoverSize setting will be propagated to all of the "child" ViewControllers
19
+ // of the main ViewController so all of the detail views will be the SAME size as each other.
20
+ //
21
+ // NOTE: iPad1 and iPad2 size = 1024 x 768, iPad3 = 2048 x 1536
22
+ //#define RJ2150POPUPCONTENTSIZE CGSizeMake(400,480)
23
+ #define RJ2150POPUPCONTENTSIZE CGSizeMake(400,548)
24
+ #define RJ2150POPUPCONTENTSIZE_IOS7 CGSizeMake(400,588)
25
+
26
+
27
+ /*
28
+ This class is a subclass of GenericMobileLabelModelPrintSettingsViewController,
29
+ which implements all the major functionality.
30
+
31
+ *** SDK Users:
32
+ DO NOT INSTANTIATE an instance of GenericMobileLabelModelPrintSettingsViewController.
33
+ Always instantiate a model-specific class, e.g. RJ2150PrintSettingsViewController
34
+ */
35
+
36
+ @interface RJ2150PrintSettingsViewController : GenericMobileLabelModelPrintSettingsViewController
37
+ {
38
+ }
39
+
40
+ @end
41
+
42
+
@@ -0,0 +1,81 @@
1
+ //
2
+ // RJ3050AiPrintSettings.h
3
+ // BMSPrinterKit
4
+ //
5
+ // Created by BMS on 9/12/12.
6
+ // Copyright (c) 2012 Brother Mobile Solutions. All rights reserved.
7
+ //
8
+
9
+ #import "GenericMobileLabelModelPrintSettings.h"
10
+
11
+
12
+ @interface RJ3050AiPrintSettings : GenericMobileLabelModelPrintSettings <PrintSettingsDelegate>
13
+
14
+ // These definitions are provided for information only. DO NOT MODIFY!
15
+ // spec section 4.3.1 Resolution
16
+ #define RJ3050Ai_RESOLUTION_HORZ 203
17
+ #define RJ3050Ai_RESOLUTION_VERT 203
18
+ // spec section 4.3.6 Raster Line
19
+ #define RJ3050Ai_HEADSIZEDOTS 576
20
+ // spec section "Select compression mode" command
21
+ // NOTE: This should be same as HEADSIZEDOTS/8. And, it should be same as the # of decompressed bytes.
22
+ #define RJ3050Ai_MAX_COMPRESS_LENGTH 72
23
+
24
+ // NOT in spec. *** Used Windows Printer Driver as reference ***
25
+ // NOTE: MAXPAPERWIDTH DOES exceed HEADSIZEDOTS!!
26
+ #define RJ3050Ai_MIN_PAPERWIDTHDOTS (0.47F * RJ3050Ai_RESOLUTION_HORZ) // 95
27
+ #define RJ3050Ai_MAX_PAPERWIDTHDOTS (3.15F * RJ3050Ai_RESOLUTION_HORZ) // 639.
28
+ // spec section 4.3.4 Maximum and Minimum Lengths
29
+ #define RJ3050Ai_MIN_PAPERLENGTHDOTS 96
30
+ #define RJ3050Ai_MAX_PAPERLENGTHDOTS 7992
31
+ // spec section 4.3.3 Feed Amount
32
+ #ifdef OLD
33
+ // IMPORTANT NOTE: For LABEL papertype ONLY, we allow the MIN marginlengthdots to be set to 0.
34
+ // That is, this MIN value here is ignored when papertype = label is specified.
35
+ // Consider the case of a 1.0x0.5" label. A min margin of 0.12" will take up half of the printable length!!
36
+ // This is why we will allow the margin to be set to 0 in this case.
37
+ // Beware that some labels might clip the top if this is set to 0. But, other settings can be tweaked to
38
+ // make it work (such as by setting a larger paperlength and setting the top margin to non-zero.)
39
+ #define RJ3050Ai_MIN_MARGINLENGTHDOTS 24
40
+
41
+ #else
42
+ // Allow 0 now for continuous roll too, as the Esc iUw command generated from this can affect AirPrint.
43
+ // However, if this is 0, then the Esc id command will send 0 too. And, the printer may not eject the page
44
+ // enough at the end. So, I am introducing the MIN_PAGEFEEDDOTS definition now, so that if current marginLengthDots
45
+ // is LESS than MIN_PAGEFEEDDOTS, we will send Esc id command using the MIN_PAGEFEEDDOTS value instead.
46
+ // Otherwise, the Esc id command will use the marginLengthDots value as it has in the past.
47
+ //
48
+ // NOTE: If this occurs, the final paper length after tear off will be up to 1/4" longer than the
49
+ // specified paperLengthDots, because the print data will be (up to) the entire paper length, and then the
50
+ // PAGEFEEDDOTS will be added to the final paper length. If you need a specific paperlength, then make sure
51
+ // that marginLengthDots is >= MIN_PAGEFEEDDOTS.
52
+
53
+ #define RJ3050Ai_MIN_MARGINLENGTHDOTS 0
54
+ // v2.3.0 UPDATE: Instead of forcing this MIN_PAGEFEEDDOTS value on EVERY page, which essentially PREVENTS a "no gap"
55
+ // solution if the FW actually supports it, now we only force it on the LAST page, allowing a 0-margin between pages
56
+ // in case the FW allows it. But, we will force this on the LAST page, to assure the FW will eject the page to tear off
57
+ // in case it doesn't automatically behave that way.
58
+ #define RJ3050Ai_MIN_PAGEFEEDDOTS_LASTPAGE 24
59
+
60
+ #endif
61
+
62
+ #define RJ3050Ai_MAX_MARGINLENGTHDOTS 1015
63
+ // Arbitrarily restrict extraFeed to 11" at 203 dpi. There is no reason to be larger.
64
+ #define RJ3050Ai_MAX_EXTRAFEEDDOTS (11*RJ3050Ai_RESOLUTION_VERT)
65
+
66
+ //*** IMPORTANT ***
67
+ // SDK Users:
68
+ // You should NEVER instantiate an object of the GenericMobileLabelModelPrintSettings class.
69
+ // Instead, you should instantiate one of the model-specific subclasses (i.e. RJ3050AiPrintSettings).
70
+ //
71
+ // For a list of important properties in the settings that your application needs to set,
72
+ // refer to the GenericMobileLabelModelPrintSettings superclass.
73
+
74
+ // SDK Designers:
75
+ // The GenericMobileLabelModelPrintSettings class handles all the important work.
76
+ // This subclass only needs to provide the model-specific data to the generic class.
77
+
78
+ //*** ADDITIONAL PROPERTIES not handled by GenericMobileLabelModelPrintSettings
79
+ @property (nonatomic, assign) BOOL invert180degrees;
80
+
81
+ @end