PRINT_START template

Here is a template print start. You will need to adjust it to fit your printer, but this will show where the CARTOGRAPHER_TOUCH_HOME belongs compared to the other usual bed levelling macros.

[gcode_macro PRINT_START]
gcode:
  {action_raise_error("Check preconditions and get print temperatures")} ; Replace with your real macro
  SET_GCODE_OFFSET Z=0 ; Reset Z offset
  G28 ; Home all axes
  G90 ; Set to absolute positioning
  
  M104 S150 ; Heat nozzle to soften filament leftovers
  {action_raise_error("Heat bed to print temperature, M190 S{target_bed}")} ; Replace with your real macro
  
  {action_raise_error("QUAD_GANTRY_LEVEL or Z_TILT_ADJUST")} ; Replace with your real macro
  M109 S150 ; Ensure nozzle is at 150C, in case it was hot when print started.
  CARTOGRAPHER_TOUCH_HOME ; Home for real Z0

  {action_raise_error("Do BED_MESH_CALIBRATE ADAPTIVE=1")} ; Replace with your real macro

  {action_raise_error("Do the rest - heat to print temperature and prime")} ; Replace with your real macro

Last updated