tauri-plugin-printer-0.1.5 has been yanked.
Tauri Plugin Printer
Interface with printers through Powershell, enabled by a Cargo feature
This plugin is currently under development, any bugs please understand
Install
This plugin requires a Rust version of at least 1.64
Install the Core plugin by adding the following to your Cargo.toml file:
src-tauri/Cargo.toml
[]
= { = "0.1.5" }
You can install the JavaScript Guest bindings using your preferred JavaScript package manager:
# or
# or
Usage
First you need to register the core plugin with Tauri:
src-tauri/src/main.rs
Afterwards all the plugin's APIs are available through the JavaScript guest bindings:
import from "tauri-plugin-printer";
// get list printers
const list = await
// print pdf file
await
Donate
https://saweria.co/alfianlensun
License
Code: (c) 2023 - Present Alfian Lensun.
MIT where applicable.