List printer queues without waiting for offline Windows drivers

This commit is contained in:
Codex
2026-11-30 18:15:59 +01:00
parent 4d208559f4
commit 1bbef7dda1
+1 -1
View File
@@ -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 {