print table and cp