Should the letter of recommendation be stamped and signed, or not?

I am an international student, and both my teachers and I are confused about what they should do with recommendation letters before uploading them to the common app.
Do they need to print the recommendations, then stamp and sign them, then scan, and only then upload to the common app? Or is it acceptable to just type them on a computer, and then upload them right away?