Yosef Karo, Translation:Shulchan Aruch — Yoreh Deah 289
“ One who is coming to affix [a mezuzah] should place it in a reed or other type of tube and he should affix it in its place and say the placing “who sanctified us with His commandments and commanded us to affix a mezuzah” and one should not make a blessing when the mezuzah is being written. Rema: One who is affixing two or three mezuzot should make one blessing for all of them. ”
