Repo Link: https://github.com/eborin/riscv-programming
I may be wrong. I am not able to see the content of the book. (I thought, above repo has the content.). More ever, I see copyright notice in the book. So,
it is open for reading purpose only.
Seems, reading the book on the browser is the only option, that is how I did it since many weeks.
With the right tools, it can likely be used to compile the book into a proper PDF, rather than using print workarounds.