@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.
- package/README.md +97 -0
- package/RdlaboCapacitorBrotherprint.podspec +8 -2
- package/android/.gradle/5.6.4/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/5.6.4/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/5.6.4/fileChanges/last-build.bin +0 -0
- package/android/.gradle/5.6.4/fileContent/fileContent.lock +0 -0
- package/android/.gradle/5.6.4/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/5.6.4/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/5.6.4/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/5.6.4/gc.properties +0 -0
- package/android/.gradle/5.6.4/javaCompile/classAnalysis.bin +0 -0
- package/android/.gradle/5.6.4/javaCompile/jarAnalysis.bin +0 -0
- package/android/.gradle/5.6.4/javaCompile/javaCompile.lock +0 -0
- package/android/.gradle/5.6.4/javaCompile/taskHistory.bin +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/caches/build_file_checksums.ser +0 -0
- package/android/.idea/codeStyles/Project.xml +116 -0
- package/android/.idea/gradle.xml +22 -0
- package/android/.idea/jarRepositories.xml +30 -0
- package/android/.idea/libraries/Gradle__androidx_activity_activity_1_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_annotation_annotation_1_1_0_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_1_1_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_appcompat_appcompat_resources_1_1_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_arch_core_core_common_2_1_0_jar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_arch_core_core_runtime_2_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_browser_browser_1_2_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_cardview_cardview_1_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_collection_collection_1_1_0_jar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_coordinatorlayout_coordinatorlayout_1_1_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_core_core_1_2_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_cursoradapter_cursoradapter_1_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_customview_customview_1_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_documentfile_documentfile_1_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_drawerlayout_drawerlayout_1_0_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_exifinterface_exifinterface_1_2_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_fragment_fragment_1_1_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_interpolator_interpolator_1_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_legacy_legacy_support_core_utils_1_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_common_2_1_0_jar.xml +11 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_2_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_livedata_core_2_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_runtime_2_1_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_lifecycle_lifecycle_viewmodel_2_1_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_localbroadcastmanager_localbroadcastmanager_1_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_print_print_1_0_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_recyclerview_recyclerview_1_1_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_savedstate_savedstate_1_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_test_core_1_2_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_test_espresso_espresso_core_3_2_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_test_espresso_espresso_idling_resource_3_2_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_test_ext_junit_1_1_1_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_test_monitor_1_2_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_test_runner_1_2_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__androidx_transition_transition_1_2_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_1_1_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_vectordrawable_vectordrawable_animated_1_1_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_versionedparcelable_versionedparcelable_1_1_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__androidx_viewpager2_viewpager2_1_0_0_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__androidx_viewpager_viewpager_1_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__artifacts_BrotherPrintLibrary_unspecified_jar.xml +11 -0
- package/android/.idea/libraries/Gradle__com_google_android_datatransport_transport_api_2_2_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__com_google_android_datatransport_transport_backend_cct_2_2_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__com_google_android_datatransport_transport_runtime_2_2_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_base_17_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_basement_17_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_location_17_0_0_aar.xml +10 -0
- package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_places_placereport_17_0_0_aar.xml +10 -0
- package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_stats_17_0_0_aar.xml +10 -0
- package/android/.idea/libraries/Gradle__com_google_android_gms_play_services_tasks_17_0_0_aar.xml +10 -0
- package/android/.idea/libraries/Gradle__com_google_android_material_material_1_1_0_rc02_aar.xml +15 -0
- package/android/.idea/libraries/Gradle__com_google_auto_value_auto_value_annotations_1_6_5_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_2_0_1_jar.xml +9 -0
- package/android/.idea/libraries/Gradle__com_google_dagger_dagger_2_24_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_common_19_3_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_components_16_0_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_datatransport_17_0_3_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_encoders_json_16_0_0_aar.xml +14 -0
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_iid_20_1_1_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_iid_interop_17_0_0_aar.xml +10 -0
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_installations_16_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_installations_interop_16_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_measurement_connector_18_0_0_aar.xml +10 -0
- package/android/.idea/libraries/Gradle__com_google_firebase_firebase_messaging_20_1_2_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__com_google_guava_listenablefuture_1_0_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__com_squareup_javawriter_2_1_1_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__javax_inject_javax_inject_1_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__junit_junit_4_12_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_1_9_7_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__net_bytebuddy_byte_buddy_agent_1_9_7_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__net_sf_kxml_kxml2_2_3_0_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__org_apache_cordova_framework_7_0_0_aar.xml +12 -0
- package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_integration_1_3_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__org_hamcrest_hamcrest_library_1_3_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__org_json_json_20140107_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__org_mockito_mockito_core_2_25_1_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__org_mockito_mockito_inline_2_25_1_jar.xml +13 -0
- package/android/.idea/libraries/Gradle__org_objenesis_objenesis_2_6_jar.xml +13 -0
- package/android/.idea/misc.xml +14 -0
- package/android/.idea/modules/-485579866/capacitor-android.iml +171 -0
- package/android/.idea/modules/BrotherPrintLibrary/BrotherPrintLibrary.iml +27 -0
- package/android/.idea/modules/android.iml +110 -0
- package/android/.idea/modules.xml +10 -0
- package/android/.idea/runConfigurations.xml +12 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/.idea/workspace.xml +83 -0
- package/android/BrotherPrintLibrary/BrotherPrintLibrary.aar +0 -0
- package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/AndroidManifest.xml +11 -0
- package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jars/classes.jar +0 -0
- package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jars/libs/MobilePrintLib.jar +0 -0
- package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/arm64-v8a/libcreatedata.so +0 -0
- package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/armeabi/libAndrJFPDFEMB.so +0 -0
- package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/armeabi/libcreatedata.so +0 -0
- package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/armeabi-v7a/libAndrJFPDFEMB.so +0 -0
- package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/armeabi-v7a/libcreatedata.so +0 -0
- package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/x86/libcreatedata.so +0 -0
- package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a/jetified-BrotherPrintLibrary/jni/x86_64/libcreatedata.so +0 -0
- package/android/BrotherPrintLibrary/build/.transforms/25e734394246e1bfc2863356368dd65a.bin +1 -0
- package/android/BrotherPrintLibrary/build/.transforms/8f03997c59bfcdf41861a60561d5d5af.bin +0 -0
- package/android/BrotherPrintLibrary/build/.transforms/b3cb8a1794c15332bde93f2b78199c73/jetified-BrotherPrintLibrary.aar +0 -0
- package/android/BrotherPrintLibrary/build/.transforms/b3cb8a1794c15332bde93f2b78199c73.bin +1 -0
- package/android/BrotherPrintLibrary/build/.transforms/bb913df08d40846b1bc63945606f217a.bin +2 -0
- package/android/BrotherPrintLibrary/build/.transforms/cf1dcc0f016004f76302659fc63c1d4f.bin +1 -0
- package/android/BrotherPrintLibrary/build.gradle +2 -0
- package/android/build.gradle +2 -0
- package/android/local.properties +8 -0
- package/android/settings.gradle +1 -0
- package/android/src/main/AndroidManifest.xml +12 -0
- package/android/src/main/java/jp/rdlabo/capacitor/plugin/brotherprint/BrotherPrint.java +149 -6
- package/dist/docs.json +105 -0
- package/dist/esm/definitions.d.ts +12 -9
- package/dist/esm/definitions.js +1 -0
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/web.d.ts +14 -7
- package/dist/esm/web.js +15 -18
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +43 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +28 -18
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/Plugin.h +0 -1
- package/ios/Plugin/Plugin.m +4 -1
- package/ios/Plugin/Plugin.swift +150 -7
- package/ios/Plugin/module.modulemap +9 -0
- package/ios/Plugin.xcodeproj/project.pbxproj +47 -1
- package/ios/Plugin.xcodeproj/project.xcworkspace/xcuserdata/sakakibara.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Plugin.xcodeproj/xcuserdata/sakakibara.xcuserdatad/xcschemes/xcschememanagement.plist +27 -0
- package/ios/Plugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/Plugin.xcworkspace/xcuserdata/sakakibara.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/Podfile +2 -1
- package/ios/Podfile.lock +8 -1
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/BRLMPrinterKit +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/BluetoothViewController.nib +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/CutterViewController.nib +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/ExtraFeedViewController.nib +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/GenericMobileLabelModelPaperSizeViewController.nib +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BMSPrinterDriver.h +727 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BMSPrinterKit.h +60 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRCustomPaperInfoCommand.h +107 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMChannel.h +33 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMCustomPaperSize.h +69 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMError.h +25 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMGetStatusError.h +27 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMMWPrintSettings.h +35 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMOpenChannelError.h +27 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPJPrintSettings.h +84 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPJPrintSettingsCustomPaperSize.h +25 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPJPrintSettingsPaperSize.h +35 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPTPrintSettings.h +53 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrintError.h +52 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrintImageSettings.h +77 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrintSettingsProtocol.h +25 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterClassifier.h +31 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterDefine.h +59 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterDriver.h +54 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterDriverGenerator.h +34 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterKit+BRPtouchPrinterKit+BMSPrinterKit.h +18 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterKit.h +32 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMPrinterStatus.h +55 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMQLPrintSettings.h +64 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMRJPrintSettings.h +48 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMTDPrintSettings.h +47 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRLMValidatePrintSettings.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchBLEManager.h +28 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchBatteryInfo.h +26 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchBluetoothManager.h +59 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchDeviceInfo.h +23 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchLabelInfoStatus.h +119 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchLabelParam.h +27 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchNetworkManager.h +44 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchPrintInfo.h +136 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchPrinter.h +272 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchPrinterData.h +16 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchPrinterKit.h +18 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchPrinterStatus.h +58 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchTemplateInfo.h +23 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/GenericMobileLabelModelPrintSettings.h +211 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/GenericMobileLabelModelPrintSettingsViewController.h +50 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/GenericPocketJetPrintSettings.h +99 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/GenericPocketJetPrintSettingsViewController.h +47 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ673PrintSettings.h +43 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ673PrintSettingsViewController.h +40 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ763MFIPrintSettingsViewController.h +41 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ763MFiPrintSettings.h +45 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ773PrintSettings.h +46 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ773PrintSettingsViewController.h +41 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PrintSettingTableViewController.h +51 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PrintSettings.h +467 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PrintSettingsViewController.h +203 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ2050PrintSettings.h +81 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ2050PrintSettingsViewController.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ2140PrintSettings.h +81 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ2140PrintSettingsViewController.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ2150PrintSettings.h +81 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ2150PrintSettingsViewController.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3050AIPrintSettings.h +81 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3050AiPrintSettingsViewController.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3050PrintSettings.h +81 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3050PrintSettingsViewController.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3150AiPrintSettings.h +82 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3150AiPrintSettingsViewController.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3150PrintSettings.h +82 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ3150PrintSettingsViewController.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4030AiPrintSettings.h +103 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4030AiPrintSettingsViewController.h +41 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4040PrintSettings.h +102 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4040PrintSettingsViewController.h +41 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4230BPrintSettings.h +107 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4230BPrintSettingsViewController.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4250WBPrintSettings.h +108 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/RJ4250WBPrintSettingsViewController.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/TD2120NPrintSettings.h +83 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/TD2120NPrintSettingsViewController.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/TD2130NPrintSettings.h +82 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/TD2130NPrintSettingsViewController.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/TD4550DNWBPrintSettings.h +76 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/TD4550DNWBPrintSettingsViewController.h +42 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/IPAddressHelp.pdf +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/IPAddressViewController.nib +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Info.plist +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/MarginViewController.nib +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/PJCustomPaperViewController.nib +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/PrintProgressViewControllerWithFilename_BMSSDK~ipad.nib +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/PrintProgressViewControllerWithFilename_BMSSDK~iphone.nib +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/PrintProgressViewController_BMSSDK~ipad.nib +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/PrintProgressViewController_BMSSDK~iphone.nib +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/PrinterList.plist +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/ThresholdViewController.nib +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsj673ad.ptd +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bspe55ad.ptd +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bspp75ad.ptd +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsq71wad.ptd +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsq72wad.ptd +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr305ad.ptd +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr315ad.ptd +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr403ad.txt +91 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr403aiad.txt +91 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr404ad.ptd +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr404ad.txt +91 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr423ad.txt +666 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bsr425ad.txt +610 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst212ad.ptd +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst213ad.ptd +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst40ad.txt +482 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst41nad.txt +310 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst441ad.txt +495 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst442ad.txt +495 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst451ad.txt +495 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst452ad.txt +495 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/bst455ad.txt +495 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/checkbox_checked.png +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/checkbox_unchecked.png +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/en.lproj/InfoPlist.strings +0 -0
- package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/modulemap/module.modulemap +9 -0
- package/ios/Pods/BRLMPrinterKit/LICENSE +19 -0
- package/ios/Pods/BRLMPrinterKit/README.md +34 -0
- package/ios/Pods/Manifest.lock +8 -1
- package/ios/Pods/Pods.xcodeproj/project.pbxproj +274 -155
- package/ios/Pods/Pods.xcodeproj/xcuserdata/sakakibara.xcuserdatad/xcschemes/BRLMPrinterKit.xcscheme +60 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/sakakibara.xcuserdatad/xcschemes/CapacitorCordova.xcscheme +11 -13
- package/ios/Pods/Pods.xcodeproj/xcuserdata/sakakibara.xcuserdatad/xcschemes/Pods-Plugin.xcscheme +11 -13
- package/ios/Pods/Pods.xcodeproj/xcuserdata/sakakibara.xcuserdatad/xcschemes/Pods-PluginTests.xcscheme +11 -13
- package/ios/Pods/Pods.xcodeproj/xcuserdata/sakakibara.xcuserdatad/xcschemes/xcschememanagement.plist +15 -0
- package/ios/Pods/Target Support Files/BRLMPrinterKit/BRLMPrinterKit.debug.xcconfig +11 -0
- package/ios/Pods/Target Support Files/BRLMPrinterKit/BRLMPrinterKit.release.xcconfig +11 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.markdown +23 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin-acknowledgements.plist +29 -0
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.debug.xcconfig +3 -2
- package/ios/Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig +3 -2
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.markdown +23 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-acknowledgements.plist +29 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh +2 -0
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig +3 -2
- package/ios/Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig +3 -2
- package/package.json +29 -16
- package/android/.npmignore +0 -1
package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/BRPtouchPrinterKit.h
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//
|
|
2
|
+
// BRPtouchPrinterKit.h
|
|
3
|
+
// BRPtouchPrinterKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2012-2018 Brother Industries, Ltd. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
#import "BRPtouchPrinter.h"
|
|
10
|
+
#import "BRPtouchNetworkManager.h"
|
|
11
|
+
#import "BRPtouchBluetoothManager.h"
|
|
12
|
+
#import "BRPtouchBLEManager.h"
|
|
13
|
+
#import "BRPtouchDeviceInfo.h"
|
|
14
|
+
#import "BRPtouchTemplateInfo.h"
|
|
15
|
+
|
|
16
|
+
@interface BRPtouchPrinterKit : NSObject
|
|
17
|
+
|
|
18
|
+
@end
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
//
|
|
2
|
+
// BRPtouchPrinterStatus.h
|
|
3
|
+
// BRPtouchPrinterKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2016-2018 Brother Industries, Ltd. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
typedef struct _PTSTATUSINFO {
|
|
11
|
+
Byte byHead; // Head mark
|
|
12
|
+
Byte bySize; // Size
|
|
13
|
+
Byte byBrotherCode; // Brother code
|
|
14
|
+
Byte bySeriesCode; // Serial code
|
|
15
|
+
Byte byModelCode; // Model code
|
|
16
|
+
Byte byNationCode; // Nation code
|
|
17
|
+
Byte byFiller; // information about cover
|
|
18
|
+
Byte byFiller2; // Not used
|
|
19
|
+
Byte byErrorInf; // Error information 1
|
|
20
|
+
Byte byErrorInf2; // Error information 2
|
|
21
|
+
Byte byMediaWidth; // Media width
|
|
22
|
+
Byte byMediaType; // Media type
|
|
23
|
+
Byte byColorNum; // The number of colors
|
|
24
|
+
Byte byFont; // Font
|
|
25
|
+
Byte byJapanesFont; // Japanese font
|
|
26
|
+
Byte byMode; // Mode
|
|
27
|
+
Byte byDensity; // Density
|
|
28
|
+
Byte byMediaLength; // Media Length
|
|
29
|
+
Byte byStatusType; // Status Type
|
|
30
|
+
Byte byPhaseType; // Phase type
|
|
31
|
+
Byte byPhaseNoHi; // Upper bytes of phase number
|
|
32
|
+
Byte byPhaseNoLow; // Lower bytes of phase number
|
|
33
|
+
Byte byNoticeNo; // Notice number
|
|
34
|
+
Byte byExtByteNum; // Total bytes of extended part
|
|
35
|
+
Byte byLabelColor; // Color of label
|
|
36
|
+
Byte byFontColor; // Color of font
|
|
37
|
+
Byte byHardWareSetting[4]; // Settings of hardware
|
|
38
|
+
Byte byNoUse[2]; // Not Use
|
|
39
|
+
} PTSTATUSINFO, *LPPTSTATUSINFO;
|
|
40
|
+
|
|
41
|
+
typedef NS_ENUM(NSInteger, BRPtouchPrinterStatusBatteryTernary) {
|
|
42
|
+
BRPtouchPrinterStatusBatteryTernaryUnknown = -1,
|
|
43
|
+
BRPtouchPrinterStatusBatteryTernaryYes = 1,
|
|
44
|
+
BRPtouchPrinterStatusBatteryTernaryNo = 0,
|
|
45
|
+
};
|
|
46
|
+
@interface BRPtouchPrinterStatus : NSObject
|
|
47
|
+
@property (nonatomic) PTSTATUSINFO statusInfo;
|
|
48
|
+
|
|
49
|
+
// battery
|
|
50
|
+
@property (nonatomic) int32_t batteryResidualQuantityLevel;
|
|
51
|
+
@property (nonatomic) int32_t maxOfBatteryResidualQuantityLevel;
|
|
52
|
+
|
|
53
|
+
@property (nonatomic) BRPtouchPrinterStatusBatteryTernary isACConnected;
|
|
54
|
+
@property (nonatomic) BRPtouchPrinterStatusBatteryTernary isBatteryMounted;
|
|
55
|
+
|
|
56
|
+
@property (nonatomic) int16_t batteryLevel __deprecated;
|
|
57
|
+
|
|
58
|
+
@end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//
|
|
2
|
+
// BRPtouchTemplateInfo.h
|
|
3
|
+
// BRPtouchPrinterKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2018 Brother Industries, Ltd. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
// 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601.
|
|
11
|
+
typedef unsigned long long int BRFILETIMEDate;
|
|
12
|
+
extern const BRFILETIMEDate NULLOfBRFILETIMEDate;
|
|
13
|
+
|
|
14
|
+
@interface BRPtouchTemplateInfo : NSObject
|
|
15
|
+
|
|
16
|
+
@property (nonatomic, readonly) NSUInteger key;
|
|
17
|
+
@property (nonatomic, readonly) NSUInteger fileSize;
|
|
18
|
+
@property (nonatomic, readonly) NSUInteger checksum;
|
|
19
|
+
@property (nonatomic, readonly) NSDate *modifiedDate;
|
|
20
|
+
@property (nonatomic, readonly) BRFILETIMEDate rawModifiedDate;
|
|
21
|
+
@property (nonatomic, readonly) NSString *fileName;
|
|
22
|
+
|
|
23
|
+
@end
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
//
|
|
2
|
+
// GenericMobileLabelModelPrintSettings.h
|
|
3
|
+
// BMSPrinterKit
|
|
4
|
+
//
|
|
5
|
+
// Created by BMS on 9/12/12.
|
|
6
|
+
// Copyright (c) 2012-13 Brother Mobile Solutions. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "PrintSettings.h"
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@interface GenericMobileLabelModelPrintSettings : PrintSettings <PrintSettingsDelegate>
|
|
14
|
+
{
|
|
15
|
+
// provide subclasses with access to readonly properties via ivars.
|
|
16
|
+
// Because they are readonly, there is no "Setter" method available in the superclass.
|
|
17
|
+
// The subclasses should be the only place where these properties are set.
|
|
18
|
+
// But, they will be used in this superclass.
|
|
19
|
+
// Users of this superclass can read the values if desired, but in most cases this
|
|
20
|
+
// will not be necessary.
|
|
21
|
+
int _resolutionHorz;
|
|
22
|
+
int _resolutionVert;
|
|
23
|
+
int _headSizeDots;
|
|
24
|
+
int _paperWidthDotsMin;
|
|
25
|
+
int _paperWidthDotsMax;
|
|
26
|
+
int _paperLengthDotsMin;
|
|
27
|
+
int _paperLengthDotsMax;
|
|
28
|
+
int _marginLengthDotsMin;
|
|
29
|
+
int _marginLengthDotsMax;
|
|
30
|
+
int _extraFeedMax;
|
|
31
|
+
|
|
32
|
+
unsigned char _energyRank;
|
|
33
|
+
signed char _sensThrAdj;
|
|
34
|
+
signed char _sensDutyAdj;
|
|
35
|
+
int16_t _horzPosAdjDots;
|
|
36
|
+
int16_t _vertPosAdjDots;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// the following are defined somewhat arbitrarily to limit these settings to a
|
|
40
|
+
// reasonable value during validation.
|
|
41
|
+
// NOTE: We do NOT need "read only" properties for these since they will be the same
|
|
42
|
+
// for each model and subclass.
|
|
43
|
+
#define LABELSPACINGDOTS_MAX 1000
|
|
44
|
+
#define MARKWIDTHDOTS_MAX 1000
|
|
45
|
+
#define MARKOFFSETDOTS_MIN -1000
|
|
46
|
+
#define MARKOFFSETDOTS_MAX 1000
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
//*** IMPORTANT (for SDK Users):
|
|
50
|
+
// *** DO NOT INSTANTIATE AN OBJECT OF THIS CLASS!!!!! ***
|
|
51
|
+
// The GenericMobileLabelModelPrintSettings class is essentially an ABSTRACT class.
|
|
52
|
+
// Instead, you should instantiate the model-specific class, e.g. RJ4040PrintSettings.
|
|
53
|
+
|
|
54
|
+
//*** The following properties should be set by your app code, either PROGRAMMATICALLY
|
|
55
|
+
// or by using one of the PrintSettingsViewControllers (which may not set all properties).
|
|
56
|
+
|
|
57
|
+
// The properties and methods in this super-class will be COMMON for all
|
|
58
|
+
// of the RJ and TD printer models.
|
|
59
|
+
// They will be implemented in here generically, but will use the genericModelDelegate
|
|
60
|
+
// property above to get model-specific information.
|
|
61
|
+
|
|
62
|
+
// SDK Users: All of the properties below (and those in the PrintSettings superclass)
|
|
63
|
+
// are settable by you to change the printer behavior.
|
|
64
|
+
// If you are not using the PrintSettingsViewController (either the SDK's or your own custom one),
|
|
65
|
+
// then you should set each of these properties programmatically to your desired setting.
|
|
66
|
+
@property (nonatomic, assign) PAPERTYPE paperType;
|
|
67
|
+
// formFeedMode = NOFEED mode is used to implement "trimTapeAfterData" from Windows driver.
|
|
68
|
+
// This allows clipping white space from the bottom of the job to save paper.
|
|
69
|
+
@property (nonatomic, assign) FORMFEEDMODE formFeedMode;
|
|
70
|
+
@property (nonatomic, assign) DENSITY density;
|
|
71
|
+
@property (nonatomic,assign) int extraFeed; // used with kFormFeedModeNoFeed only
|
|
72
|
+
|
|
73
|
+
//*** PAPER SIZE is defined by setting ALL of the following properties.
|
|
74
|
+
// They are used to generate the "Esc iUw[128 bytes]" command.
|
|
75
|
+
|
|
76
|
+
// Paper Size is defined by a Width and Length.
|
|
77
|
+
// Unprintable Margins impact printable area within this defined size.
|
|
78
|
+
// * Printable height will be calculated as:
|
|
79
|
+
// "printableHeight = paperLengthDots - 2*marginLengthDots"
|
|
80
|
+
// * Printable width will be calculated as:
|
|
81
|
+
// "printableWidth = paperWidthDots - 2*marginWidthDots"
|
|
82
|
+
// Also, since printer paper is "center justified", anything less than 4" width needs to be
|
|
83
|
+
// compensated for using "rightOffsetBytes" to shift the data relative to printhead origin.
|
|
84
|
+
// We calculate "rightOffsetBytes" in the DRIVER based on paperWidthDots and marginWidthDots.
|
|
85
|
+
//
|
|
86
|
+
// NOTE: RJ4040 requires the left/right margins (marginWidth) to be the same as each other,
|
|
87
|
+
// and it requires top/bottom margins (marginLength) to be the same as each other.
|
|
88
|
+
// Although TD2 firmware allows these to be different, we are NOT going to support that
|
|
89
|
+
// functionality. If any margin settings are needed that require these unprintable margins
|
|
90
|
+
// to be different, then use the "marginDots" property in the superclass to make these adjustments.
|
|
91
|
+
@property (nonatomic, assign) int paperWidthDots;
|
|
92
|
+
@property (nonatomic, assign) int paperLengthDots;
|
|
93
|
+
@property (nonatomic, assign) int16_t marginWidthDots; // left and right unprintable margin
|
|
94
|
+
@property (nonatomic, assign) int16_t marginLengthDots; // top and bottom unprintable margin
|
|
95
|
+
// this is for labels only:
|
|
96
|
+
@property (nonatomic, assign) int16_t labelSpacingDots; // distance between labels
|
|
97
|
+
// These 2 are for Marked Paper only:
|
|
98
|
+
@property (nonatomic, assign) int16_t markWidthDots; // width of mark
|
|
99
|
+
@property (nonatomic, assign) int16_t markOffsetDots; // distance from leading edge to marks. Can be negative.
|
|
100
|
+
// The following properties are also added to Esc iUw (additionalMediaInfo) command.
|
|
101
|
+
// In Windows Driver, these are on "Advanced Printing Adjustments..." when editing a PaperSize.
|
|
102
|
+
//
|
|
103
|
+
// Until now they have been hard-coded to match defaults in Windows driver.
|
|
104
|
+
// In SDK version 2.3.4, we made these available for you to modify if necessary.
|
|
105
|
+
// However, they may not be available in the PrintSettingsViewController. TBD.
|
|
106
|
+
// If not and you wish to change them, you must set them independently, as you most likely do with all the other settings anyway.
|
|
107
|
+
@property (nonatomic, assign) unsigned char energyRank; // similar to density.
|
|
108
|
+
// Range is 0-10
|
|
109
|
+
// TD-4550 range is 0-30.
|
|
110
|
+
// Default depends on printer model and paper type.
|
|
111
|
+
// Set to '\xFF' (-1) to allow SDK to set default, same as SDK versions < v2.3.4.
|
|
112
|
+
|
|
113
|
+
// NOTE: These are N/A for RJ-4000 series. But they are supported with all other RJ/TD models.
|
|
114
|
+
@property (nonatomic, assign) signed char sensThrAdj; // range = 0xFE (-2) to 0x02 (2), default = 0
|
|
115
|
+
// TD-4550 range = 0xFB (-5) to 0x05 (5), default = 0
|
|
116
|
+
@property (nonatomic, assign) signed char sensDutyAdj; // range = 0xFE (-2) to 0x02 (2), default = 0
|
|
117
|
+
#ifdef WHAT_THE_SPEC_SAYS
|
|
118
|
+
// This range is small, especially at 300 dpi.
|
|
119
|
+
// And, it doesn't match the size of the field in the struct or the Windows Driver.
|
|
120
|
+
@property (nonatomic, assign) int16_t horzPosAdjDots; // range = 0x80 (-128) to 0x7F (127), default = 0
|
|
121
|
+
@property (nonatomic, assign) int16_t vertPosAdjDots; // range = 0x80 (-128) to 0x7F (127), default = 0
|
|
122
|
+
#else
|
|
123
|
+
// Windows driver allows +/- 5.91 inches at printer resolution.
|
|
124
|
+
// And, the value in Esc iUw structure is a 16-bit signed integer.
|
|
125
|
+
// So, these values in comments seem to be the right ones.
|
|
126
|
+
@property (nonatomic, assign) int16_t horzPosAdjDots; // range = +/- 5.91*resolution, default = 0
|
|
127
|
+
@property (nonatomic, assign) int16_t vertPosAdjDots; // range = +/- 5.91*resolution, default = 0
|
|
128
|
+
#endif
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
// By default, the "Esc iUw [128 bytes]" command will be sent by computing the 128-byte
|
|
132
|
+
// structure fields from the paperSize and other property settings.
|
|
133
|
+
// However, some types of media may not be adequately handled. In this case, we provide the
|
|
134
|
+
// option to disable sending this command. However, it will then be necessary to use the
|
|
135
|
+
// Windows driver to send a job to the printer to cause the appropriate "Esc iUw" command to
|
|
136
|
+
// be sent to the printer.
|
|
137
|
+
// *** The printer will remember the settings from the last time this command was sent. ***
|
|
138
|
+
// It will be important to assure that this class' property settings closely match the
|
|
139
|
+
// settings sent by the Windows driver.
|
|
140
|
+
@property (nonatomic, assign) BOOL sendAdditionalMediaInfoCommand;
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
// Enable/Disable the FIXED 2 Sec Delay at end of **EACH** page when printing by MFi Bluetooth.
|
|
144
|
+
// SDK v2.3.2 forced this delay for RJ-42 models ONLY, without this configurable property.
|
|
145
|
+
// SDK v2.3.3 added this property to allow you to turn it ON only if needed, for RJ-42 series only.
|
|
146
|
+
// SDK v2.3.4 moved this to Generic class, so it can be used with other models in case it is needed.
|
|
147
|
+
// * However, we haven't seen the problem occur with any printers other than RJ-4200 series.
|
|
148
|
+
// * We provide this capability with other models just in case it is helpful.
|
|
149
|
+
//
|
|
150
|
+
// When Enabled:
|
|
151
|
+
// * A fixed 2-second delay is added at the END OF EACH PAGE, for MFi Bluetooth Channel ONLY.
|
|
152
|
+
// * This delay seems to fix a problem that occurs with RJ-42 models which can cause MFi to disconnect
|
|
153
|
+
// when the printer goes into a cooling state while printing multiple page jobs.
|
|
154
|
+
// * However, the delay is NOT needed in most "normal" conditions, so enabling it can slow you down.
|
|
155
|
+
// Therefore, the default value is NO (Disabled).
|
|
156
|
+
//
|
|
157
|
+
// When Disabled (default):
|
|
158
|
+
// * NO 2-sec delay at end of each page, which is normal for all printers released prior to RJ-4200 series.
|
|
159
|
+
// * However, when printing multiple page jobs on RJ-4200 series, there is a possibility that MFi can be disconnected
|
|
160
|
+
// by Apple when printer begins "Cooling". This seems to be a FW bug with RJ-42 models only. However, the possibility
|
|
161
|
+
// exists that other models can have this problem too.
|
|
162
|
+
//
|
|
163
|
+
// Generally, we recommend setting NO unless your "worst case" scenario results in the MFi being disconnected
|
|
164
|
+
// for your printer model. If so, then we suggest giving user a CHOICE to enable/disable this so the delay doesn't
|
|
165
|
+
// occur on every page, unless you are OK with this delay happening every page.
|
|
166
|
+
//
|
|
167
|
+
@property (nonatomic, assign) BOOL coolingDelayEnabled;
|
|
168
|
+
|
|
169
|
+
//*** The properties below are READ ONLY. SDK Users can NOT set them!!
|
|
170
|
+
// Each subclass MUST set them to their model-specific values in their init method.
|
|
171
|
+
// The purpose of this GenericMobileLabelModelPrintSettings class is to implement COMMON
|
|
172
|
+
// code so it does not have to be duplicated for each similar printer model. However, it
|
|
173
|
+
// requires these model-dependent properties to be set by the SUBCLASS.
|
|
174
|
+
@property (readonly, nonatomic, assign) int resolutionHorz;
|
|
175
|
+
@property (readonly, nonatomic, assign) int resolutionVert;
|
|
176
|
+
@property (readonly, nonatomic, assign) int headSizeDots;
|
|
177
|
+
@property (readonly, nonatomic, assign) int paperWidthDotsMin;
|
|
178
|
+
@property (readonly, nonatomic, assign) int paperWidthDotsMax;
|
|
179
|
+
@property (readonly, nonatomic, assign) int paperLengthDotsMin;
|
|
180
|
+
@property (readonly, nonatomic, assign) int paperLengthDotsMax;
|
|
181
|
+
@property (readonly, nonatomic, assign) int marginLengthDotsMin;
|
|
182
|
+
@property (readonly, nonatomic, assign) int marginLengthDotsMax;
|
|
183
|
+
@property (readonly, nonatomic, assign) int extraFeedMax;
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
// *** PrintSettingsDelegate protocol
|
|
187
|
+
// All subclasses of PrintSettings are required to implement these methods.
|
|
188
|
+
// validatePrintSettings - This function assures that all properties are in range
|
|
189
|
+
// and that there are no conflicting settings.
|
|
190
|
+
- (BOOL)validatePrintSettings;
|
|
191
|
+
- (void) loadPreferences;
|
|
192
|
+
- (void) savePreferences;
|
|
193
|
+
//generate strings from CURRENT settings, for convenience.
|
|
194
|
+
// This is part of the PrintSettingsDelegateProtocol too.
|
|
195
|
+
- (NSString *)stringFromCurrentPaperType;
|
|
196
|
+
// NOTE: PaperSize uses combination of internal settings to generate a string, formatted in inches.
|
|
197
|
+
- (NSString *)stringFromCurrentPaperSize;
|
|
198
|
+
- (NSString *)stringFromCurrentFormFeedMode;
|
|
199
|
+
- (NSString *)stringFromCurrentExtraFeed;
|
|
200
|
+
- (NSString *)stringFromCurrentDensity;
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
//*** generate strings from constants, for convenience
|
|
204
|
+
- (NSString *)stringFromPaperType: (PAPERTYPE)paperType;
|
|
205
|
+
// NOTE: paperSize for these models does not have a constant, so you can only use the CURRENT version below.
|
|
206
|
+
- (NSString *)stringFromFormFeedMode: (FORMFEEDMODE)ffmode;
|
|
207
|
+
- (NSString *)stringFromExtraFeed:(int)extraFeed;
|
|
208
|
+
- (NSString *)stringFromDensity: (DENSITY)density;
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
@end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
//
|
|
2
|
+
// GenericMobileLabelModelPrintSettingsViewController.h
|
|
3
|
+
// BMSPrinterKit
|
|
4
|
+
//
|
|
5
|
+
// Created by BMS on 9/27/13.
|
|
6
|
+
// Copyright (c) 2013 Brother Mobile Solutions. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "PrintSettingsViewController.h"
|
|
10
|
+
#import "GenericMobileLabelModelPrintSettings.h"
|
|
11
|
+
#import "PrintSettingTableViewController.h" // for PrintSettingTableViewResponder protocol, internal use only
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
//*********************************************************************
|
|
18
|
+
// GenericMobileLabelModelPrintSettingsViewController INTERFACE
|
|
19
|
+
//
|
|
20
|
+
//*** IMPORTANT: *** DO NOT INSTANTIATE AN OBJECT OF THIS CLASS!!!!! ***
|
|
21
|
+
// The GenericMobileLabelModelPrintSettingsViewController class is essentially an
|
|
22
|
+
// ABSTRACT class.
|
|
23
|
+
// Instead, you should instantiate the model-specific class,
|
|
24
|
+
// e.g. RJ4040PrintSettingsViewController.
|
|
25
|
+
//*********************************************************************
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
@interface GenericMobileLabelModelPrintSettingsViewController : PrintSettingsViewController < UITableViewDelegate, UITableViewDataSource, PrintSettingTableViewResponder>
|
|
29
|
+
{
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// "style" MUST be set to UITableViewStyleGrouped!!
|
|
33
|
+
-(id)initWithStyle:(UITableViewStyle)style;
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
// SDK Designers: The PrintSettingsViewController superclass defines several properties:
|
|
37
|
+
// printSettings, popoverSize, rowHeight, fontSize, printSettingsDelegate,
|
|
38
|
+
// showIPAddressHelpButton, IPAddressHelpFileName, and showSettingsOptionMask.
|
|
39
|
+
// So, they are not defined in here.
|
|
40
|
+
// However, this class and/or a model-specific subclass should "init" these properties
|
|
41
|
+
// and handle setter overrides (if necessary).
|
|
42
|
+
//
|
|
43
|
+
// SDK Users: You should be familiar with the superclass properties so you can set
|
|
44
|
+
// them accordingly, in particular the printSettingsDelegate (which handles
|
|
45
|
+
// the PrintSettingsResponder protocol).
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
@end
|
|
49
|
+
|
|
50
|
+
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
//
|
|
2
|
+
// GenericPocketJetPrintSettings.h
|
|
3
|
+
// BMSPrinterKit
|
|
4
|
+
//
|
|
5
|
+
// Created by BMS on 9/23/15.
|
|
6
|
+
// Copyright (c) 2012-15 Brother Mobile Solutions. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "PrintSettings.h"
|
|
10
|
+
|
|
11
|
+
typedef enum
|
|
12
|
+
{
|
|
13
|
+
kCustomPaperAlignLeft = 0,
|
|
14
|
+
kCustomPaperAlignCenter,
|
|
15
|
+
} CUSTOMPAPERALIGN;
|
|
16
|
+
|
|
17
|
+
@interface GenericPocketJetPrintSettings : PrintSettings <PrintSettingsDelegate>
|
|
18
|
+
{
|
|
19
|
+
// provide subclasses with access to readonly properties via ivars.
|
|
20
|
+
// Because they are readonly, there is no "Setter" method available in the superclass.
|
|
21
|
+
// The subclasses should be the only place where these properties are set.
|
|
22
|
+
// But, they will be used in this superclass.
|
|
23
|
+
// Users of this superclass can read the values if desired, but in most cases this
|
|
24
|
+
// will not be necessary.
|
|
25
|
+
int _resolutionHorz;
|
|
26
|
+
int _resolutionVert;
|
|
27
|
+
int _customPaperWidthDotsMin;
|
|
28
|
+
int _customPaperWidthDotsMax;
|
|
29
|
+
int _customPaperLengthDotsMin;
|
|
30
|
+
int _customPaperLengthDotsMax;
|
|
31
|
+
int _extraFeedMax;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
//*** IMPORTANT (for SDK Users):
|
|
36
|
+
// *** DO NOT INSTANTIATE AN OBJECT OF THIS CLASS!!!!! ***
|
|
37
|
+
// The GenericPocketJetPrintSettings class is essentially an ABSTRACT class.
|
|
38
|
+
// Instead, you should instantiate the model-specific class, e.g. PJ673PrintSettings.
|
|
39
|
+
|
|
40
|
+
//*** The following properties should be set by your app code, either PROGRAMMATICALLY
|
|
41
|
+
// or by using one of the PrintSettingsViewControllers (which may not set all properties).
|
|
42
|
+
|
|
43
|
+
// The properties and methods in this super-class will be COMMON for all
|
|
44
|
+
// of the PocketJet printer models.
|
|
45
|
+
|
|
46
|
+
// SDK Users: All of the properties below (and those in the PrintSettings superclass)
|
|
47
|
+
// are settable by you to change the printer behavior.
|
|
48
|
+
// If you are not using the PrintSettingsViewController (either the SDK's or your own custom one),
|
|
49
|
+
// then you should set each of these properties programmatically to your desired setting.
|
|
50
|
+
@property (nonatomic, assign) PAPERSIZE paperSize;
|
|
51
|
+
@property (nonatomic, assign) PAPERTYPE paperType;
|
|
52
|
+
@property (nonatomic, assign) FORMFEEDMODE formFeedMode;
|
|
53
|
+
@property (nonatomic,assign) int extraFeed; // used with kFormFeedModeNoFeed only
|
|
54
|
+
@property (nonatomic, assign) DENSITY density;
|
|
55
|
+
// These 3 properties are used ONLY when paperSize is set to kPaperSizeCustom!
|
|
56
|
+
@property (nonatomic, assign) int customPaperWidthDots;
|
|
57
|
+
@property (nonatomic, assign) int customPaperLengthDots;
|
|
58
|
+
@property (nonatomic, assign) CUSTOMPAPERALIGN customPaperAlign;
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
//*** The properties below are READ ONLY. SDK Users can NOT set them!!
|
|
62
|
+
// Each subclass MUST set them to their model-specific values in their init method.
|
|
63
|
+
// The purpose of this GenericPocketJetPrintSettings class is to implement COMMON
|
|
64
|
+
// code so it does not have to be duplicated for each similar printer model. However, it
|
|
65
|
+
// requires these model-dependent properties to be set by the SUBCLASS.
|
|
66
|
+
@property (readonly, nonatomic, assign) int resolutionHorz;
|
|
67
|
+
@property (readonly, nonatomic, assign) int resolutionVert;
|
|
68
|
+
@property (readonly, nonatomic, assign) int customPaperWidthDotsMin;
|
|
69
|
+
@property (readonly, nonatomic, assign) int customPaperWidthDotsMax;
|
|
70
|
+
@property (readonly, nonatomic, assign) int customPaperLengthDotsMin;
|
|
71
|
+
@property (readonly, nonatomic, assign) int customPaperLengthDotsMax;
|
|
72
|
+
@property (readonly, nonatomic, assign) int extraFeedMax;
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
// *** PrintSettingsDelegate protocol
|
|
76
|
+
// All subclasses of PrintSettings are required to implement these methods.
|
|
77
|
+
// validatePrintSettings - This function assures that all properties are in range
|
|
78
|
+
// and that there are no conflicting settings.
|
|
79
|
+
- (BOOL)validatePrintSettings;
|
|
80
|
+
- (void) loadPreferences;
|
|
81
|
+
- (void) savePreferences;
|
|
82
|
+
//generate strings from CURRENT settings, for convenience.
|
|
83
|
+
// This is part of the PrintSettingsDelegateProtocol too.
|
|
84
|
+
- (NSString *)stringFromCurrentPaperType;
|
|
85
|
+
- (NSString *)stringFromCurrentPaperSize;
|
|
86
|
+
- (NSString *)stringFromCurrentFormFeedMode;
|
|
87
|
+
- (NSString *)stringFromCurrentExtraFeed;
|
|
88
|
+
- (NSString *)stringFromCurrentDensity;
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
//*** generate strings from constants, for convenience
|
|
92
|
+
- (NSString *)stringFromPaperType: (PAPERTYPE)paperType;
|
|
93
|
+
- (NSString *)stringFromPaperSize: (PAPERSIZE)paperSize;
|
|
94
|
+
- (NSString *)stringFromFormFeedMode: (FORMFEEDMODE)ffmode;
|
|
95
|
+
- (NSString *)stringFromExtraFeed:(int)extraFeed;
|
|
96
|
+
- (NSString *)stringFromDensity: (DENSITY)density;
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
@end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//
|
|
2
|
+
// GenericPocketJetPrintSettingsViewController.h
|
|
3
|
+
// BMSPrinterKit
|
|
4
|
+
//
|
|
5
|
+
// Created by BMS on 8/8/12.
|
|
6
|
+
// Copyright (c) 2012 Brother Mobile Solutions. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "PrintSettingsViewController.h"
|
|
10
|
+
#import "GenericPocketJetPrintSettings.h"
|
|
11
|
+
#import "PrintSettingTableViewController.h" // for PrintSettingTableViewResponder protocol, internal use only
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
//*********************************************************************
|
|
17
|
+
// GenericPocketJetPrintSettingsViewController INTERFACE
|
|
18
|
+
//
|
|
19
|
+
//*** IMPORTANT: *** DO NOT INSTANTIATE AN OBJECT OF THIS CLASS!!!!! ***
|
|
20
|
+
// The GenericPocketJetPrintSettingsViewController class is essentially an
|
|
21
|
+
// ABSTRACT class.
|
|
22
|
+
// Instead, you should instantiate the model-specific class,
|
|
23
|
+
// e.g. PJ673PrintSettingsViewController.
|
|
24
|
+
//*********************************************************************
|
|
25
|
+
|
|
26
|
+
@interface GenericPocketJetPrintSettingsViewController : PrintSettingsViewController <UITableViewDelegate, UITableViewDataSource, PrintSettingTableViewResponder>
|
|
27
|
+
{
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// "style" MUST be set to UITableViewStyleGrouped!!
|
|
31
|
+
-(id)initWithStyle:(UITableViewStyle)style;
|
|
32
|
+
|
|
33
|
+
// SDK Designers: The PrintSettingsViewController superclass defines several properties:
|
|
34
|
+
// printSettings, popoverSize, rowHeight, fontSize, printSettingsDelegate,
|
|
35
|
+
// showIPAddressHelpButton, IPAddressHelpFileName, and showSettingsOptionMask.
|
|
36
|
+
// So, they are not defined in here.
|
|
37
|
+
// However, this class and/or a model-specific subclass should "init" these properties
|
|
38
|
+
// and handle setter overrides (if necessary).
|
|
39
|
+
//
|
|
40
|
+
// SDK Users: You should be familiar with the superclass properties so you can set
|
|
41
|
+
// them accordingly, in particular the printSettingsDelegate (which handles
|
|
42
|
+
// the PrintSettingsResponder protocol).
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
@end
|
|
46
|
+
|
|
47
|
+
|
package/ios/Pods/BRLMPrinterKit/BRLMPrinterKit/BRLMPrinterKit.framework/Headers/PJ673PrintSettings.h
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
//
|
|
2
|
+
// PJ673PrintSettings.h
|
|
3
|
+
// BMSPrinterKit
|
|
4
|
+
//
|
|
5
|
+
// Created by BMS on 9/11/12.
|
|
6
|
+
// Copyright (c) 2012 Brother Mobile Solutions. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "GenericPocketJetPrintSettings.h"
|
|
10
|
+
|
|
11
|
+
@interface PJ673PrintSettings : GenericPocketJetPrintSettings <PrintSettingsDelegate>
|
|
12
|
+
|
|
13
|
+
// These constants below are provided for reference only. DO NOT MODIFY!
|
|
14
|
+
#define PJ673_RESOLUTION_HORZ 300
|
|
15
|
+
#define PJ673_RESOLUTION_VERT 300
|
|
16
|
+
|
|
17
|
+
// Arbitrarily restrict extraFeed to 11" at 300 dpi. There is no reason to be larger.
|
|
18
|
+
#define PJ673_MAX_EXTRAFEEDDOTS (11*PJ673_RESOLUTION_VERT)
|
|
19
|
+
|
|
20
|
+
// NOTE: These custom MIN/MAX settings will be built into framework, so you can't change them.
|
|
21
|
+
// And, the setter functions will clip to these values. The reasons for these choices are described below.
|
|
22
|
+
// If you require something different for some reason, please contact Technical Support.
|
|
23
|
+
#define PJ673_CUSTOM_WIDTHDOTS_MIN 1200 // 4" due to likely skewing of narrower paper. Otherwise can be lower.
|
|
24
|
+
#define PJ673_CUSTOM_WIDTHDOTS_MAX 2550 // 8.5" = max paper width
|
|
25
|
+
#define PJ673_CUSTOM_LENGTHDOTS_MIN 600 // 2" to allow PerfRoll paper to print anything due to large unprintable area
|
|
26
|
+
#define PJ673_CUSTOM_LENGTHDOTS_MAX 30000 // 100", arbitrary
|
|
27
|
+
|
|
28
|
+
//*** IMPORTANT ***
|
|
29
|
+
// SDK Users:
|
|
30
|
+
// You should NEVER instantiate an object of the GenericPocketJetPrintSettings class.
|
|
31
|
+
// Instead, you should instantiate one of the model-specific subclasses (i.e. PJ673PrintSettings).
|
|
32
|
+
//
|
|
33
|
+
// For a list of important properties in the settings that your application needs to set,
|
|
34
|
+
// refer to the GenericPocketJetPrintSettings superclass.
|
|
35
|
+
|
|
36
|
+
// SDK Designers:
|
|
37
|
+
// The GenericPocketJetPrintSettings class handles all the important work.
|
|
38
|
+
// This subclass only needs to provide the model-specific data to the generic class.
|
|
39
|
+
|
|
40
|
+
//*** ADDITIONAL PROPERTIES not handled by GenericPocketJetPrintSettings
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
//
|
|
2
|
+
// PJ673PrintSettingsViewController.h
|
|
3
|
+
// BMSPrinterKit
|
|
4
|
+
//
|
|
5
|
+
// Created by BMS on 8/8/12.
|
|
6
|
+
// Copyright (c) 2012 Brother Mobile Solutions. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "GenericPocketJetPrintSettingsViewController.h"
|
|
10
|
+
#import "PJ673PrintSettings.h"
|
|
11
|
+
|
|
12
|
+
// This is the DEFAULT popup contentSize for PJ673PrintSettingsViewController.
|
|
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 PJ673POPUPCONTENTSIZE CGSizeMake(400,480)
|
|
23
|
+
#define PJ673POPUPCONTENTSIZE_IOS7 CGSizeMake(400,588)
|
|
24
|
+
|
|
25
|
+
/*
|
|
26
|
+
This class is a subclass of GenericPocketJetPrintSettingsViewController,
|
|
27
|
+
which implements all the major functionality.
|
|
28
|
+
|
|
29
|
+
*** SDK Users:
|
|
30
|
+
DO NOT INSTANTIATE an instance of GenericPocketJetPrintSettingsViewController.
|
|
31
|
+
Always instantiate a model-specific class, e.g. PJ673PrintSettingsViewController
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
@interface PJ673PrintSettingsViewController : GenericPocketJetPrintSettingsViewController
|
|
35
|
+
{
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@end
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
//
|
|
2
|
+
// PJ763MFiPrintSettingsViewController.h
|
|
3
|
+
// BMSPrinterKit
|
|
4
|
+
//
|
|
5
|
+
// Created by BMS on 8/8/12.
|
|
6
|
+
// Copyright (c) 2012 Brother Mobile Solutions. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "GenericPocketJetPrintSettingsViewController.h"
|
|
10
|
+
#import "PJ763MFiPrintSettings.h"
|
|
11
|
+
|
|
12
|
+
// This is the DEFAULT popup contentSize for PJ763MFiPrintSettingsViewController.
|
|
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 PJ763MFiPOPUPCONTENTSIZE CGSizeMake(400,480)
|
|
23
|
+
#define PJ763MFiPOPUPCONTENTSIZE CGSizeMake(400,548)
|
|
24
|
+
#define PJ763MFiPOPUPCONTENTSIZE_IOS7 CGSizeMake(400,588)
|
|
25
|
+
|
|
26
|
+
/*
|
|
27
|
+
This class is a subclass of GenericPocketJetPrintSettingsViewController,
|
|
28
|
+
which implements all the major functionality.
|
|
29
|
+
|
|
30
|
+
*** SDK Users:
|
|
31
|
+
DO NOT INSTANTIATE an instance of GenericPocketJetPrintSettingsViewController.
|
|
32
|
+
Always instantiate a model-specific class, e.g. PJ763MFiPrintSettingsViewController
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
@interface PJ763MFiPrintSettingsViewController : GenericPocketJetPrintSettingsViewController
|
|
36
|
+
{
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@end
|
|
40
|
+
|
|
41
|
+
|