Question: how far away do mobs have to be from a spawner?
Answer: Mobs are created within an 8x8x3 high area centered around the spawner's lower northwest corner. Note that mobs can spawn in any dark space within range, even if the spawner is fully lit. The spawner will only spawn mobs if a player is within 16 blocks of it.