Page 1 of 1

Print settings do not get saved, e.g. always defaults to A4 dimensions

Posted: Thu Apr 06, 2023 11:03 pm
by NM64
Tested on Linux Mint 21.1 flatpak and .deb and reproduced even with a live ISO session of Mint 21.1


Simply put, any settings in File ▶ Print do not get saved and always seem to just be temporary.

Not only that but even in "Page Setup", if 'Page Size' looks like it's selecting something like "US Latter" by default, the dimensions will actually be that of A4 (which is XnView's actual default) and you have to manually select something else and then subsequently select the likes of "US Letter".

Re: Print settings do not get saved, e.g. always defaults to A4 dimensions

Posted: Sun Jan 21, 2024 8:35 pm
by B.Douille
I encountered this problem once again on my Windows 11/ Canon printer (via Wi-Fi) XnView MP 1.6.4 :(
I wanted to print a single image on a photo paper (classical 10x15 cm). I did it already in the past, from my desktop (old Windows 7, same printer but connected via USB) and I know changing the paper size / type / borders,... on XnView MP requires an unusual workflow but this time it's just impossible (is it Win'11? is it the remote connection ?). I don't have such problems with other apps (Acrobat Reader, Firefox, LibreOffice...).

There are many reports of this issue (mainly under Linux but the description tells the same). List at the end of this post.
Nice if the print workflow can be secured, made more standard, obvious, ergonomic.

6 simple steps to reproduce:
Step 1- Page Setup - Current format is A4 - Select another
Step 1- Page Setup - Current format is A4 - Select another
Step 2- Page Setup - Set borders to zero
Step 2- Page Setup - Set borders to zero
Step 3- Back to main print dialog - Nothing changed :(
Step 3- Back to main print dialog - Nothing changed :(
Step 4- Behind the Print button the system dialog (no choice for paper size here - system dependent)
Step 4- Behind the Print button the system dialog (no choice for paper size here - system dependent)
Step 5- System print options allows to make the changes I need (paper size and type, margins)
Step 5- System print options allows to make the changes I need (paper size and type, margins)
Step 6- Back to the System print dialog - 2 options: Print (but the picture may have not been positionned correctly or cancel but then all settings are gone)
Step 6- Back to the System print dialog - 2 options: Print (but the picture may have not been positionned correctly or cancel but then all settings are gone)
Usually the trick is from step 6 to get back to the XnView print dialog by using the Cancel button. This allows the application to capture the print size and other details selected at step 5, adjust the picture position, orientation,... as needed and print in confidence. My experience today is pressing the cancel button closes all :x

Other, similar posts related to either the Page Setup (selection of page size, margins) or to suggestion to improve the print dialog to include selection of the printer or to replace the Page Setup by the printer driver (advanced) options:
Linux Print-problem and solution
Printing: Changing printer settings
0.98.0 and above: still problems with margins in printing dialog
0.93: print custom size still broken in linux mint / print order
0.88: some page sizes can't be selected
0.87: some page sizes can't be selected

Re: Print settings do not get saved, e.g. always defaults to A4 dimensions

Posted: Sat Feb 24, 2024 9:35 am
by xnview
i've contacted QT team about this issue. Hope they find a solution quickly...

Re: Print settings do not get saved, e.g. always defaults to A4 dimensions

Posted: Fri Oct 31, 2025 7:27 pm
by B.Douille
Hello Pierre, can we have this issue pushed again ?

I see it was as a bug in QT bug tracker but closed as "Cannot Reproduce". However the issue still in XnView MP and it's a real headache to print in the right format. It's not every day I print pictures so didn't checked until last week.

To summerise : Context is the default printer is set to use std A4 paper format. When opening the print dialog, all values are based on that (paper size 210x297, margins >0). Changing the paper size to 10x15 or the margins via the Page Setup dialog doesn't change anything. I believe this is because the characteristics for the selected paper on the current printer constrains the values.

Trick to obtain something valuable : Press the Print button, in the system dialog that comes, select the right printer and then select the paper format and other options you need.
Tick the box "Let the application modify the print parameters".
Again, press Print from the system dialog (print on a raw paper, or let paper tray empty and cancel the print spooler if you can).
Get back to XnView and open the Print Dialog. Now the paper size should be the one you need, previously selected in the system dialog.

XnViewMP 1.9.5 64 bits running under Windows 11
Hope this help to reproduce.