paginates text and filters non-printing characters
