ltk::print

Function send

Source
pub fn send<M: Send + 'static>(
    destination: &Destination,
    title: &str,
    options: &PrintOptions,
    pdf: Vec<u8>,
    sender: &ChannelSender<M>,
    done: impl FnOnce(Result<(), String>) -> M + Send + 'static,
)
Expand description

Print pdf at destination with options; done once the printer’s queue, or the desktop, took it.