Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1002459: lp: Unsupported document-format "application/x-idx-doc" when printing txt files

446 views
Skip to first unread message

Thomas Arendsen Hein

unread,
Dec 22, 2021, 8:00:03 AM12/22/21
to
Package: printer-driver-indexbraille
Version: 1.2.3-2
Severity: normal
X-Debbugs-Cc: tho...@intevation.de

Dear Maintainer,

during "apt-get dist-upgrade" from Debian buster to bullseye, the package
printer-driver-indexbraille 1.2.3-2 has been installed.

Due to this, the following problem started when trying to print simple text
files named *.txt. To reproduce:

$ echo > foo.txt
$ lp foo.txt
lp: Unsupported document-format "application/x-idx-doc".

Workaround:
$ cat foo.txt | lp

Context in /var/log/cups/error_log (after "cupsctl --debug-logging"):
D [22/Dec/2021:13:26:20 +0100] [Client 1] POST /printers/lmc HTTP/1.1
D [22/Dec/2021:13:26:20 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [22/Dec/2021:13:26:20 +0100] [Client 1] Read: status=200, state=6
D [22/Dec/2021:13:26:20 +0100] [Client 1] No authentication data provided.
D [22/Dec/2021:13:26:20 +0100] [Client 1] 2.0 Send-Document 5
D [22/Dec/2021:13:26:20 +0100] Send-Document ipp://localhost:631/printers/lmc
D [22/Dec/2021:13:26:20 +0100] cupsdIsAuthorized: requesting-user-name="thomas"
D [22/Dec/2021:13:26:20 +0100] [Job 1281] Auto-typing file...
D [22/Dec/2021:13:26:20 +0100] [Job 1281] Request file type is application/x-idx-doc.
D [22/Dec/2021:13:26:20 +0100] Send-Document client-error-document-format-not-supported: Unsupported document-format \"application/x-idx-doc\".
E [22/Dec/2021:13:26:20 +0100] [Client 1] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/lmc) from localhost.

The detection happened due to an entry for "txt" in
/usr/share/cups/mime/indexbraille.types

Removing the package solved the problem for me, but for people who need this
package installed or who don't know that this causes the problem, this should
be solved. My suggestion would be to remove the entry for "txt" from the file.

Best Regards,
Thomas Arendsen Hein


-- System Information:
Debian Release: 11.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-10-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages printer-driver-indexbraille depends on:
ii libc6 2.31-13+deb11u2

Versions of packages printer-driver-indexbraille recommends:
ii cups 2.3.3op2-3+deb11u1

printer-driver-indexbraille suggests no packages.
0 new messages