Converting a 3D printer to a plotter with automatic pen changer