3D printer G-code · Klipper
SAVE_CONFIG: Save calibration to printer.cfg (Klipper)
Save calibration to printer.cfg — Writes the results of calibration commands (PID, probe offset, mesh, input shaper ...) to the end of printer.cfg and restarts Klipper. Never edit the auto-generated…
On this page
| Property | Value |
|---|---|
| Command | SAVE_CONFIG |
| Function | Save calibration to printer.cfg |
| Firmware | Klipper |
| Group | Settings |
| Syntax | SAVE_CONFIG |
What does SAVE_CONFIG do?
Writes the results of calibration commands (PID, probe offset, mesh, input shaper ...) to the end of printer.cfg and restarts Klipper. Never edit the auto-generated block by hand while values above it say the same thing.
Example
PID_CALIBRATE HEATER=extruder TARGET=215
SAVE_CONFIGTips from practice
- It restarts the firmware: never use it during a print.
Klipper. Extended commands need their section in printer.cfg. Results of calibration commands are kept only after SAVE_CONFIG.
Related commands
More settings commands
| Command | Function | Firmware |
|---|---|---|
M500 | Save settings to EEPROM | Marlin |
M501 | Load settings from EEPROM | Marlin |
M502 | Factory reset (firmware defaults) | Marlin |
M503 | Report settings | Marlin |
M201 | Max acceleration per axis | Marlin |
M203 | Max feed rate per axis | Marlin |
M204 | Set acceleration | Marlin and Klipper |
M205 | Jerk and junction deviation | Marlin |
M906 | Stepper motor current (TMC) | Marlin |
SET_VELOCITY_LIMIT | Speed, acceleration and corner limits | Klipper |
FIRMWARE_RESTART | Restart (RESTART / FIRMWARE_RESTART) | Klipper |
Test it before you print
Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.
Open the simulatorFrequently asked questions
What does SAVE_CONFIG do on a 3D printer?
SAVE_CONFIG is save calibration to printer.cfg. Writes the results of calibration commands (PID, probe offset, mesh, input shaper ...) to the end of printer.cfg and restarts Klipper. Never edit the auto-generated block by hand while values above it say the same thing.
Does SAVE_CONFIG work in Klipper and Marlin?
SAVE_CONFIG is a Klipper command. Marlin printers use other G-codes for this task.
Was this page helpful?