Use printf to print for cgi