Discover an object's documentation with the option of printing it to a PDF.