Kātib and maktūb both mean the writer.
Ism al-Mafʿūl: Formation, Weak Roots and Government