How to get a book as a pdf and download it?

Welcome to the forums, @peternanjing.

As far as I’m aware, most books are not available to download, but can be read in off-line mode. See this recent discussion for more information.