added a method to handle printing of the pathology section