Create print function

print function is to write a text in desktop