fiscalprinter 1.0.6

A Fiscal Printer trait for implementation
Documentation

Fiscal Printer trait for implement

Allows define a trait using base values for documents send to and from fiscal printer.

For Target Raspberry Pi

rustup target add armv7-unknown-linux-gnueabihf

https://medium.com/swlh/compiling-rust-for-raspberry-pi-arm-922b55dbb050

Examples:

main.js
println!("Hello, world!");
    let epale_pnp: example::PnP = FiscalPrinter::new();
    epale_pnp.open_port(String::from("Epale"));
    epale_pnp.send_command(String::from("Ejele"));
    let setup = Setup::new(String::from("dsadadashdg-ajdhas"), String::from("lpt1"));
    let result = epale_pnp.setup(setup);
    println!("Result of Setup {:?}", result);
    epale_pnp.close_port();