There is no general right to download a copy of a book. You may acquire such a right from the rights-holder when you buy a physical book, but otherwise that would be illegal copyright infringement. Any online copy that you find in the wild is probably illegal, if the book is not free. (However, some books are freely downloadable but there is a charge for a printed copy: I assumt hat is not the case. You may make one copy for yourself. Under Swedish copyright law, article 12:
Anyone is entitled to make, for private purposes, single copies of
works which have been made public. Such copies may not be used for
Note that the law permit making a single copy, and does not mean you can make a Xerox copy then scan it, and later OCR the scan (that is making 3 copies).