When printing to PDF, all text in the resulting PDF are converted to outline path instead of character strings. This makes it impossible to search for text in the PDF.
Run the sample code below and open the resulted PDF in Acrobat. Search for any text and none will be found. It also disallows coping text from the PDF. See the attached PDF.