All of lore.kernel.org
 help / color / mirror / Atom feed
From: Till Kamppeter <till.kamppeter@gmail.com>
To: Michael Sweet <msweet@apple.com>, Tim Waugh <twaugh@redhat.com>
Cc: "printing-architecture@lists.linux-foundation.org"
	<printing-architecture@lists.linux-foundation.org>
Subject: Re: [Printing-architecture] Useful utility: cups-filter-check
Date: Fri, 27 Dec 2013 16:29:06 +0100	[thread overview]
Message-ID: <52BD9CC2.3030409@gmail.com> (raw)
In-Reply-To: <2F134E47-1770-43E0-9DC9-61D1E3066A08@apple.com>

On 12/16/2013 06:54 PM, Michael Sweet wrote:
> Tim,
> 
> On Dec 16, 2013, at 12:26 PM, Tim Waugh <twaugh@redhat.com> wrote:
>> ...
>> Incidentally, while playing around with it I noticed the only route from
>> application/vnd.adobe-reader-postscript -> application/vnd.cups-pdf is
>> via image/tiff. Is that intentional? I expect any printer capable of
>> handling PDF can also handle PostScript, and that path works fine at
>> less cost.
> 
> I'm guessing the reason for this is Adobe's stupid enforcement of PDF form content protection - some forms can't be processed by Ghostscript or Adobe's own PS distiller to generate PDF because of restrictions that are placed in the PostScript code.  But it is A-OK to RIP the content for printing/export to an image... :/
>

For going this way I suggest to go

PostScript --gstoraster-> CUPS Raster --rastertopdf-> PDF ...

as first, imagetopdf/imagetoraster supports only single-page TIFF and
HPLIPs pstotiff filter only produces monochrome low-res TIFF for faxing.

rastertopdf needs to get created anyway for making CUPS a complete IPP
Everywhere implementation, as IPP Everywhere printers need to take PWG
Raster as input format. See

http://www.cups.org/str.php?L4266

> But yes, if the printer reports support for PostScript then application/vnd.adobe-reader-postscript should go to application/vnd.cups-postscript without a side-trip through TIFF and PDF...

Yes, this I already cover in cups-filters,
application/vnd.adobe-reader-postscript is converted into
application/vnd.cups-postscript through pstops, without PDF detour.

   Till



  reply	other threads:[~2013-12-27 15:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-16 17:10 [Printing-architecture] Useful utility: cups-filter-check Tim Waugh
2013-12-16 17:17 ` Till Kamppeter
2013-12-16 17:19   ` Michael Sweet
2013-12-16 17:26   ` Tim Waugh
2013-12-16 17:54     ` Michael Sweet
2013-12-27 15:29       ` Till Kamppeter [this message]
2013-12-27 19:55 ` Alex Korobkin
2014-01-02  2:34   ` Michael Sweet

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=52BD9CC2.3030409@gmail.com \
    --to=till.kamppeter@gmail.com \
    --cc=msweet@apple.com \
    --cc=printing-architecture@lists.linux-foundation.org \
    --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.