Here's another way:
in advance, set up your resurrect-prologue.g file. pause the print. This will create a resurrect.g file. rename the resurrect.g file to prevent it being deleted cancel the print measure the height at which the print failed open the print file in Notepad++ find the line in the file that you want to restart at and place the cursor at the start of that line Press control-G. This will display the byte offset of the cursor in the file. Make a note of this. open the renamed resurrect.g file in DWC locate the M26 command near the end and edit the file offset parameter to the value you noted save the file use M98 to run the file as a macro.