xdg-desktop-portal-gtk icon indicating copy to clipboard operation
xdg-desktop-portal-gtk copied to clipboard

Correction default paper-size

Open ThierryHFR opened this issue 4 years ago • 2 comments

Printing with the proprietary CANON driver "cnijfilter2" fails in firefox, if an output format is not explicitly chosen. The modification lets the system find the default output format and uses the one defined by the user in the dialog box. Reproduced with CANON TS3150, TS3350, TS5150

ThierryHFR avatar Jun 19 '20 12:06 ThierryHFR

More details on the problem encountered: The problem occurs only when using firefox-esr (with portal) Linux Stretch is the debian version used. libcups2 (2.2.1-8+deb9u7) on Stretch, on the print server libcups2 (2.3.3-ordissimo). The problem comes from this difference of version, I made a conversion table and that solves my problem Strangely the problem exists only with Canon. Example Canon PAPERSIZE => A4 = GTK_PAPER_NAME_A4 PAPERSIZE => Letter = GTK_PAPER_NAME_LETTER PAPERSIZE => 4x6 = na_index-4x6 PAPERSIZE => 5x7 = na_5x7

Tested on debian BookWorm, the problem no longer exists!

ThierryHFR avatar Feb 28 '22 10:02 ThierryHFR

I think it should just be an information

ThierryHFR avatar Feb 28 '22 13:02 ThierryHFR

Tested on debian BookWorm, the problem no longer exists!

That sounds like there was a bug in some printing-related component of Debian 9 (stretch), or possibly the proprietary driver you mentioned, which was fixed sometime between then and Debian 12 (bookworm).

Disregarding the user-supplied page setup doesn't seem like a good solution, and the underlying problem has apparently been solved, so I'm going to close this.

smcv avatar Aug 31 '23 18:08 smcv