'by hand' is a prepositional phrase which is functioning as an adverb phrase to explain HOW all books in Europe were once written.
Adverb phrases give additional details - like HOW something happens.
You didn't put a passage for this question if you send it I can help
a comet struck and a chain of problems happened which wiped yhe dinosaurs out
So I wrote it, but brainly wouldn't accept, here's a screenshot.