It is not possible to print the book, since it is DRM.
It is not supported.
However, you can go manually every page through, take screenshots and combine a book, but it is burdensome.
Nevertheless, you can program this by mirrowing the screen to other display where you ask the system to browse pages in steady intervals and take screenshots.
There is a very nice Linux terminal program called Xdotool for this which you bind then to a small script for mouse clicking.
If Amazon is going to detect this, then put some random timing to hide the machine.
You can automate this for many books (I think maximum 3 devices at the some time) by using TTYs.