Does anyone know how pagination of a large file works? The actual logic, programmatically, of it? For instance, if you have a very 'long' website, does anyone know the logic behind how the site is paginated when the user asks to view a print preview? I'm hoping to do some basic pagination myself, but I'm at a loss at how that actually happens.
Thanks!
These are some papers about pagination algorithms.