Detect page size and margins from template file.  Renamed orthoView to orthoview