From: Till Kamppeter <till.kamppeter@gmail.com>
To: TORATANI Yasumasa <toratani.yasumasa@canon.co.jp>,
printing-japan@lists.linux-foundation.org,
printing-architecture@lists.linux-foundation.org,
"twaugh@redhat.com" <twaugh@redhat.com>
Subject: [Printing-architecture] Problem with cupsCommand
Date: Fri, 05 Mar 2010 17:36:37 +0100 [thread overview]
Message-ID: <4B913315.70708@gmail.com> (raw)
In-Reply-To: <20100305095257.9953.E0F122DE@canon.co.jp>
On 03/05/2010 03:09 AM, TORATANI Yasumasa wrote:
> 6) CUPS bugs related to "cupsCommand" keyword
> - We think that the following "cupsCommand" spec is not preferable, and
> if a PPD does not contain "cupsCommand" keyword, it should be dealt
> that the printer driver defined by the PPD does not support
> "cupsCommand" features.
>
> http://www.cups.org/documentation.php/doc-1.4/spec-command.html
> "If no cupsCommands keyword is provided, the command filter must support
> AutoConfigure, Clean, PrintSelfTestPage, and ReportLevels"
>
> - Can this spec be changed in CUPS 1.5? *3
The problem is less the cupsCommands keyword and the defaults which are
used if cupsCommands is not supplied, the problem is more that if a
'*cupsFilter:' line like
*cupsFilter: "application/vnd.cups-postscript 100 pstopxl"
is supplied and no 'cupsCommands' attribute that the
CUPS_PRINTER_COMMANDS bit is set for the printer-type attribute. This
makes client applications assume that the printer supports CUPS commands
via the standard command filter commandtops. See
http://www.cups.org/str.php?L3273
But on the other side I have tested with a lot of print queues and found
out that only for native PostScript printers (no *cupsFilter line) and
for printers with explicit *cupsFilter line for a command filter in the
PPD support the application/vnd.cups-command input format (according to
error_log messages on daemon startup or queue creation, having set
LogLevel=debug2). A queue with the pstopxl filter from Ghostscript (Tim,
this is the case you reported in the CUPS bug report) is reported as not
supporting application/vnd.cups-command.
So a client should perhaps better check for available input formats and
ignore the CUPS_PRINTER_COMMANDS bit. Tim, please test (you could try to
send a status check to the printer and see if a "data format not
supported error gets reported").
Till
next prev parent reply other threads:[~2010-03-05 16:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-05 2:09 [Printing-architecture] OpenPrinting Japan Mar. 2010 meeting minutes (in English) TORATANI Yasumasa
2010-03-05 11:37 ` [Printing-architecture] [Printing-japan] " Till Kamppeter
2010-03-07 23:49 ` Olaf Meeuwissen
2010-03-14 14:12 ` Till Kamppeter
2010-03-14 16:23 ` Per Hermansson
2010-03-14 16:42 ` Till Kamppeter
2010-03-15 0:15 ` Olaf Meeuwissen
2010-03-15 0:15 ` Olaf Meeuwissen
2010-03-05 16:36 ` Till Kamppeter [this message]
[not found] ` <1267809667.2648.5.camel@worm>
2010-03-05 18:00 ` [Printing-architecture] Problem with cupsCommand Till Kamppeter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B913315.70708@gmail.com \
--to=till.kamppeter@gmail.com \
--cc=printing-architecture@lists.linux-foundation.org \
--cc=printing-japan@lists.linux-foundation.org \
--cc=toratani.yasumasa@canon.co.jp \
--cc=twaugh@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.