Try this version: https://github.com/ajfoul/thlaser-inkscape-plugin/tree/Turnkey
define LASER_FIRE_SPINDLE 11 // fire the laser on M3, extinguish on M5
"define LASER_FIRE_SPINDLE 11 // fire the laser on M3, extinguish on M5" is uncommented in config.h
//// The following defines select which G codes tell the laser to fire. It's OK to uncomment more than one.#define LASER_FIRE_G1 10 // fire the laser on a G1 move, extinguish when the move ends#define LASER_FIRE_SPINDLE 11 // fire the laser on M3, extinguish on M5#define LASER_FIRE_E 12 // fire the laser when the E axis moves
//// Raster mode enables the laser to etch bitmap data at high speeds. Increases command buffer size substantially.#define LASER_RASTER#define LASER_MAX_RASTER_LINE 68 // maximum number of base64 encoded pixels per raster gcode command#define LASER_RASTER_ASPECT_RATIO 1.33 // pixels aren't square on most displays, 1.33 == 4:3 aspect ratio#define LASER_RASTER_MM_PER_PULSE 0.2