Update Printer.hx

Fixed nodejs must use console.