Add os_print function, can output any format to screen.