12 pages - yikes! yeah that is not going to work.
Increasing the server timeout will definitely help.
What about creating a page at a time and merging them together?
The merge code is dead simple - I have an app that I built just for that because I got sick of paying for Ad0be.