Hot foil stamping ... at a book printing factory in Shenzhen and took some photos. This is the heat transfer foil. You can usually get these on huge rolls that mount on to the machine.
A few machines have truly changed ... the type blocks and hand press a piece of paper with the platen. The idea is more or less like a giant rubber stamp. As [Ian] points out, one way to think ...