Printing: They spool print jobs to their hard drive before printing.
Scanning: They create temporary image files for ocr and pdf conversion. These files then need to be emailed to a user or sent via a file server.
Photocopying: Temporary image files are also created. Photocopying on a digital copier is effectively a scan then print operation.
this makes no sense no matter how many one line hand-waves you make
The real question should be "why do all photocopiers not come with a command that will erase all data on the internal hard drive? along with instructions telling the purchaser to execute it when they sell or trash the device"
I find this concept quite disturbing. Imagine how many times in your life you hand over your passport or driver's license for identity validation, someone copies it 'for their records' and you assume the paper copy is destroyed after a while (last time I hired some expensive tools, this happened, but the company gave me the photocopy back when I returned them). Now your private data is sitting on that company's photocopier, probably without anyone having a clue it's made a digital copy as well as a hard copy, and nobody has a hope of controlling it.
I struggle to see a legitimate reason for the existence of such a 'feature'.
https://www.google.com/search?q=hidden+markings+in+printed+p...
Of course the programmer writing the code did not consider all those "undelete" utilities that exist to "undo an unlink(filename) operation" and how they might just be used to recover the files.