mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 10:51:11 +01:00
List printer queues without waiting for offline Windows drivers
This commit is contained in:
1 parent
048c3b56a0
commit
89be1ce0f3
1 file changed
+1
-1
@@ -42,7 +42,7 @@ fn sent(title: &str, printer: Option<&str>, note: &str) -> String {
|
||||
mod system {
|
||||
use super::{Command, PrintJob, Printer};
|
||||
pub fn printers() -> Vec<Printer> {
|
||||
craft::print::printers().into_iter().map(Printer::from).collect()
|
||||
craft::print::printer_queues().into_iter().map(Printer::from).collect()
|
||||
}
|
||||
pub fn print(job: &PrintJob) -> Result<String, String> {
|
||||
if job.direct_pdf {
|
||||
|
||||
Reference in new issue
Block a user