Usually when this happens you go to immigration fill this form (link) and bring the required documents. But I never saw someone with DTV experienced this. Maybe better go to an immigration office to ask.
*******************************************************************************************************************************************************************************************************************************************************
*****
449&url=https://bangkok.immigration.go.th/wp-content/uploads/
*******
/Transfer-Stamp-to-New-Passport-Form.pdf&ved=2ahUKEwiA-L_L26qQAxWg4jgGHQMOGe0QFnoECBYQAQ&usg=AOvVaw271NUDZP56yIbNlyB0uVnC