In order to make the pen-based user interface easy to develop with personalized requirements and diverse devices, we propose a model driven development framework. For a pen-based user interface, firstly we present a general development framework, then build a platform independent model and a platform specific model based on the model driven architecture. Furthermore, we introduce the transformation way from the former model to the latter one. At last, a toolkit named "Iris" is provided to support the development. The example application built by "Iris" shows that the model driven development framework can benefit the development of a pen-based interface and reduce the complexity of the development efficiently.