The solution was simple.
Setting the ending script to just `END_PRINT` solved the problem.
Why was the following code present in the default profile of k1 max?
```
G28 X0 ; home X axis
M106 S0 ; turn off cooling fan
M106 S0 P2 ; turn off side fan
M104 S0 ; turn off extruder
M140 S0 ; turn off build platform
M84 ; disable motors
```
Last edited by anekos on Sun Mar 24, 2024 5:20 am, edited 1 time in total.
We usually include the full scripts so that users can customize the commands. Did you try adding the G1 Z command I had suggested? That would have accomplished the same thing.