Bug#994395: cups: uses sides=one-sided by default
Package: cups
Version: 2.3.3op2-3+deb11u1
Severity: important
On my Debian machine, files are printed one sided, even though I use
Duplex=DuplexNoTumble in my .cups/lpoptions file. I suppose that this
is due to the following issue.
cventin:~> lpoptions -p print-1
ColorModel=Gray copies=1 device-uri=ipps://print-1.lip.ens-lyon.fr:443 Duplex=DuplexNoTumble finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=1631710524 marker-colors=#00FFFF,#FF00FF,#FFFF00,#000000,none marker-high-levels=100,100,100,100,95 marker-levels=25,31,30,72,0 marker-low-levels=5,5,5,5,0 marker-names='Cyan\ TK-8335C,Magenta\ TK-8335M,Yellow\ TK-8335Y,Black\ TK-8335K,Waste\ Toner\ Box' marker-types=toner,toner,toner,toner,waste-toner media=iso_a4_210x297mm number-up=1 output-bin=tray-1 print-color-mode=color printer-commands=none printer-info='print-1 (Kyocera TASKalfa 3253ci)' printer-is-accepting-jobs=true printer-is-shared=true printer-is-temporary=false printer-location='Bocal (left)' printer-make-and-model='3253ci - IPP Everywhere' printer-state=3 printer-state-change-time=1631710539 printer-state-reasons=none printer-type=45180 printer-uri-supported=ipp://localhost/printers/print-1 sides=one-sided
See the "sides=one-sided" at the end, which doesn't come from
my config, where .cups/lpoptions contains:
Default print-1 ColorModel=Gray Duplex=DuplexNoTumble
Ditto with cups 2.3.3op2-7.
Note that I had added this printer with:
# lpadmin -p print-1 -v ipps://print-1.lip.ens-lyon.fr:443 -E -m everywhere \
-L "Bocal (left)"
On a Debian 10 (buster) machine, with the same .cups/lpoptions:
patate:~> lpoptions
ColorModel=Gray copies=1 device-uri=ipps://print-1.lip.ens-lyon.fr:443 Duplex=DuplexNoTumble finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=1631709869 marker-colors=#00FFFF,#FF00FF,#FFFF00,#000000,none marker-high-levels=100,100,100,100,95 marker-levels=25,31,30,72,0 marker-low-levels=5,5,5,5,0 marker-names='Cyan\ TK-8335C,Magenta\ TK-8335M,Yellow\ TK-8335Y,Black\ TK-8335K,Waste\ Toner\ Box' marker-types=toner,toner,toner,toner,waste-toner number-up=1 printer-commands=none printer-info='print-1 (Kyocera TASKalfa 3253ci)' printer-is-accepting-jobs=true printer-is-shared=true printer-is-temporary=false printer-location='Le Bocal, on the left GN1.347' printer-make-and-model='3253ci - IPP Everywhere' printer-state=3 printer-state-change-time=1631709892 printer-state-reasons=none printer-type=12412 printer-uri-supported=ipp://localhost/printers/print-1
i.e. without "sides=one-sided", which is OK.
So there has been some regression in recent cups versions.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-8-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages cups depends on:
ii cups-client 2.3.3op2-3+deb11u1
ii cups-common 2.3.3op2-3+deb11u1
ii cups-core-drivers 2.3.3op2-3+deb11u1
ii cups-daemon 2.3.3op2-3+deb11u1
ii cups-filters 1.28.10-2
ii cups-ppdc 2.3.3op2-3+deb11u1
ii cups-server-common 2.3.3op2-3+deb11u1
ii debconf [debconf-2.0] 1.5.77
ii ghostscript 9.53.3~dfsg-8
ii libavahi-client3 0.8-5
ii libavahi-common3 0.8-5
ii libc6 2.32-2
ii libcups2 2.3.3op2-3+deb11u1
ii libgcc-s1 11.2.0-5
ii libstdc++6 11.2.0-5
ii libusb-1.0-0 2:1.0.24-3
ii poppler-utils 20.09.0-3.1
ii procps 2:3.3.17-5
Versions of packages cups recommends:
ii avahi-daemon 0.8-5
ii colord 1.4.5-3
Versions of packages cups suggests:
ii cups-bsd 2.3.3op2-3+deb11u1
pn cups-pdf <none>
pn foomatic-db-compressed-ppds | foomatic-db <none>
pn smbclient <none>
ii udev 247.9-1
-- debconf information:
cupsys/backend: lpd, socket, usb, snmp, dnssd
cupsys/raw-print: true
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: