pdftops does not take -cfg option

Bug #193636 reported by Dyno
6
Affects Status Importance Assigned to Milestone
Poppler
Fix Released
Medium
poppler (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

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

Revision history for this message
Dyno (dyno-fu) wrote :

the subject should be 'pdftops'

Revision history for this message
Dyno (dyno-fu) wrote :

or install xpdf-utils which also provide pdftops for workaround.

Revision history for this message
Pēteris Krišjānis (pecisk-gmail) wrote :

This breaks printing on Hardy wih 20.02.2008 updates.

Revision history for this message
Luca Carrogu (motoplux) wrote :

I can confirm

Changed in poppler:
status: New → Confirmed
Revision history for this message
In , Sebastien Bacher (seb128) wrote :

the bug has been opened on https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/193636

"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."

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

The man page will be fixed in upcoming release. We don't support the -cfg option, actually we don't use xpdfrc at all

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: https://bugs.freedesktop.org/show_bug.cgi?id=16941

It seems that cups has changed since the bug has been opened, still the manpage and pdftops should be coherent about the options usage

Changed in poppler:
importance: Undecided → Low
status: Confirmed → Triaged
Changed in poppler:
status: Unknown → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the manpage has been fixed upstream now

Changed in poppler:
status: Triaged → Fix Committed
Changed in poppler:
status: Confirmed → Fix Released
Revision history for this message
In , Albert Astals Cid (aacid) wrote :

*** Bug 17222 has been marked as a duplicate of this bug. ***

Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version has been uploaded to jaunty now

Changed in poppler:
status: Fix Committed → Fix Released
Changed in poppler:
importance: Unknown → Medium
Changed in poppler:
importance: Medium → Unknown
Changed in poppler:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.