This is an old revision of the document!
Table of Contents
printer.cfg File
The printer.cfg file is where Klipper stores its permanent configuration settings for the printer. It is described in the Klipper documentation, the [[https://www.klipper3d.org/Config_Reference.html|Configuration Reference] for the file.
It's composed of sections, or stanzas, denoted like “[MyStanza]”, that group resource settings for that stanza in the following lines until the beginning of the next stanza. Configuration variable names are unique to the stanza and case insensitive. So think of the z_offset in the [Probe]
stanza as being probe.z_offset whole the z_offset in the [head2] stanza would be head2.z_offset, an entirely different z offset value describing some other z offset delta. Since the file is read in linear sequence, the last value that might be repeated is the value that remains set.
Things Not Stored In printer.cfg
- gcode z offset used to adjust nozzle height