The Men of the Great Assembly [Anshei Kenesset HaGedolah] fasted 24 fasts to pray that Scribes not get rich, so that they would still work: Pesachim 50b
If Scribes don't work with altruistic intent, they will not profit: Pesachim 50b
Merchants of Holy Scrolls will not profit, if their intent is not altruistic: Pesachim 50b