Tim,
From the manual:
The error "Unknown M code used" denotes one of the following
* The specified User Defined Command does not exist
* The file is not an executable file
www.linuxcnc.org/docview/html//gcode_mai...ml#sec:M100-to-M199:
What did you name the file? M101 or M101.ngc? It only needs to be named M101. I don't have EMC set up yet on this computer so I can't test is out. As Rick said if you attach the file perhaps someone can verify that the problem is not in your file. Usually it is named wrong or not in the correct directory.
John