3D printer G-code · Klipper

PRINT_START: Start macro (convention) (Klipper)

Start macro (convention) — Not a built-in command but the most common Klipper macro. The slicer start code calls it with the temperatures, and the macro in printer.cfg heats, homes, levels and…

By cnccode · Updated
On this page
  1. What does PRINT_START do?
  2. Parameters
  3. Example
  4. Tips from practice
  5. Related commands
  6. Frequently asked questions
PropertyValue
CommandPRINT_START
FunctionStart macro (convention)
FirmwareKlipper
GroupKlipper macros
SyntaxPRINT_START BED=<°C> EXTRUDER=<°C>

What does PRINT_START do?

Not a built-in command but the most common Klipper macro. The slicer start code calls it with the temperatures, and the macro in printer.cfg heats, homes, levels and purges. This keeps the start sequence in one place for all slicers. Some configs call it START_PRINT.

Parameters

ParameterMeaning
BEDBed temperature from the slicer
EXTRUDERNozzle temperature from the slicer

Example

Klipper
; PrusaSlicer start G-code:
PRINT_START BED=[first_layer_bed_temperature] EXTRUDER=[first_layer_temperature]
; OrcaSlicer:
PRINT_START BED=[bed_temperature_initial_layer_single] EXTRUDER=[nozzle_temperature_initial_layer]

Tips from practice

  • See the ready macro in the 3D printing program library.
  • The 3D printer simulator warns when a file calls a macro, because the moves inside are not in the file.

Klipper. Extended commands need their section in printer.cfg. Results of calibration commands are kept only after SAVE_CONFIG.

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 PRINT_START do on a 3D printer?
PRINT_START is start macro (convention). Not a built-in command but the most common Klipper macro. The slicer start code calls it with the temperatures, and the macro in printer.cfg heats, homes, levels and purges. This keeps the start sequence in one place for all slicers. Some…
Does PRINT_START work in Klipper and Marlin?
PRINT_START is a Klipper command. Marlin printers use other G-codes for this task.
Was this page helpful?