The Princeton Theological Seminary Library has recently made available online full texts of some 80,000 volumes, so of which, one would presume, are now out-of-print works, but still valuable for certain research purposes. Still there are plenty of resources here of value. Key point— you need to have the critical judgment to know which is a valuable resource, and which is merely an old book.
http://www.commons.ptsem.edu