gnucash stable: Bug 797872 - Multiple check printing results in nothing sent to print queue after first check
John Ralls
jralls at code.gnucash.org
Sat Sep 26 15:22:22 EDT 2026
Updated via https://github.com/Gnucash/gnucash/commit/83a193dd (commit)
from https://github.com/Gnucash/gnucash/commit/7755418c (commit)
commit 83a193dd8dd7706348e143bfb7aee65e0ec30f54
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Aug 20 12:12:10 2026 -0700
Bug 797872 - Multiple check printing results in nothing sent to print queue after first check
diff --git a/gnucash/gnome-utils/print-session.c b/gnucash/gnome-utils/print-session.c
index 5932f6af21..0a4987f9c2 100644
--- a/gnucash/gnome-utils/print-session.c
+++ b/gnucash/gnome-utils/print-session.c
@@ -55,7 +55,12 @@ gnc_print_operation_init(GtkPrintOperation *op, const gchar* jobname)
/* Restore print settings */
G_LOCK(print_settings);
if (print_settings)
+ {
+ // Clear page range to prevent carryover from previous print jobs
+ gtk_print_settings_set(print_settings, GTK_PRINT_SETTINGS_PAGE_RANGES, NULL);
+ gtk_print_settings_set(print_settings, GTK_PRINT_SETTINGS_PAGE_SET, NULL);
gtk_print_operation_set_print_settings(op, print_settings);
+ }
G_UNLOCK(print_settings);
/* Restore page setup */
Summary of changes:
gnucash/gnome-utils/print-session.c | 5 +++++
1 file changed, 5 insertions(+)
More information about the gnucash-changes
mailing list