printclient changed mime_type function