search result printing