Douglas Harper's Etymology Dictionary type-setting 1824, from type (n.) in the printing sense + verbal noun from set (v.).