Configuring default paper sizes
- From: "Jeremy C. Reed" <reed reedmedia net>
- To: gnome-print-list gnome org
- Subject: Configuring default paper sizes
- Date: Wed, 25 Aug 2004 07:16:55 -0700 (PDT)
I help maintain packages and packaging infrastructure for the pkgsrc [1]
package system. It has a PAPERSIZE build definition and
getpapersize/setpapersize tools but it doesn't support Gnome packages yet.
I can successfully modify share/libgnomeprint/2.6.2/printers/GENERIC.xml
(and PDF-WRITER.xml for "Create a PDF document") define USLetter or A4 for
example.
1) Instead of modifying the "share/libgnomeprint/VERSION/printers/*.xml"
files, is there a way to override using some etc/ files?
2) Any suggestions on how to tell gnome applications to use Letter
papersize in my own ~/ dot-files?
3) By the way, what are the following files used for?
share/libgnomeprint/2.6.2/models/uninstalled/GNOME-META.xml and
share/libgnomeprint/2.6.2/globals.xml which have:
<Option Id="PhysicalSize" Type="List" Default="A4">
I tried changing them but it didn't help.
4) Also, I read a reference to GNOME_PRINT_KEY_PAPER_SIZE as
Settings.Output.Media.Physical.Size which is some type of Gnome
"Convenience keys". What does that mean? What are GNOME "Convenience
keys"?
5) What is ~/.gconf/apps/gnumeric/printsetup/%gconf.xml used for? It does
define a default as set using the "Save as Default Settings" checkbox
under File -> Page Setup. But when I restart gnumeric, it just goes back
to my other default Paper size (as defined in
share/libgnomeprint/2.6.2/printers/GENERIC.xml).
If there is not a etc/ file for the choosing the paper size, then maybe
I'll just use awk or sed on the share/libgnomeprint/VERSION/printers/*.xml
files.
Thank you,
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/
[1] pkgsrc is a portable package building system for Linux, NetBSD, Darwin,
Mac OS X, Irix, SunOS/Solaris, AIX, HPUX, BSD/OS, FreeBSD, Windows and
other operating systems for managing nearly 5000 software suites. It
provides: 1) a categorized collection of specifications that help automate
fetching, checking checksums, patching, configuring, building, installing
and packaging software suites; 2) package installation and maintenance
tools (like pkg_add, pkg_info, pkg_delete and others). Visit
http://www.pkgsrc.org/ for information.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]