Portál AbcLinuxu, 15. května 2024 09:41


Dotaz: CUPS 1.2.4: Unsupported format

David Watzke avatar 12.10.2006 06:25 David Watzke | skóre: 74 | blog: Blog... | Praha
CUPS 1.2.4: Unsupported format
Přečteno: 450×
Odpovědět | Admin
Ahoj,

když jsem konečně rozjel CUPS 1.2 v KDE (stačilo v nastavení správce nastavit, aby se přihlašoval jako root), tak je mi to stejně k ničemu, protože:
$ echo wohoo|lp
lp: Unsupported format 'text/plain'!
To stejný pod rootem. Když chci přes CUPS http rozhraní vytisknout testovací stránku, hodí to pro změnu
Unsupported format 'application/postscript'!
Když nastavím logování na "debug", po pokusu o tisk se v error_log objeví:
D [12/Oct/2006:06:23:44 +0200] cupsdCloseClient: 12
D [12/Oct/2006:06:23:44 +0200] cupsdCloseClient: 9
D [12/Oct/2006:06:23:44 +0200] cupsdCloseClient: 10
D [12/Oct/2006:06:23:44 +0200] cupsdCloseClient: 11
D [12/Oct/2006:06:23:44 +0200] cupsdCloseClient: 8
D [12/Oct/2006:06:23:44 +0200] cupsdCloseClient: 13
D [12/Oct/2006:06:23:44 +0200] cupsdCloseClient: 14
D [12/Oct/2006:06:23:44 +0200] cupsdReadClient: 6 POST / HTTP/1.1
D [12/Oct/2006:06:23:44 +0200] cupsdAuthorize: No authentication data provided.
D [12/Oct/2006:06:23:44 +0200] Get-Printer-Attributes ipp://localhost/printers/printer
D [12/Oct/2006:06:23:44 +0200] cupsdProcessIPPRequest: 6 status_code=0 (successful-ok)
D [12/Oct/2006:06:23:44 +0200] cupsdReadClient: 6 GET /printers/printer.ppd HTTP/1.1
D [12/Oct/2006:06:23:44 +0200] cupsdAuthorize: No authentication data provided.
D [12/Oct/2006:06:23:44 +0200] write_file: 6 file=8
D [12/Oct/2006:06:23:44 +0200] cupsdAcceptClient: 8 from localhost:631 (IPv4)
D [12/Oct/2006:06:23:44 +0200] cupsdReadClient: 8 POST /printers/printer HTTP/1.1
D [12/Oct/2006:06:23:44 +0200] cupsdAuthorize: No authentication data provided.
D [12/Oct/2006:06:23:44 +0200] Print-Job ipp://localhost/printers/printer
D [12/Oct/2006:06:23:44 +0200] print_job: auto-typing file...
D [12/Oct/2006:06:23:44 +0200] print_job: request file type is application/postscript.
D [12/Oct/2006:06:23:44 +0200] Print-Job client-error-document-format-not-supported: Unsupported format 'application/postscript'!
D [12/Oct/2006:06:23:44 +0200] cupsdProcessIPPRequest: 8 status_code=40a (client-error-document-format-not-supported)
D [12/Oct/2006:06:23:44 +0200] cupsdCloseClient: 8
D [12/Oct/2006:06:23:44 +0200] cupsdAcceptClient: 8 from localhost:631 (IPv4)
D [12/Oct/2006:06:23:44 +0200] cupsdReadClient: 8 POST /printers/ HTTP/1.1
D [12/Oct/2006:06:23:44 +0200] cupsdAuthorize: No authentication data provided.
D [12/Oct/2006:06:23:44 +0200] CUPS-Get-Printers
D [12/Oct/2006:06:23:44 +0200] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [12/Oct/2006:06:23:44 +0200] cupsdCloseClient: 8
D [12/Oct/2006:06:23:44 +0200] cupsdAcceptClient: 8 from localhost:631 (IPv4)
D [12/Oct/2006:06:23:44 +0200] cupsdReadClient: 8 POST /classes/ HTTP/1.1
D [12/Oct/2006:06:23:44 +0200] cupsdAuthorize: No authentication data provided.
D [12/Oct/2006:06:23:44 +0200] CUPS-Get-Classes
D [12/Oct/2006:06:23:44 +0200] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [12/Oct/2006:06:23:44 +0200] cupsdCloseClient: 8
D [12/Oct/2006:06:23:44 +0200] cupsdAcceptClient: 8 from localhost:631 (IPv4)
D [12/Oct/2006:06:23:44 +0200] cupsdReadClient: 8 POST /printers/ HTTP/1.1
D [12/Oct/2006:06:23:44 +0200] cupsdAuthorize: No authentication data provided.
D [12/Oct/2006:06:23:44 +0200] CUPS-Get-Default
D [12/Oct/2006:06:23:44 +0200] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [12/Oct/2006:06:23:44 +0200] cupsdCloseClient: 8
D [12/Oct/2006:06:23:44 +0200] cupsdAcceptClient: 8 from localhost:631 (IPv4)
D [12/Oct/2006:06:23:44 +0200] cupsdReadClient: 8 POST / HTTP/1.1
D [12/Oct/2006:06:23:44 +0200] cupsdAuthorize: No authentication data provided.
D [12/Oct/2006:06:23:44 +0200] Get-Jobs ipp://localhost:631/printers/printer
D [12/Oct/2006:06:23:44 +0200] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [12/Oct/2006:06:23:44 +0200] cupsdCloseClient: 8
Netušíte někdo čím to? :-(
“Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon

Řešení dotazu:


Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

David Watzke avatar 12.10.2006 07:11 David Watzke | skóre: 74 | blog: Blog... | Praha
Rozbalit Rozbalit vše Re: CUPS 1.2.4: Unsupported format
Odpovědět | | Sbalit | Link | Blokovat | Admin
Tak už to jede! Během emerge novýho CUPSu to píše, ať spustíte
FEATURES=-collision-protect emerge -va1 \
$(qfile -qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::")
Jenže to mi nepomohlo. Pomohlo:
echo media-gfx/gimp-print foomaticdb>>/etc/portage/package.use
emerge -uN gimp-print
“Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.