[Printing-architecture] PDF CUPS filter packages

Till Kamppeter till.kamppeter at gmail.com
Thu Jun 5 03:53:46 PDT 2008


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



More information about the Printing-architecture mailing list