Problem with 'pdftops' filter

Helge Blischke h.blischke at srz.de
Mon May 2 06:20:28 PDT 2005


Julien Bossert wrote:
> 
> Helge:
> >
> > Now I'm getting short if ideas ...
> >
> > If your CUPS insatallation really uses the alternate pdftops filter:
> >
> > 1) is it a Perl script?
> 
> Yes, it's your Perl scrip!  ;-)
> 
> #!/usr/bin/perl -w
> # pdftops.pl - wrapper script for xpdf's pdftops utility to act as a CUPS filter
> # ==============================================================================
> # 1.00 - 2004-10-05/Bl
> #       Initial implementation
> #
> # Copyright: Helge Blischke / SRZ Berlin 2004
> 
> > 2) if yes, does the line 67 (at least in my original script) read like
> >       $pdftops_p>    (the path may be different on your box)?
> 
> Line 67:
> $pdftops_path = "/usr/bin/pdftops";     # path to the xpdf utility
> 
> > 3) if yes, if your execute that utility without parameters, what does
> ath = "/usr/local/bin/pdftops";       # path to the xpdf utility
> > it tell?
> 
> bossert at lebowski ~ $ /usr/bin/pdftops
> pdftops version 3.00
> Copyright 1996-2004 Glyph & Cog, LLC
> Usage: pdftops [options] <PDF-file> [<PS-file>]
> [...]
> 
> > and,
> > 4) is there a line reading
> >       $cmdopt = "-cfg " . $ENV{CUPS_SERVERROOT} . "/pdftops.conf"; # This cannot be changed
> >    (in my scripr it is line # 107)?
> 
> Line 107:
> $cmdopt = "-cfg " . $ENV{CUPS_SERVERROOT} . "/pdftops.conf";    # This cannot be changed
> 
> There are messages like that in error_log:
> E [02/May/2005:12:48:17 +0200] [Job 495] pdftops-options: -cfg /etc/cups/pdftops.conf
This message is simply a residue from my testing period. I forgot to
delete or comment it
out. Sorry.
> 
> Well, we're facing some paranormal situation...
It seems so. What looks your printers.conf like?
And, is the PPD you posted THE one in
/etc/cups/ppd/your_printer_s_name.ppd ?

Helge



-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list