Problem with 'pdftops' filter

Julien Bossert anonymous at nowhere.com
Mon May 2 06:02:31 PDT 2005


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

Well, we're facing some paranormal situation...






More information about the cups mailing list