2D printer

I made a writing machine, but have some doubts regarding the code.

What software or special program i will need to use to input the drawing i want to draw, how should it be used etc.

You say you "made a writing machine". I can't figure how you could have done that without making arrangements for controlling it, but you have not told us what those arrangements are.

And if you have not yet made arrangements for controlling the machine perhaps you can provide a detailed description of the machine you have made so we can envisage how it might be controlled with an Arduino.