Skip to content

lnxdxtf/tauri-plugin-escpos

Repository files navigation

Tauri Plugin escpos

This is a plugin to use in ESCPOS Thermal Printers.

This plugin uses the eco_print lib.

NOTE: FOR WHILE, JUST SUPPORTS BLE


Android + btleplug(droidplug) | Explanation

  1. Build the jni-utils-rs crate:
    Use the following command to build the crate with Java support:

    cargo build --features=build-java-support --release

    Copy the JAR file: After building, copy the jni-utils-0.1.1-SNAPSHOT.jar file from jni-utils-rs/target/release/java/libs to btleplug\src\droidplug\java\libs

  2. Build the droidplug(btleplug crate) Acces the java folder in btleplug\src\droidplug\java\ and run the command:

    .\gradlew build

    Copy the droidplug-release.aar file to android/libs

About

A tauri plugin to use ESCPOS Thermal Printers

Resources

Stars

Watchers

Forks