Generic pages

Added the ability to print generic pages