@Karen *****
You can stop by the immigration office at the airport (after check-in before passport control). Allow an extra 30 minutes (thats generous), bring a passport photo, and I think 1900 baht, always best to have photo copies of your passport with you - though you should be able to do it there.