Modified cancelPrint to shutdown laser