add packet based format ns_print