← Previous | ↑ Home | ↑ Administration | Next → |
Programs using DK libraries version 4 process both dk4paper.conf and dk3paper.conf files. Programs using DK libraries version 3 process only dk3paper.conf files.
All found files — see [Configuration and resource file search] — are processed cumulatively, settings in files processed later overwrite settings in files processed earlier.
The dk3paper.conf files specify paper sizes, one per line.
Each line consists of a name, an equal sign ("=") and either 2 or 6 floating point values.
The floating point values specify dimensions in PS points (72 points per inch):
A4 = 595 842
a4 = 595 842 56 28 14 14
In the example above we configure two paper sizes: "A4" and "a4".
Paper size names are case-sensitive. The "A4" size is 595 points wide and 842 points high. The entire sheet is used for this paper size, no borders are left.
The "a4" size also is 595 points wide and 842 points high. When using this paper size we have to leave 56 points (approximately 2cm) border on the left side, 28 points on the right side and 14 points on top and bottom.
← Previous | ↑ Home | ↑ Administration | Next → |
Wiki: Administration
Wiki: Configuration and resource file search