I searched the forums and was not able to find what I'm looking for, so maybe someone here could help me. I've been using Mach3 with a Xylotex 3-axis stepper controller to drive a New Hermes engraver. Everything works great but I recently built a 50 watt CO2 laser that I would like to interface to the engraver. I plan on controlling the laser beam on/off with Spindle M3 and M5 codes, and I won't be needing any Z-axis moves. Is there a way that the Import DXF's "Generate G-code" function can be modified to place M3 codes in place of where it would normally place Z-axis moves? If it isn't alterable, then could someone suggest a DXF to G-code converter that is configurable? I would also like to create some other special M-codes for other functions. If possible, I do not want to have to do any software programming, only program setup and configuration. Thanks!