so have copies of your passport as well as pictures when you arrive.
The same goes for all those wishing to have a new visa on arrival.
For a re-entry permit, it you are in Bangkok area and you have an Internet access, you can fill a TM.8 form and send it to bkk e-mail the completed form 1 day in advance.