Struct lpr::LprConnection [−][src]
pub struct LprConnection { /* fields omitted */ }
Methods
impl LprConnection
[src]
impl LprConnection
pub fn new(ip_str: &str, verbose: bool) -> LprConnection
[src]
pub fn new(ip_str: &str, verbose: bool) -> LprConnection
pub fn status(self) -> Result<String, Error>
[src]
pub fn status(self) -> Result<String, Error>
pub fn print_file(&mut self, path_to_file: &str)
[src]
pub fn print_file(&mut self, path_to_file: &str)
pub fn print_file_with_pjl_header(
&mut self,
path_to_file: &str,
header_data: Vec<u8>
)
[src]
pub fn print_file_with_pjl_header(
&mut self,
path_to_file: &str,
header_data: Vec<u8>
)
Auto Trait Implementations
impl Send for LprConnection
impl Send for LprConnection
impl Sync for LprConnection
impl Sync for LprConnection