I have some stuff in my mousepadrc since I created the file to set the font sizes for printing. I can't figure out how to set the default paper to A4. It would be useful to have a wiki with a list of all the possible configuration options somewhere online to refer to. Wasn't sure how to raise this as an issue so I've added it as a bug here although it probably isn't quite the right place.
I don't have a printer here, but Mousepad just uses standard Gtk+ printing so it may be that there is some non-app-specific info out on the web about configuring that (or maybe it's left entirely to the application?).
Apparently you can set the LC_PAPER environment variable to the locale with your desired paper default, for example if I run:
$ LC_PAPER="en_GB.UTF-8" mousepad
Then the print dialog defaults to A4 instead of my native locale's Letter default. Presumably you can set this variable in ~/.profile for your user or /etc/environment for all users.
Yes, I had thought of that too. There are some things to update and I think it would be nice to say a word about GSettings in general, and the hidden preferences it contains (or will soon contain) in particular.
I've created two accounts for you. One for wiki.x.o and one for docs.x.o You should receive email notifications to log in and create your passwords. Feel free to ping me on email/IRC if you have any questions. Enjoy. ;-)
I updated the documentation, with a small section about settings in general, and print settings in particular. But I don't think we should give a list of all possible print settings as requested here. Instead, the idea seems to be to use the print dialog and let Mousepad fill in the configuration file, just making sure to let PageSetupSaved at true so that all settings are properly reloaded next time. (I don't know this part of the code well though, and I never use printing with Mousepad.)
I suggest to mention Dconf Editor also and maybe turn the part about printing into its own (sub)section or make it more prominent by highlighting the word "printing".