CUPS: Unsupported format "application/vnd.cups-banner" (Ошибка, появившаяся в результате очередного обновления)

Обсуждение настройки и работы сервисов, резервирования, сетевых настроек и вопросов безопасности ОС.

Модераторы: SLEDopit, Модераторы разделов

Maggio
Сообщения: 27
ОС: Linux

CUPS: Unsupported format "application/vnd.cups-banner"

Сообщение Maggio »

Конфигурация: Archlinux, Xerox Phaser 3117, SpliX V. 2.0.0. Конфигурация рабочая, неизменная. Принтером пользуюсь нечасто, потому сказать, что и в результате какого обновления сломалось, не могу.

В гугле данная ошибка представлена, но все случаи какие-то мутные и разные вдобавок.

Про application/vnd.cups-banner известно следующее: CUPS Banner File Format. В общем и целом понятно, что это такое. Непонятно только, куда могло деться и как вернуть на место. Можно было бы подумать, что только тестовая страница печататься не будет, но нет: не печатается ничего, да и job не формируется.

В Archwiki ничего нет, и на форуме не отвечают, что немного странно и весьма печально. Такие дела, а принтера нет уже скоро две недели.

[rant]
Нестабильность арча никогда не составляла и не составляет особой проблемы, за единственным исключением: CUPS и остальное принтерное хозяйство. Если по обновлении ничего не сломалось, каждый раз думаю - "значит, вы чего-то не заметили" ©. Сегодня особенно хреново, но и раньше бывало немногим лучше.
[rant]
Спасибо сказали:
IMB
Сообщения: 2567
ОС: Debian

Re: CUPS: Unsupported format "application/vnd.cups-banner"

Сообщение IMB »

Недавне у коллеги подобная ошибка вылечилась перезапуском CUPS.
Спасибо сказали:
Maggio
Сообщения: 27
ОС: Linux

Re: CUPS: Unsupported format "application/vnd.cups-banner"

Сообщение Maggio »

IMB писал(а):
25.12.2011 15:09
Недавне у коллеги подобная ошибка вылечилась перезапуском CUPS.

Рад за коллегу. Демон перезапустил? Попробую отдельно, хотя в процссе уже выключался/перезагружался...

UPD:

Включил принтер, сделал cupsd restart (успешно), попробовал напечатать тестовую страницу из Web-интерфейса CUPS - сабжевый облом :(

UPD:

Может это быть какая-нибудь хрень с правами? Что-то изменилось, а я и не знаю...
Спасибо сказали:
Maggio
Сообщения: 27
ОС: Linux

Re: CUPS: Unsupported format "application/vnd.cups-banner"

Сообщение Maggio »

Вот еще эксперимент:
$ lpr Requirements.txt
lpr: Error - no default destination available.
$ lpq
lpq: Error - no default destination available.
$ lpr -P Xerox_Phaser_3117 Requirements.txt
lpr: Unsupported document-format "text/plain".

Это что-нибудь значит ?

UPD:

Нарыл немного по поводу:
Вот, собственно.
reassign 381743 ghostscript-cups
retitle 381743 cups: Unsupported format 'any/format' (missing /etc/cups/pstoraster.convs)
found 381743 gs-esp/8.15.2.dfsg.1-1
quit

Ralf Hildebrandt wrote:

> $ lpr -P stylusd88 ~ingrid/reise
> lpr: Unsupported format 'text/plain'!

According to Till Kamppeter[1], the problem is that /etc/cups/*.convs are
marked as conffiles (and should not be).

Непонятно, к сожалению. /etc/cups/pstoraster.convs действительно отсутствует. Есть только /etc/cups/gstoraster.convs, начинка выглядит безобидной:
application/vnd.cups-pdf application/vnd.cups-raster 66 gstoraster
application/vnd.cups-postscript application/vnd.cups-raster 100 gstoraster
.
И что бы это значило? А Till Kamppeter, судя по заголовку файла /etc/cups/gstoraster.convs, большой человек. Должен бы знать, что говорит, только мне сложно понять...
Спасибо сказали:
Аватара пользователя
Ленивая Бестолочь
Бывший модератор
Сообщения: 2760
ОС: Debian; gentoo

Re: CUPS: Unsupported format "application/vnd.cups-banner"

Сообщение Ленивая Бестолочь »

поставте лог побольше
cupsctl loglevel=debug2
посмотрите, что напишется в лог.
Солнце садилось в море, а люди с неоконченным высшим образованием выбегали оттуда, думая, что море закипит.
Спасибо сказали:
Maggio
Сообщения: 27
ОС: Linux

Re: CUPS: Unsupported format "application/vnd.cups-banner"

Сообщение Maggio »

Ленивая Бестолочь писал(а):
25.12.2011 17:15
поставте лог побольше
cupsctl loglevel=debug2
посмотрите, что напишется в лог.

В ответ на
$ lpr -P Xerox_Phaser_3117 Requirements.txt
lpr: Unsupported document-format "text/plain".

имеем (уровень debug)

Код: Выделить всё

I [25/Dec/2011:19:54:15 +0400] Listening to 0.0.0.0:631 (IPv4)
I [25/Dec/2011:19:54:15 +0400] Listening to [v1.::]:631 (IPv6)
I [25/Dec/2011:19:54:15 +0400] Listening to /var/run/cups/cups.sock (Domain)
I [25/Dec/2011:19:54:15 +0400] Remote access is enabled.
D [25/Dec/2011:19:54:15 +0400] Added auto ServerAlias stovepipebox
D [25/Dec/2011:19:54:15 +0400] Added auto ServerAlias localhost.localdomain
D [25/Dec/2011:19:54:15 +0400] Added auto ServerAlias localhost
D [25/Dec/2011:19:54:15 +0400] Added auto ServerAlias localhost6.localdomain6
D [25/Dec/2011:19:54:15 +0400] Added auto ServerAlias localhost6
D [25/Dec/2011:19:54:15 +0400] Added auto ServerAlias stovepipebox.localdomain
I [25/Dec/2011:19:54:15 +0400] Loaded configuration file "/etc/cups/cupsd.conf"
D [25/Dec/2011:19:54:15 +0400] Repairing access permissions of "/etc/cups/classes.conf"
I [25/Dec/2011:19:54:15 +0400] Using default TempDir of /var/spool/cups/tmp...
I [25/Dec/2011:19:54:15 +0400] Configured for up to 100 clients.
I [25/Dec/2011:19:54:15 +0400] Allowing up to 100 client connections per host.
I [25/Dec/2011:19:54:15 +0400] Using policy "default" as the default.
I [25/Dec/2011:19:54:15 +0400] Full reload is required.
E [25/Dec/2011:19:54:16 +0400] Filter "gstoraster" not found.
E [25/Dec/2011:19:54:16 +0400] Filter "gstoraster" not found.
I [25/Dec/2011:19:54:16 +0400] Loaded MIME database from "/usr/share/cups/mime" and "/etc/cups": 35 types, 40 filters...
D [25/Dec/2011:19:54:16 +0400] Loading printer Xerox_Phaser_3117...
D [25/Dec/2011:19:54:16 +0400] load_ppd: Loading /var/cache/cups/Xerox_Phaser_3117.data...
D [25/Dec/2011:19:54:16 +0400] cupsdRegisterPrinter(p=0xb8452370(Xerox_Phaser_3117))
I [25/Dec/2011:19:54:16 +0400] Loading job cache file "/var/cache/cups/job.cache"...
D [25/Dec/2011:19:54:16 +0400] [Job 158] Loading from cache...
D [25/Dec/2011:19:54:16 +0400] [Job 159] Loading from cache...
D [25/Dec/2011:19:54:16 +0400] [Job 160] Loading from cache...
D [25/Dec/2011:19:54:16 +0400] [Job 161] Loading from cache...
I [25/Dec/2011:19:54:16 +0400] Full reload complete.
D [25/Dec/2011:19:54:16 +0400] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")
I [25/Dec/2011:19:54:16 +0400] Cleaning out old files in "/var/spool/cups/tmp"...
D [25/Dec/2011:19:54:16 +0400] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")
I [25/Dec/2011:19:54:16 +0400] Cleaning out old files in "/var/cache/cups"...
I [25/Dec/2011:19:54:16 +0400] Listening to 0.0.0.0:631 on fd 8...
I [25/Dec/2011:19:54:16 +0400] Listening to [v1.::]:631 on fd 9...
I [25/Dec/2011:19:54:16 +0400] Listening to /var/run/cups/cups.sock:631 on fd 10...
I [25/Dec/2011:19:54:16 +0400] Resuming new connection processing...
D [25/Dec/2011:19:54:16 +0400] Avahi client connecting
D [25/Dec/2011:19:54:16 +0400] cupsdRegisterPrinter(p=0xb8452370(Xerox_Phaser_3117))
D [25/Dec/2011:19:54:16 +0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [25/Dec/2011:19:54:16 +0400] Discarding unused server-started event...
D [25/Dec/2011:19:54:17 +0400] Report: clients=0
D [25/Dec/2011:19:54:17 +0400] Report: jobs=4
D [25/Dec/2011:19:54:17 +0400] Report: jobs-active=0
D [25/Dec/2011:19:54:17 +0400] Report: printers=1
D [25/Dec/2011:19:54:17 +0400] Report: printers-implicit=0
D [25/Dec/2011:19:54:17 +0400] Report: stringpool-string-count=7804
D [25/Dec/2011:19:54:17 +0400] Report: stringpool-alloc-bytes=9144
D [25/Dec/2011:19:54:17 +0400] Report: stringpool-total-bytes=138072
D [25/Dec/2011:19:54:30 +0400] cupsdAcceptClient: 15 from localhost (Domain)
D [25/Dec/2011:19:54:30 +0400] cupsdReadClient: 15 POST / HTTP/1.1
D [25/Dec/2011:19:54:30 +0400] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [25/Dec/2011:19:54:30 +0400] cupsdAuthorize: No authentication data provided.
D [25/Dec/2011:19:54:30 +0400] cupsdReadClient: 15 1.1 Get-Printer-Attributes 1
D [25/Dec/2011:19:54:30 +0400] Get-Printer-Attributes ipp://localhost:631/printers/Xerox_Phaser_3117
D [25/Dec/2011:19:54:30 +0400] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost:631/printers/Xerox_Phaser_3117) from localhost
D [25/Dec/2011:19:54:30 +0400] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [25/Dec/2011:19:54:30 +0400] cupsdReadClient: 15 POST /printers/Xerox_Phaser_3117 HTTP/1.1
D [25/Dec/2011:19:54:30 +0400] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [25/Dec/2011:19:54:30 +0400] cupsdAuthorize: No authentication data provided.
D [25/Dec/2011:19:54:30 +0400] cupsdReadClient: 15 1.1 Create-Job 1
D [25/Dec/2011:19:54:30 +0400] Create-Job ipp://localhost:631/printers/Xerox_Phaser_3117
D [25/Dec/2011:19:54:30 +0400] cupsdMarkDirty(----J-)
D [25/Dec/2011:19:54:30 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients"
D [25/Dec/2011:19:54:30 +0400] add_job: requesting-user-name="alexey"
I [25/Dec/2011:19:54:30 +0400] [Job 162] Adding start banner page "none".
D [25/Dec/2011:19:54:30 +0400] Discarding unused job-created event...
I [25/Dec/2011:19:54:30 +0400] [Job 162] Queued on "Xerox_Phaser_3117" by "alexey".
D [25/Dec/2011:19:54:30 +0400] Returning IPP successful-ok for Create-Job (ipp://localhost:631/printers/Xerox_Phaser_3117) from localhost
D [25/Dec/2011:19:54:30 +0400] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [25/Dec/2011:19:54:30 +0400] cupsdReadClient: 15 POST /printers/Xerox_Phaser_3117 HTTP/1.1
D [25/Dec/2011:19:54:30 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [25/Dec/2011:19:54:30 +0400] cupsdAuthorize: No authentication data provided.
D [25/Dec/2011:19:54:30 +0400] cupsdReadClient: 15 1.1 Send-Document 1
D [25/Dec/2011:19:54:30 +0400] Send-Document ipp://localhost:631/printers/Xerox_Phaser_3117
D [25/Dec/2011:19:54:30 +0400] cupsdIsAuthorized: requesting-user-name="alexey"
D [25/Dec/2011:19:54:30 +0400] [Job 162] Auto-typing file...
D [25/Dec/2011:19:54:30 +0400] [Job 162] Request file type is text/plain.
D [25/Dec/2011:19:54:30 +0400] Send-Document client-error-document-format-not-supported: Unsupported document-format "text/plain".
E [25/Dec/2011:19:54:30 +0400] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/Xerox_Phaser_3117) from localhost
D [25/Dec/2011:19:54:30 +0400] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [25/Dec/2011:19:54:30 +0400] cupsdReadClient: 15 POST /jobs/ HTTP/1.1
D [25/Dec/2011:19:54:30 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [25/Dec/2011:19:54:30 +0400] cupsdAuthorize: No authentication data provided.
D [25/Dec/2011:19:54:30 +0400] cupsdReadClient: 15 1.1 Cancel-Job 1
D [25/Dec/2011:19:54:30 +0400] Cancel-Job ipp://localhost:631/printers/Xerox_Phaser_3117
D [25/Dec/2011:19:54:30 +0400] cupsdIsAuthorized: requesting-user-name="alexey"
D [25/Dec/2011:19:54:30 +0400] Discarding unused job-completed event...
I [25/Dec/2011:19:54:30 +0400] [Job 162] Job canceled by "alexey"
D [25/Dec/2011:19:54:30 +0400] cupsdMarkDirty(----J-)
D [25/Dec/2011:19:54:30 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [25/Dec/2011:19:54:30 +0400] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [25/Dec/2011:19:54:30 +0400] [Job 162] Canceled by "alexey".
D [25/Dec/2011:19:54:30 +0400] Returning IPP successful-ok for Cancel-Job (ipp://localhost:631/printers/Xerox_Phaser_3117) from localhost
D [25/Dec/2011:19:54:30 +0400] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [25/Dec/2011:19:54:30 +0400] cupsdReadClient: 15 WAITING Closing on EOF
D [25/Dec/2011:19:54:30 +0400] cupsdCloseClient: 15
D [25/Dec/2011:19:54:30 +0400] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [25/Dec/2011:19:54:31 +0400] [Job 162] Unloading...
Спасибо сказали:
Аватара пользователя
broom
Бывший модератор
Сообщения: 1629
Статус: мизантроп.ка
ОС: Gentoo

Re: CUPS: Unsupported format "application/vnd.cups-banner"

Сообщение broom »

"text/plain" есть в файле /etc/cups/mime.types или /usr/share/cups/mime/mime.types?
but in the darkness, behind your smile, you scream... © Dio
Спасибо сказали:
Maggio
Сообщения: 27
ОС: Linux

Re: CUPS: Unsupported format "application/vnd.cups-banner"

Сообщение Maggio »

broom писал(а):
25.12.2011 23:44
"text/plain" есть в файле /etc/cups/mime.types или /usr/share/cups/mime/mime.types?

/etc/cups/mime.types отсутствует, есть /etc/cups/command.types:

Код: Выделить всё

#
# "$Id: command.types,v 1.2 2007/12/23 17:31:51 easysw Exp $"
#
#   MIME types file for the CUPS drivers.
#
#   Copyright 1993-2000 by Easy Software Products.
#
#   This program is free software; you can redistribute it and/or modify it
#   under the terms of the GNU General Public License as published by the Free
#   Software Foundation; either version 2 of the License, or (at your option)
#   any later version.
#
#   This program is distributed in the hope that it will be useful, but
#   WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
#   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
#   for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program; if not, write to the Free Software
#   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#

# Define the new application/vnd.cups-command filetype...
application/vnd.cups-command    string(0,'#CUPS-COMMAND')

#
# End of "$Id: command.types,v 1.2 2007/12/23 17:31:51 easysw Exp $".
#

/usr/share/cups/mime/mime.types:

Код: Выделить всё

#
# "$Id: mime.types 9667 2011-04-01 04:48:21Z mike $"
#
#   Base MIME types file for CUPS.
#
#   DO NOT EDIT THIS FILE, AS IT IS OVERWRITTEN WHEN YOU INSTALL NEW
#   VERSIONS OF CUPS.  Instead, create a "local.types" file that
#   reflects your local configuration changes.
#
#   Copyright 2007-2011 by Apple Inc.
#   Copyright 1997-2007 by Easy Software Products.
#
#   These coded instructions, statements, and computer programs are the
#   property of Apple Inc. and are protected by Federal copyright
#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
#   which should have been included with this file.  If this file is
#   file is missing or damaged, see the license at "http://www.cups.org/".
#

########################################################################
#
# Format of Lines:
#
#   super/type rules
#
# "rules" can be any combination of:
#
#   ( expr )                Parenthesis for expression grouping
#   +                    Logical AND
#   , or whitespace            Logical OR
#   !                    Logical NOT
#   match("pattern")            Pattern match on filename
#   extension                Pattern match on "*.extension"
#   ascii(offset,length)        True if bytes are valid printable ASCII
#                    (CR, NL, TAB, BS, 32-126)
#   priority(number)                    Sets priority of type (0=lowest,
#                                       100=default, 200=highest)
#   printable(offset,length)        True if bytes are printable 8-bit chars
#                    (CR, NL, TAB, BS, 32-126, 128-254)
#   string(offset,"string")        True if bytes are identical to string
#   istring(offset,"string")        True if bytes are identical to
#                                       case-insensitive string
#   char(offset,value)            True if byte is identical
#   short(offset,value)            True if 16-bit integer is identical
#   int(offset,value)            True if 32-bit integer is identical
#   locale("string")                    True if current locale matches string
#   contains(offset,range,"string")    True if the range contains the string
#
# General Notes:
#
#   MIME type names are case-insensitive.  Internally they are converted
#   to lowercase.  Multiple occurrences of a type will cause the provided
#   rules to be appended to the existing definition.  If two types use the same
#   rules to resolve a type and have the same priority, e.g. "doc" extension for
#   "text/bar" and "text/foo", the returned type will be the first type as
#   sorted in alphanumerically ascending order without regard to case.  Thus,
#   the "text/bar" type will match the "doc" extension first unless the
#   "text/foo" type has specified a higher priority.
#
#   The "printable" rule differs from the "ascii" rule in that it also
#   accepts 8-bit characters in the range 128-255.
#
#   String constants must be surrounded by "" if they contain whitespace.
#   To insert binary data into a string, use the <hex> notation.
#

########################################################################
#
# Application-generated files...
#

#application/msword        doc string(0,<D0CF11E0A1B11AE1>)
application/pdf            pdf string(0,%PDF)
application/postscript        ai eps ps string(0,%!) string(0,<04>%!) \
                contains(0,128,<1B>%-12345X) + \
                (contains(0,4096,"LANGUAGE=POSTSCRIPT") \
                 contains(0,4096,"LANGUAGE = Postscript") \
                 contains(0,4096,"LANGUAGE = PostScript") \
                 contains(0,4096,"LANGUAGE = POSTSCRIPT") \
                 (contains(0,4096,<0a>%!) + \
                  !contains(0,4096,"ENTER LANGUAGE")))

########################################################################
#
# Image files...
#

image/gif            gif string(0,GIF87a) string(0,GIF89a)
image/png            png string(0,<89>PNG)
image/jpeg            jpeg jpg jpe string(0,<FFD8FF>) +\
                (char(3,0xe0) char(3,0xe1) char(3,0xe2) char(3,0xe3)\
                 char(3,0xe4) char(3,0xe5) char(3,0xe6) char(3,0xe7)\
                 char(3,0xe8) char(3,0xe9) char(3,0xea) char(3,0xeb)\
                 char(3,0xec) char(3,0xed) char(3,0xee) char(3,0xef))
image/pwg-raster        string(0,"RaS2") + string(356,<0000000000000000>) priority(100)
image/tiff            tiff tif string(0,MM<002A>) string(0,II<2A00>)
image/x-photocd            pcd string(2048,PCD_IPI)
image/x-portable-anymap        pnm
image/x-portable-bitmap        pbm string(0,P1) string(0,P4)
image/x-portable-graymap    pgm string(0,P2) string(0,P5)
image/x-portable-pixmap        ppm string(0,P3) string(0,P6)
image/x-sgi-rgb            rgb sgi bw icon short(0,474)
image/x-xbitmap            xbm
image/x-xpixmap            xpm ascii(0,1024) + string(3,"XPM")
#image/x-xwindowdump        xwd string(4,<00000007>)
image/x-sun-raster        ras string(0,<59a66a95>)

#image/fpx            fpx
image/x-alias            pix short(8,8) short(8,24)
image/x-bitmap            bmp string(0,BM) + !printable(2,14)
image/x-icon            ico

########################################################################
#
# Text files...
#

application/x-cshell        csh printable(0,1024) + string(0,#!) +\
                (contains(2,80,/csh) contains(2,80,/tcsh))
application/x-perl        pl printable(0,1024) + string(0,#!) +\
                contains(2,80,/perl)
application/x-shell        sh printable(0,1024) + string(0,#!) +\
                (contains(2,80,/bash) contains(2,80,/ksh)\
                 contains(2,80,/sh) contains(2,80,/zsh))
application/x-csource        c cxx cpp cc C h hpp \
                printable(0,1024) + \
                (string(0,/*) string(0,//)
                 string(0,#include) contains(0,1024,<0a>#include) \
                 string(0,#define) contains(0,1024,<0a>#define))
text/html            html htm printable(0,1024) +\
                (istring(0,"<HTML>") istring(0,"<!DOCTYPE"))
text/plain            txt printable(0,1024)
text/css            css


########################################################################
#
# RSS feed type...
#

application/rss+xml        rss


########################################################################
#
# CUPS-specific types...
#

application/vnd.cups-banner    string(0,'#CUPS-BANNER')
application/vnd.cups-command    string(0,'#CUPS-COMMAND')
application/vnd.cups-pdf
application/vnd.cups-postscript
application/vnd.cups-ppd    ppd string(0,"*PPD-Adobe:")
application/vnd.cups-raster    string(0,"RaSt") string(0,"tSaR") \
                string(0,"RaS2") string(0,"2SaR") \
                string(0,"RaS3") string(0,"3SaR")
application/vnd.cups-raw    (string(0,<1B>E) + !string(2,<1B>%0B)) \
                string(0,<1B>@) \
                (contains(0,128,<1B>%-12345X) + \
                 (contains(0,4096,"LANGUAGE=PCL") \
                  contains(0,4096,"LANGUAGE = PCL")))

########################################################################
#
# Raw print file support...
#
# Comment the following type to prevent raw file printing.
#

application/octet-stream

#
# End of "$Id: mime.types 9667 2011-04-01 04:48:21Z mike $".
#

/usr/share/cups/mime/mime.convs:

Код: Выделить всё

#
# "$Id: mime.convs.in 9750 2011-05-06 22:53:53Z mike $"
#
#   DO NOT EDIT THIS FILE, AS IT IS OVERWRITTEN WHEN YOU INSTALL NEW
#   VERSIONS OF CUPS.  Instead, create a "local.convs" file that
#   reflects your local configuration changes.
#
#   Base MIME conversions file for CUPS.
#
#   Copyright 2007-2011 by Apple Inc.
#   Copyright 1997-2007 by Easy Software Products.
#
#   These coded instructions, statements, and computer programs are the
#   property of Apple Inc. and are protected by Federal copyright
#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
#   which should have been included with this file.  If this file is
#   file is missing or damaged, see the license at "http://www.cups.org/".
#

########################################################################
#
# Format of Lines:
#
#   source/type destination/type cost filter
#
# General Notes:
#
#   The "cost" field is used to find the least costly filters to run
#   when converting a job file to a printable format.
#
#   All filters *must* accept the standard command-line arguments
#   (job-id, user, title, copies, options, [filename or stdin]) to
#   work with CUPS.
#

########################################################################
#
# PostScript filters
#

application/pdf            application/vnd.cups-postscript    66    pdftops
application/postscript        application/vnd.cups-postscript    66    pstops
application/x-cshell        application/postscript        33    texttops
application/x-csource        application/postscript        33    texttops
application/x-perl        application/postscript        33    texttops
application/x-shell        application/postscript        33    texttops
text/plain            application/postscript        33    texttops
text/css            application/postscript        33    texttops
text/html            application/postscript        33    texttops
image/gif            application/vnd.cups-postscript    66    imagetops
image/png            application/vnd.cups-postscript    66    imagetops
image/jpeg            application/vnd.cups-postscript    66    imagetops
image/tiff            application/vnd.cups-postscript    66    imagetops
image/x-bitmap            application/vnd.cups-postscript    66    imagetops
image/x-photocd            application/vnd.cups-postscript    66    imagetops
image/x-portable-anymap        application/vnd.cups-postscript    66    imagetops
image/x-portable-bitmap        application/vnd.cups-postscript    66    imagetops
image/x-portable-graymap    application/vnd.cups-postscript    66    imagetops
image/x-portable-pixmap        application/vnd.cups-postscript    66    imagetops
image/x-sgi-rgb            application/vnd.cups-postscript    66    imagetops
image/x-xbitmap            application/vnd.cups-postscript    66    imagetops
image/x-xpixmap            application/vnd.cups-postscript    66    imagetops
image/x-sun-raster        application/vnd.cups-postscript    66    imagetops
application/vnd.cups-banner    application/postscript        33    bannertops

########################################################################
#
# Raster filters...
#

image/gif            application/vnd.cups-raster    100    imagetoraster
image/png            application/vnd.cups-raster    100    imagetoraster
image/jpeg            application/vnd.cups-raster    100    imagetoraster
image/tiff            application/vnd.cups-raster    100    imagetoraster
image/x-bitmap            application/vnd.cups-raster    100    imagetoraster
image/x-photocd            application/vnd.cups-raster    100    imagetoraster
image/x-portable-anymap        application/vnd.cups-raster    100    imagetoraster
image/x-portable-bitmap        application/vnd.cups-raster    100    imagetoraster
image/x-portable-graymap    application/vnd.cups-raster    100    imagetoraster
image/x-portable-pixmap        application/vnd.cups-raster    100    imagetoraster
image/x-sgi-rgb            application/vnd.cups-raster    100    imagetoraster
image/x-xbitmap            application/vnd.cups-raster    100    imagetoraster
image/x-xpixmap            application/vnd.cups-raster    100    imagetoraster
image/x-sun-raster        application/vnd.cups-raster    100    imagetoraster

# PWG Raster filter for IPP Everywhere...
application/vnd.cups-raster    image/pwg-raster        100    rastertopwg

########################################################################
#
# Raw filter...
#
# Uncomment the following filter to allow printing of arbitrary files
# without the -oraw option.
#

application/octet-stream    application/vnd.cups-raw    0    -

#
# End of "$Id: mime.convs.in 9750 2011-05-06 22:53:53Z mike $".
#

Да, CUPS 1.5.0
Спасибо сказали:
Maggio
Сообщения: 27
ОС: Linux

Re: CUPS: Unsupported format "application/vnd.cups-banner"

Сообщение Maggio »

Оказывается, надо было переустановить ghostscript. В гугле намек на такое дело всплывал; беда в том, что я знал совершенно точно (и не ошибался), что пакет установлен. Потому и попробовал только от отчаяния... Unix way, между прочим, отучает от лечения переустановкой, да.

Тогда вопрос общего характера: в каких случаях разумно предполагать, что переустановка показана?
Спасибо сказали: