[7bb8184] | 1 | <refmeta> |
---|
| 2 | <refentrytitle>print.ini</refentrytitle> |
---|
| 3 | <manvolnum>5</manvolnum> |
---|
| 4 | </refmeta> |
---|
| 5 | |
---|
| 6 | <refnamediv> |
---|
| 7 | <refname>print.ini</refname> |
---|
| 8 | <refpurpose>survex printer settings |
---|
| 9 | </refpurpose> |
---|
| 10 | </refnamediv> |
---|
| 11 | |
---|
| 12 | <refsect1><title>Description</title> |
---|
| 13 | |
---|
| 14 | <Para> |
---|
| 15 | The print.ini file contains printer descriptions for |
---|
| 16 | the Survex printer drivers. |
---|
| 17 | </Para> |
---|
| 18 | |
---|
| 19 | <refsect2><title>File Format</title> |
---|
| 20 | |
---|
| 21 | <Para>The format of the <filename>print.ini</filename> file |
---|
| 22 | is similar to the <filename>.ini</filename> files used on Microsoft Windows. |
---|
| 23 | The file is divided into sections, each section corresponding to a separate |
---|
| 24 | printer description. A section starts with a section name |
---|
| 25 | in square brackets, e.g. aven's built-in printer support uses the |
---|
| 26 | aven section: |
---|
| 27 | </Para> |
---|
| 28 | |
---|
| 29 | <screen>[aven]</screen> |
---|
| 30 | |
---|
| 31 | <Para>followed by some options of the form |
---|
| 32 | <option>=<setting>, e.g.:</Para> |
---|
| 33 | |
---|
| 34 | <screen>font_size_labels=6</screen> |
---|
| 35 | |
---|
| 36 | <Para>In the supplied <filename>print.ini</filename> each option is preceded by |
---|
| 37 | a comment (indicated by a semicolon ';') briefly explaining the option. |
---|
| 38 | </Para> |
---|
| 39 | |
---|
| 40 | </refsect2> |
---|
| 41 | </refsect1> |
---|
| 42 | |
---|
| 43 | <refsect1><Title>Customising Printer Settings</Title> |
---|
| 44 | |
---|
| 45 | <Para> |
---|
| 46 | If you wish to change the size of the font used for labels or the colours |
---|
| 47 | used you need to override some of the setting in print.ini. |
---|
| 48 | </Para> |
---|
| 49 | |
---|
| 50 | <Para>You shouldn't modify the master print.ini (located in /usr/share/survex |
---|
| 51 | on Unix, or in the same directory as the Survex program files on other |
---|
| 52 | systems), or your changes will be overwritten by upgrades. Instead create: |
---|
| 53 | </Para> |
---|
| 54 | |
---|
| 55 | <ItemizedList> |
---|
| 56 | <ListItem><Para>/etc/survex/print.ini (Unix - system-wide settings)</Para></ListItem> |
---|
| 57 | <ListItem><Para>~/.survex/print.ini (Unix - per user settings)</Para></ListItem> |
---|
| 58 | <ListItem><Para>myprint.ini in the directory where Survex is installed (other platforms)</Para></ListItem> |
---|
| 59 | </ItemizedList> |
---|
| 60 | |
---|
| 61 | <Para> |
---|
| 62 | If one of these files contains a setting then aven will use it instead of the |
---|
| 63 | setting in the master print.ini. Any settings not specified will still fall |
---|
| 64 | back to the values in print.ini. |
---|
| 65 | </Para> |
---|
| 66 | </refsect1> |
---|