From 4518569b613341afe5761771d08f6467d4745458 Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Tue, 13 Oct 2026 14:24:34 +0300 Subject: [PATCH] feat(plot): PUBLISH opens the batch plot of the drawing's layouts PUBLISH now runs what PRINTALL does: pick the layouts, each plotted with its own page setup, into one multi-page PDF or to the printer. Refs #1124 Co-Authored-By: Claude Opus 5.5 --- src/app/commands/display.rs | 4 +++- src/app/commands/mod.rs | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/commands/display.rs b/src/app/commands/display.rs index 43191aa5b..c48af2cbf 100644 --- a/src/app/commands/display.rs +++ b/src/app/commands/display.rs @@ -951,7 +951,9 @@ impl OpenCADStudio { "PLOT" | "PRINT" => { return Some(Task::done(Message::PlotDialogOpen)); } - "PRINTALL" => { + // PUBLISH: the layouts of the drawing, each with its own page + // setup, into one multi-page PDF or to the printer. + "PRINTALL" | "PUBLISH" => { return Some(Task::done(Message::PrintAllOpen)); } // PRINTERS — what the system reports about printing, on the diff --git a/src/app/commands/mod.rs b/src/app/commands/mod.rs index 515022b9a..ba82aeeba 100644 --- a/src/app/commands/mod.rs +++ b/src/app/commands/mod.rs @@ -490,6 +490,7 @@ inventory::submit!(crate::command::CommandRegistration { "EXPORTPDF", "EXPORTSVG", "PRINTALL", + "PUBLISH", "DDIM", // Inquiry: list the whole drawing database. "DBLIST",