Use SM as a drawing machine

Has anyone used their SM as a drawing machine?
If I designed and printed a pen holder to bolt onto the X axis, do you still need to connect a module?
What software can be used to generate the Gcode for the drawings?

There has been discussions about this before, search is your friend:

Similar idea with a more thorough discussion:

Yeah, I tried that, my key words were not correct.
Thanks