Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#448445: print preview broken: Unknown option --print-settings in evince

3 views
Skip to first unread message

Drew Parsons

unread,
Oct 29, 2007, 1:50:10 AM10/29/07
to
Package: gnumeric
Version: 1.7.13-1
Severity: normal

Print preview is now broken. There is no response after
pressing the Print Preview button.

Starting gnumeric from the command line, the following message gets
thrown to stderr:

** (gnumeric:31528): WARNING **: Working around gtk+ bug 423484.

** (gnumeric:31528): WARNING **: Down and across requested, but
printing across then down.
Unknown option --print-settings
Run 'evince --help' to see a full list of available command line
options.

I presume the first "down & across" warning is beside the point, but
the actual error is seen in "Unknown option --print-settings.
Run 'evince --help'"

It would seem gnumeric is passing the wrong options to evince, which
handles the preview, so evince is not starting and therefore no
preview appears.

I think this bug is new in gnumeric 1.7, I seem to remember preview
was recently working before the upgrade.

Drew


-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnumeric depends on:
ii debconf [debc 1.5.16 Debian configuration management sy
ii gconf2 2.20.0-1 GNOME configuration database syste
ii gnumeric-comm 1.7.13-1 common files for Gnumeric, the GNO
ii gsfonts 1:8.11+urwcyr1.0.7~pre41-3 Fonts for the Ghostscript interpre
ii libart-2.0-2 2.3.19-3 Library of functions for 2D graphi
ii libatk1.0-0 1.20.0-1 The ATK accessibility toolkit
ii libbonobo2-0 2.20.1-1 Bonobo CORBA interfaces library
ii libbonoboui2- 2.20.0-1 The Bonobo UI library
ii libc6 2.6.1-6 GNU C Library: Shared libraries
ii libcairo2 1.4.10-1 The Cairo 2D vector graphics libra
ii libfontconfig 2.4.2-1.4 generic font configuration library
ii libgconf2-4 2.20.0-1 GNOME configuration database syste
ii libglade2-0 1:2.6.2-1 library to load .glade files at ru
ii libglib2.0-0 2.14.2-1 The GLib library of C routines
ii libgnome2-0 2.20.1.1-1 The GNOME 2 library - runtime file
ii libgnomecanva 2.20.1.1-1 A powerful object-oriented display
ii libgnomeui-0 2.20.1.1-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2- 1:2.20.0-3 GNOME Virtual File System (runtime
ii libgoffice-0- 0.5.1-1 Document centric objects library -
ii libgsf-1-114 1.14.7-1 Structured File Library - runtime
ii libgsf-gnome- 1.14.7-1 Structured File Library - runtime
ii libgtk2.0-0 2.12.1-1 The GTK+ graphical user interface
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii liborbit2 1:2.14.7-0.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.18.3-1 Layout and rendering of internatio
ii libpopt0 1.10-3 lib for parsing cmdline parameters
ii libsm6 2:1.0.3-1+b1 X11 Session Management library
ii libx11-6 2:1.1.3-1 X11 client-side library
ii libxcomposite 1:0.3.2-1+b1 X11 Composite extension library
ii libxcursor1 1:1.1.9-1 X cursor management library
ii libxdamage1 1:1.1.1-3 X11 damaged region extension libra
ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxi6 2:1.1.3-1 X11 Input extension library
ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library
ii libxml2 2.6.30.dfsg-2 GNOME XML library
ii libxrandr2 2:1.2.2-1 X11 RandR extension library
ii libxrender1 1:0.9.4-1 X Rendering Extension client libra
ii procps 1:3.2.7-5 /proc file system utilities
ii zlib1g 1:1.2.3.3.dfsg-6 compression library - runtime

Versions of packages gnumeric recommends:
ii evince 0.8.3-1 Document (postscript, pdf) viewer

-- debconf information:
gnumeric/existing-process: false

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Andreas J Guelzow

unread,
Nov 1, 2007, 3:00:22 AM11/1/07
to
This is really a configuration issue.

Some things to note:
Newer versions of evince understand the --print-settings option
Gnumeric does not pass this option to evince. We just hand-off printing
(and previewing) to Gtk. Gtk then calls the appropriate pdf viewer. WHat
is the "appropriate" previewer can be configured in
.gtkrc-2.0
located in your home directory.
The important entry is:
gtk-print-preview-command="evince --unlink-tempfile --preview %f
the above line should work for most older versions of evince. Of ocurse
you can also use other programs such as:
gtk-print-preview-command="gv %f"
or
gtk-print-preview-command="xpdf -q %f"

Note that evince is preferred since gtk creates temporary files and
--unlink-tempfile tells evince to delete them. The otehr commands will
keep those temporary pdf files around.

Andreas
--
"Liberty consists less in acting according to
one's own pleasure, than in not being subject
to the will and pleasure of other people. It
consists also in our not subjecting the wills
of other people to our own." Rousseau


Prof. Dr. Andreas J. Guelzow
Dept. of Mathematical & Computing Sciences
Concordia University College of Alberta

0 new messages