Anyone know of a howto for the XML printsetup file for gnumeric? Gnumeric isn't holding on to the defaults that I tell it to hold on to.

I don't like that gnumeric keeps defaulting back to "Generic Postscript" (which always spits out a blank page after printing the one I want). I set it to "printerLaser" and all the margins and some other settings are gone. I'd like to get it to default to "printerLaser", even if I have to somehow forceably rip out the "Generic Postscript" entry (assuming that would not make a mess of things).

I'm tired of gnumeric remembering some of my printer settings but not others. I could submit a bug report and wait for a fix. Or I could try to find the time to download the code, and then learn the code language, and the try to track down the problem myself.

But I think an easier solution would be to learn how to read gnumeric's printsetup file (XML) and modify it. I've scanned through it. And I think I can follow most of it. But the important things are the ones I'm not so sure about. I'm not sure about the following things.

"mtime" ... what is it and what's it for?
I think "&" is a way for XML to use an escape character (&) with "amp" and ";" to indicate the end of the escape sequence to indicate a literal "&".
What is "<"?  ">"?

Each time through I understood more and more. I think I understand it as well as I can figure out on my own. But I still don't know how to specify my defaults.


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to