Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2006 10:46:20 -0800
From:      Frank Jahnke <jahnke@sonatabio.com>
To:        Joe Marcus Clarke <marcus@FreeBSD.org>
Cc:        freebsd-gnome@FreeBSD.org
Subject:   Re: A4 paper -- how to change??
Message-ID:  <1140461180.61480.9.camel@localhost>
In-Reply-To: <43FA0599.9070200@FreeBSD.org>
References:  <1140450069.29556.34.camel@localhost> <43FA0599.9070200@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2006-02-20 at 13:08 -0500, Joe Marcus Clarke wrote:

> 
> The default paper size looks to be stored in
> /usr/X11R6/share/gnome/libgnomeprint/2.12.1/globals.xml.  The Option Id
> is PhysicalSize.  Changing the Default value to USLetter should achieve
> what you want.

I had no idea that the set-up information would be located there.  In
any event, I made the change, and it did not work for me, at least for
printing a test file from Evolution (your reply to my email message).

Here's the relevant section from the file as I modified it:

 <Option Id="Media">
      <Option Type="List" Id="PhysicalSize" Default="USLetter">

It seems to be the right syntax, as USLetter is used farther down the
file.  Exiting and re-entering Gnome did not help.

I tried Evince from the command line, and received a slew of warning
messages.  Perhaps these will help.

------------------

pinot% evince

** (evince:61550): WARNING **: Service registration failed.

** (evince:61550): WARNING **: Unable to determine the address of the
message bus
Model not found, discarding config

(evince:61550): GnomePrintCupsPlugin-WARNING **: iconv does not support
ppd character encoding: ISOLatin1, trying CSISOLatin1

** (evince:61550): WARNING **: Could not find child for option
"PhysicalSize" with id "Letter"

** (evince:61550): WARNING **: rebuild_menu_cb, could not set value of
PhysicalSize to Letter

(evince:61550): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(evince:61550): GLib-GObject-CRITICAL **: g_signal_connect_data:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

** (evince:61550): CRITICAL **: gpa_spinbutton_load: assertion
`gpa_spinbutton_is_connected (s)' failed

(evince:61550): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(evince:61550): GLib-GObject-CRITICAL **: g_signal_connect_data:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

** (evince:61550): CRITICAL **: gpa_spinbutton_load: assertion
`gpa_spinbutton_is_connected (s)' failed
pinot%

Does that help?

Frank





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1140461180.61480.9.camel>