disable or stop the steppers after print or cancel?

Hi, Is posible to stop the steppers allways when the printer doesn’t printing? I want to do this via configuration (or another way). I know I can do this with a gcode command at the end of gcode file, but I don’t use always the same slicer. And I have files that was not created by me.

Imported from wikidot

There is no way to do this, the normal way is via the slicer.