Well-defined nanostructures were written with quantum dots and magnetic nanoparticles on gold and mica surfaces using dip-pen nanolithography at room temperature. The structures with both the nanoparticles were characterised by in situ topography measurements, and the quantum dot structures were mapped by fluorescence mapping. It is demonstrated that structures of various kinds such as dots and lines can be prepared using such nanoparticles on suitably prepared surfaces.