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…

By cnccode · Updated
On this page
  1. What does SAVE_CONFIG do?
  2. Example
  3. Tips from practice
  4. Related commands
  5. More settings commands
  6. Frequently asked questions
PropertyValue
CommandSAVE_CONFIG
FunctionSave calibration to printer.cfg
FirmwareKlipper
GroupSettings
SyntaxSAVE_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

Klipper
PID_CALIBRATE HEATER=extruder TARGET=215
SAVE_CONFIG

Tips 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.

More settings commands

CommandFunctionFirmware
M500Save settings to EEPROMMarlin
M501Load settings from EEPROMMarlin
M502Factory reset (firmware defaults)Marlin
M503Report settingsMarlin
M201Max acceleration per axisMarlin
M203Max feed rate per axisMarlin
M204Set accelerationMarlin and Klipper
M205Jerk and junction deviationMarlin
M906Stepper motor current (TMC)Marlin
SET_VELOCITY_LIMITSpeed, acceleration and corner limitsKlipper
FIRMWARE_RESTARTRestart (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 simulator

Frequently 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?