All of lore.kernel.org
 help / color / mirror / Atom feed
From: Till Kamppeter <till.kamppeter@gmail.com>
To: Koji Otani <sho@bbr.jp>
Cc: toratani.yasumasa@canon.co.jp,
	printing-architecture@lists.linux-foundation.org
Subject: Re: [Printing-architecture] PDF CUPS filter packages
Date: Thu, 05 Jun 2008 12:53:46 +0200	[thread overview]
Message-ID: <4847C5BA.7050304@gmail.com> (raw)
In-Reply-To: <20080605.193227.233691471.sho@bbr.jp>

Koji Otani wrote:
> till.kamppeter> Koji Otani wrote:
> till.kamppeter> > The CUPS source is needed by imagetopdf. This is because it use a CUPS's
> till.kamppeter> > internal function to be compatible with imagetops. Importing this code
> till.kamppeter> > into imagetopdf's source, the CUPS's full source will not be needed.
> till.kamppeter> >
> till.kamppeter> 
> till.kamppeter> Then you should file an STR for CUPS (http://www.cups.org/str.php, 
> till.kamppeter> feature request for CUPS 1.4) with a patch for the current SVN snapshot 
> till.kamppeter> which integrates this filter.
> till.kamppeter> 

Will you post the STR?

> 
> The Poppler's external API is higer level such as render_to_pixbuf.
> PDF filters are using many lower level such as page->getResourceDict.
> Anyway, I'll ask  Poppler project to make lower level API external.
>

OK. Please find a solution with them, either via low-level API or by 
making the filters part of the Poppler project.

> till.kamppeter> File a bug at bugs.ghostscript.com, telling that this operation is 
> till.kamppeter> needed for the permitted action of PRINTING. Tell also that we are 
> till.kamppeter> implementing the PDF printing workflow where pstops gets replaced by 
> till.kamppeter> pdftopdf.
> till.kamppeter> 
> 
> This is more complicated. GS doesn't check this, Adobe Reader 8 seems
> to use a trick.
> Following code is embeded in output PS:
> ----------------------
> %ADOBeginClientInjection: DocumentSetup Start "No Re-Distill"
> %% Removing the following eleven lines is illegal, subject to the
> Digital Copyright Act of 1998.
> mark currentfile eexec
> 54dc5232e897cbaaa7584b7da7c23a6c59e7451851159cdbf40334cc2600
> .....
> ----------------------
> 
> So, this will not be a matter of GS.
> 

GS is executing this embedded code which probably makes the PostScript 
interpreter exit with this error. One could modify Ghostscript to not 
exit under certain circumstances, for example if the output is going to 
stdout or if GS is running as a system user. You should contact the 
Ghostscript developers about that.

    Till


  parent reply	other threads:[~2008-06-05 10:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-03  6:43 [Printing-architecture] PDF CUPS filter packages TORATANI Yasumasa
2008-06-03 13:06 ` Till Kamppeter
     [not found]   ` <20080604.105602.104056266.sho@bbr.jp>
2008-06-04  9:07     ` Till Kamppeter
     [not found]       ` <20080604.181746.02274177.sho@bbr.jp>
2008-06-04 11:59         ` Till Kamppeter
2008-06-04 23:16           ` Olaf Meeuwissen
     [not found]             ` <20080605.181530.212681540.sho@bbr.jp>
2008-06-05 23:35               ` Olaf Meeuwissen
     [not found]           ` <20080605.153828.28801505.sho@bbr.jp>
2008-06-05  7:25             ` Till Kamppeter
     [not found]               ` <20080605.193227.233691471.sho@bbr.jp>
2008-06-05 10:53                 ` Till Kamppeter [this message]
     [not found]                   ` <20080606.145117.189705417.sho@bbr.jp>
2008-06-06  6:55                     ` Till Kamppeter
2008-06-05 21:34                 ` Till Kamppeter
2008-06-05 21:46                 ` Till Kamppeter
2008-06-05 22:07                 ` 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=4847C5BA.7050304@gmail.com \
    --to=till.kamppeter@gmail.com \
    --cc=printing-architecture@lists.linux-foundation.org \
    --cc=sho@bbr.jp \
    --cc=toratani.yasumasa@canon.co.jp \
    /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.