prepare general text device