A4 paper -- how to change??
Joe Marcus Clarke
marcus at FreeBSD.org
Mon Feb 20 11:11:27 PST 2006
-----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 at 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-----
More information about the freebsd-gnome
mailing list