tauri-plugin-thermal-printer 1.3.2

Plugin for Tauri to send esc/pos commands to thermal_printer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Alineación de imagen
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum ImageAlignment {
    Left = 0,
    Center = 1,
    Right = 2,
}

impl ImageAlignment {
    pub fn value(&self) -> u8 {
        *self as u8
    }
}