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

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frank Jahnke wrote:
> 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?

Change it under printers/GENERIC.xml as well.

Joe


- --
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD+hSMb2iPiv4Uz4cRAuhaAKCUu6qG1OqL0l1DBxCds5LiB8WbSQCfSNCy
CwhEc+9AjEWU3Cq4Saq0Vlw=
=oe6V
-----END PGP SIGNATURE-----



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