Basics for text printing implemented