Actually print and promisify printText function