Printing in an electron dev