Is it possible to pause the print job from G-code instead of clicking pause buttom on OctoPrint? I would like to pause automatically the job at speccific layer without keep waiting for it and pausing it manually.
I tried (unsuccessfuly) writing this snippet on my g-code file:
M76
M300
G91
G1 Z100 F200
G90
I'm printing on Ender 3 v2, slicing on PrusaSlicer.
This requires the firmware to have support for the M118 command - it is better to signal to OctoPrint directly using @pause, the pause @ command. More of the available Host @ commands