Digital flatbed foil printer