IPP protocol implementation for Rust
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src
.gitignore
.travis.yml
Cargo.lock
Cargo.toml
README.md

README.md

ipp.rs

IPP protocol implementation for Rust

Documentation

Usage example:

extern crate ipp;
use ipp::{GetPrinterAttributes, IppClient};
pub fn main() {
    let client = IppClient::new("http://localhost:631/printers/test-printer");
    let operation = GetPrinterAttributes::new();

    let attrs = client.send(operation).unwrap();

    for v in attrs.get_printer_attributes().unwrap().values() {
        println!("{}: {}", v.name(), v.value());
    }
}

License

Licensed under MIT or Apache license (LICENSE-MIT or LICENSE-APACHE)