ipp.rs
IPP protocol implementation for Rust
Usage example:
extern crate ipp;
use ;
License
Licensed under MIT or Apache license (LICENSE-MIT or LICENSE-APACHE)
IPP protocol implementation for Rust
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());
}
}
Licensed under MIT or Apache license (LICENSE-MIT or LICENSE-APACHE)