There is a desk that sells the re-entry permit next to the immigration lines for stamping out in Zone 2 i believe. If you go to a different zone, you can ask the IO officer who will tell you where it is and you can go the office after stamping out and get the re-entry permit