3d printing filaments generally aren't very heat resistant, by the nature of the process. There are ways around that, like 3d printing metal or clay. But if we are allowed attachments to 3d printers I'd choose a laser or a pen, then use optical equipment for reading back the data