Praise be to Allah.
Drawing pictures of animate beings by hand is haraam. See question no. 39806.
You do not say anything in your question about the content of this book. If the book is an advertisement for the activities of the riba-based bank, then printing it is haraam because that involves helping the bank to deal in riba. Allaah says (interpretation of the meaning):
“Help you one another in Al‑Birr and At‑Taqwa (virtue, righteousness and piety); but do not help one another in sin and transgression”
So it is not permissible to accept any payment at all, and you should donate all income from this project to charity.
But if the content of the book is permissible and by printing the book you are not helping the bank in its haraam activities or doing advertising for them, then take out of the money enough to purify it, i.e., the payment for printing haraam pictures. We ask Allaah to compensate you with something better, for whoever gives up something for the sake of Allaah, Allaah will compensate him with something better than that. And Allaah knows best.