added support for 3 page printouts.  added some diagnostics