Bug#995792: cups: Rejects plaintext files, assuming they have indexed Braille format
Package: cups
Version: 2.3.3op2-7
Severity: normal
Hi,
when I'm trying to print plain text files, cups considers them to be in
indexed Braille format and rejects them as unsupported:
$ lpr foo.txt
lpr: Unsupported document-format "application/x-idx-doc".
It appears that /usr/share/cups/mime/indexbraille.types has a matching
rule, which shouldn't happen I guess, since the magic found there does
NOT match.
Purging printer-driver-indexbraille made the problem go away.
Cheers,
Nikolaus
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.14.0-1-amd64 (SMP w/4 CPU threads)
Locale: LANG=de_DE.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en
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-7
ii cups-common 2.3.3op2-7
ii cups-core-drivers 2.3.3op2-7
ii cups-daemon 2.3.3op2-7
ii cups-filters 1.28.10-2
ii cups-ppdc 2.3.3op2-7
ii cups-server-common 2.3.3op2-7
ii debconf [debconf-2.0] 1.5.77
ii ghostscript 9.54.0~dfsg-5
ii libavahi-client3 0.8-5
ii libavahi-common3 0.8-5
ii libc6 2.32-4
ii libcups2 2.3.3op2-7
ii libgcc-s1 11.2.0-8
ii libstdc++6 11.2.0-8
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-7
pn cups-pdf <none>
ii foomatic-db-compressed-ppds [foomatic-db] 20210824-1
pn smbclient <none>
ii udev 247.9-3
-- debconf information:
cupsys/raw-print: true
cupsys/backend: lpd, socket, usb, snmp, dnssd
Reply to: