I wanted the virtual printer to process M118 gcode commands just like a real printer
it only took two lines of code!
to add this fragment
def _gcode_M118(self, data): # type: (str) -> None # strip off leading M118 # and any whitespace at either end self._send(data[4:].strip())
at around line 486 in the code
it slots in between M109 and M140
how can I get this integrated into mainstream code?