Transfotm data.c printf() into UI oprintf()