This is a mastara or ruling-board. Scribes from Islamic lands used them to prepare their writing paper, rubbing paper over it to leave straight-line impressions. Scribes wrote with a cut-reed pen, called a qalamos. Ink was made from carbon or iron gall nut.
Paper layered with string, Egypt, 11/13th century