Bug 16941 - pdftops does not take -cfg option
Summary: pdftops does not take -cfg option
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
: 17222 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-01 05:26 UTC by Sebastien Bacher
Modified: 2008-08-20 10:10 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Sebastien Bacher 2008-08-01 05:26:27 UTC
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."
Comment 1 Albert Astals Cid 2008-08-01 08:49:44 UTC
The man page will be fixed in upcoming release. We don't support the -cfg option, actually we don't use xpdfrc at all
Comment 2 Albert Astals Cid 2008-08-20 10:10:57 UTC
*** Bug 17222 has been marked as a duplicate of this bug. ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.