Public bug reported:

man pdfops
-------------------------------------------------------------------------------
...
 -cfg config-file
              Read config-file in place of ~/.xpdfrc or the system-wide config 
file.
...
-------------------------------------------------------------------------------

but 
 pdftops -cfg /etc/cups/pdftops.conf ch09.pdf xx.ps
will bring me to the usage.
-------------------------------------------------------------------------------
pdftops version 3.00
Copyright 1996-2004 Glyph & Cog, LLC
Usage: pdftops [options] <PDF-file> [<PS-file>]
  -f <int>            : first page to print
...
-------------------------------------------------------------------------------
and there is no -cfg option.

and this will cause cups print failed to work.
-------------------------------------------------------------------------------
E [20/Feb/2008:18:44:36 +0800] [Job 161] pdftops-options: -cfg 
/etc/cups/pdftops.conf
E [20/Feb/2008:18:44:36 +0800] [Job 161] /usr/bin/pdftops exited with  exit 
code 1
E [20/Feb/2008:18:44:36 +0800] [Job 161] Empty print file!
E [20/Feb/2008:18:44:36 +0800] PID 15737 (/usr/lib/cups/filter/pstops) stopped 
with status 1!
E [20/Feb/2008:18:44:36 +0800] PID 15735 (/usr/lib/cups/filter/pdftops) stopped 
with status 1!
E [20/Feb/2008:18:44:36 +0800] [Job 161] Job stopped due to filter errors.
-------------------------------------------------------------------------------

which in effect is caused by 'cupsys: /usr/lib/cups/filter/pdftops' which 
assume pdftops accept -cfg option.
-------------------------------------------------------------------------------
...
$cmdopt = "-cfg " . $ENV{CUPS_SERVERROOT} . "/pdftops.conf";   # This cannot be 
changed
...
-------------------------------------------------------------------------------

as a workaround, comment out the line in /usr/lib/cups/filter/pdftops

** Affects: poppler (Ubuntu)
     Importance: Undecided
         Status: New

-- 
pdfops does not take -cfg option
https://bugs.launchpad.net/bugs/193636
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to