Print function for ielm